Skip to content

add limitation on number of captures in DQT #13735

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

Merged

Conversation

gilpazintel
Copy link
Contributor

tracked by RSDSO-20044

@gilpazintel gilpazintel requested a review from Nir-Az February 3, 2025 13:33
return pushed_style_var;
}

bool RsImGui::InputIntCentered(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO we really need a 100 code lines to center the text box?
I also see you used API we never used before like
IMGUI_TEST_ENGINE_ITEM_INFO
I believe this code is much more complex then it should be.
Please double check.
You can take as reference how Noy did the custom combo box text alignment

Copy link
Contributor Author

@gilpazintel gilpazintel Feb 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this code was ported from ImGui with full support for the flags + modification to support text centering. i can remove this functionality.

@Nir-Az Nir-Az merged commit 8ed6e12 into IntelRealSense:development Feb 17, 2025
22 of 23 checks passed
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