-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ImGui v1.90.9 #13392
base: development
Are you sure you want to change the base?
Update ImGui v1.90.9 #13392
Conversation
Note that once ready we will have to make a UI sanity to this change. |
5ea88b8
to
48807d1
Compare
/* License: Apache 2.0. See LICENSE file in root directory. */ | ||
/* Copyright(c) 2024 Intel Corporation. All Rights Reserved. */ | ||
|
||
//Overloading imgui functions to accommodate realsense GUI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we must include this header only after the IMGUI header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what you meant, we include this header if we use one of the helper\overloading functions, we do use it almost every time we use imgui.
ff903b0
to
b1881af
Compare
b1881af
to
dd72548
Compare
844ac13
to
54a0dc3
Compare
common/ux-alignment.cpp
Outdated
@@ -49,8 +50,7 @@ bool is_gui_aligned(GLFWwindow *win) | |||
|
|||
glfwSwapBuffers(win); | |||
|
|||
ImGui_ImplGlfw_NewFrame(); | |||
ImGui::NewFrame(); | |||
ImGui::PushNewFrame(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we reuse the ImGui namespace and not place all of our special functions under RsImGui?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, at first it was mostly overloading functions and in order not to change the code I used the ImGui namespace but now it has helper functions, so it makes more sense to change it.
79ed478
to
86d8f64
Compare
86d8f64
to
4ed121d
Compare
Traced on: [LRS-1129]