mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 19:29:58 +01:00
get color of highlight
This commit is contained in:
@@ -1032,10 +1032,9 @@ void ImGuiToolkit::WindowDragFloat(const char* window_name, ImVec2 window_pos, f
|
||||
}
|
||||
}
|
||||
|
||||
ImVec4 ImGuiToolkit::GetHighlightColor()
|
||||
ImVec4 ImGuiToolkit::HighlightColor()
|
||||
{
|
||||
ImVec4* colors = ImGui::GetStyle().Colors;
|
||||
return colors[ImGuiCol_CheckMark];
|
||||
return ImGui::GetStyle().Colors[ImGuiCol_HeaderActive];
|
||||
}
|
||||
|
||||
void ImGuiToolkit::SetAccentColor(accent_color color)
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace ImGuiToolkit
|
||||
ACCENT_GREY
|
||||
} accent_color;
|
||||
void SetAccentColor (accent_color color);
|
||||
struct ImVec4 GetHighlightColor ();
|
||||
struct ImVec4 HighlightColor ();
|
||||
|
||||
void ShowStats (bool* p_open, int* p_corner, bool* p_timer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user