Skip to content

Conversation

@SamuMazzi
Copy link
Contributor

@SamuMazzi SamuMazzi commented Nov 7, 2024

Description:
This PR implements logarithmic flag for the int/double/float_slider. This is done by refactoring a little bit the underlying structs.

I also removed vertical variable and used the flag ImGuiSliderFlags_Vertical, for coherence.

Also a little refactor regarding this PR has been done in mvBasicWidgets.cpp. pre_draw and post_draw parts were all the same (and sometimes with some typos) so I just wrapped them in two functions.

I think this are all changes to the codebase that are not essential, they are simple and I think they improve code quality, but I'd like a feedback on this.

Close #2404

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.

Sliders are missing the logarithmic flag

1 participant