imgui icon indicating copy to clipboard operation
imgui copied to clipboard

Add configurable color for button text in hovered and active states

Open pushrax opened this issue 7 years ago • 2 comments

Allows for more flexible configuration of button colors, specifically useful for creating buttons that have an inverted background when hovered.

Would a better approach be to add an argument to RenderTextClipped that selects the color class?

r: @ocornut

pushrax avatar Mar 06 '17 06:03 pushrax

Sorry for my late reaction. Linking this to discussions in #1223 and #511 for now.

Would a better approach be to add an argument to RenderTextClipped that selects the color class?

Yes will probably do that. But the meaningful part of the PR (new enums) will be integrated as part of some of things discussed in #1223 probably.

ocornut avatar Sep 17 '17 15:09 ocornut

I know there are big plans for Styling V2, but I just wanted to drop by and mention we're still using this patch. I updated ImGui to master in our engine (thanks for all the great new features!) and rewrote the patch for it.

pushrax avatar Jan 15 '22 01:01 pushrax