Skip to content
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

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

Noy-Zini
Copy link

@Noy-Zini Noy-Zini commented Oct 1, 2024

Traced on: [LRS-1129]

common/ux-alignment.cpp Outdated Show resolved Hide resolved
common/ux-alignment.cpp Outdated Show resolved Hide resolved
common/ux-window.cpp Outdated Show resolved Hide resolved
common/ux-window.cpp Outdated Show resolved Hide resolved
common/ux-window.cpp Outdated Show resolved Hide resolved
common/ux-window.cpp Outdated Show resolved Hide resolved
@Nir-Az
Copy link
Collaborator

Nir-Az commented Oct 6, 2024

Note that once ready we will have to make a UI sanity to this change.
Including online updates windows, calibration windows and more

common/option-model.cpp Outdated Show resolved Hide resolved
common/option-model.cpp Outdated Show resolved Hide resolved
common/subdevice-model.cpp Outdated Show resolved Hide resolved
common/ux-window.cpp Outdated Show resolved Hide resolved
examples/example-imgui.hpp Outdated Show resolved Hide resolved
/* 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
Copy link
Collaborator

@Nir-Az Nir-Az Nov 10, 2024

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?

Copy link
Author

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.

@Noy-Zini Noy-Zini marked this pull request as ready for review November 12, 2024 09:59
@Noy-Zini Noy-Zini force-pushed the Update_ImGui_v1.90.9 branch 6 times, most recently from ff903b0 to b1881af Compare November 19, 2024 12:04
@@ -49,8 +50,7 @@ bool is_gui_aligned(GLFWwindow *win)

glfwSwapBuffers(win);

ImGui_ImplGlfw_NewFrame();
ImGui::NewFrame();
ImGui::PushNewFrame();
Copy link
Collaborator

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?

Copy link
Author

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.

@Noy-Zini Noy-Zini force-pushed the Update_ImGui_v1.90.9 branch 4 times, most recently from 79ed478 to 86d8f64 Compare November 26, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants