Style Editor prints non-existing ImGuiCols #111

Closed
opened 2015-01-09 15:17:53 +00:00 by xythobuz · 1 comment
xythobuz commented 2015-01-09 15:17:53 +00:00 (Migrated from github.com)

When printing all colors to TTY using the Style Editor, it outputs something like this:

// ...
style.Colors[ImGuiCol_CheckBgHovered] = ImVec4(1.00f, 0.40f, 0.40f, 0.45f);
style.Colors[ImGuiCol_CheckBgActive] = ImVec4(0.65f, 0.50f, 0.50f, 0.55f);
style.Colors[ImGuiCol_CheckSelected] = ImVec4(0.90f, 0.90f, 0.90f, 0.50f);
// ...

These don't exist. You probably meant CheckHovered, CheckActive and CheckMark?

When printing all colors to TTY using the Style Editor, it outputs something like this: ``` // ... style.Colors[ImGuiCol_CheckBgHovered] = ImVec4(1.00f, 0.40f, 0.40f, 0.45f); style.Colors[ImGuiCol_CheckBgActive] = ImVec4(0.65f, 0.50f, 0.50f, 0.55f); style.Colors[ImGuiCol_CheckSelected] = ImVec4(0.90f, 0.90f, 0.90f, 0.50f); // ... ``` These don't exist. You probably meant CheckHovered, CheckActive and CheckMark?
ocornut commented 2015-01-09 17:19:52 +00:00 (Migrated from github.com)

Oops, mismatching strings in GetStyleColName(). Fixed, thanks!

Oops, mismatching strings in GetStyleColName(). Fixed, thanks!
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ocornut/imgui#111
No description provided.