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

Idea / Suggestion: small border ... #1

Closed
moebiussurfing opened this issue Nov 9, 2022 · 2 comments
Closed

Idea / Suggestion: small border ... #1

moebiussurfing opened this issue Nov 9, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@moebiussurfing
Copy link

moebiussurfing commented Nov 9, 2022

Hello, thanks for sharing this widget,

I just wanted to share my custom widget I did,
adding a small border looks pretty cool too:

image

Here's my code if want to look into.
I think that theme colors are handled well too.
https://github.com/moebiussurfing/ofxSurfingImGui/blob/3933c930cc478359ac853103fbce55abebe49cdb/src/ImGui/widgets/ButtonsToggles.h#L690

Regards

@nitz
Copy link
Collaborator

nitz commented Nov 9, 2022

Oh that looks fantastic! I will absolutely look at folding this in, it looks especially good with those knobs that are closer to the background color too.

@nitz nitz self-assigned this Nov 9, 2022
@nitz nitz added the enhancement New feature or request label Nov 9, 2022
@nitz nitz closed this as completed in 9a7beb6 Nov 9, 2022
@nitz
Copy link
Collaborator

nitz commented Nov 9, 2022

Thank you very much for the inspiration! I added a flag, ImGuiToggleFlags_Bordered that enables border drawing similar to yours!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants