Class EditorTheme¶
Defined in File editor_theme.h
Class Documentation¶
-
class EditorTheme¶
Public Functions
-
EditorTheme()¶
-
void load_default_dark()¶
-
void load_default_light()¶
-
void load_from_file(std::filesystem::path path)¶
-
void save_to_file(std::filesystem::path path)¶
-
void push_color(ImGuiCol widget, ThemeColors color, float alpha = 1.f) const¶
-
void pop_color(size_t count = 1) const¶
-
ScopedColor scoped_color(ImGuiCol widget, ThemeColors color, float alpha = 1.f) const¶
-
ImVec4 &operator[](ThemeColors color)¶
-
const ImVec4 &operator[](ThemeColors color) const¶
-
void show_color_picker()¶
-
EditorTheme()¶