17 void DrawInspectOverlay();
19 bool IsOpen()
const {
return mIsOpen; }
20 bool IsInspectModeActive()
const {
return mIsOpen && mInspectMode; }
25 void DrawStylePropertiesTab();
29 void DrawColorGroup(
const char* label,
int* colIndices,
int count,
30 const char* cssSelector);
31 void DrawPanelColorGroup();
39 void BuildThemeData();
42 bool mInspectMode =
false;
45 ImGuiStyle mWorkingStyle;
47 ImGuiStyle mBaseStyle;
50 ImVec4 mDockTabTextColor = ImVec4(1, 1, 1, 1);
51 bool mHasDockTabTextColor =
false;
54 ImVec4 mDockSplitterColor = ImVec4(0.3f, 0.3f, 0.3f, 1.0f);
55 bool mHasDockSplitterColor =
false;
56 ImVec4 mDockSplitterHoverColor = ImVec4(0.5f, 0.5f, 0.8f, 1.0f);
57 bool mHasDockSplitterHoverColor =
false;
58 ImVec4 mDockTabBarBg = ImVec4(0.1f, 0.1f, 0.15f, 1.0f);
59 bool mHasDockTabBarBg =
false;
62 ImVec4 mPanelAssetsBg;
bool mHasPanelAssetsBg =
false;
63 ImVec4 mPanelSceneBg;
bool mHasPanelSceneBg =
false;
64 ImVec4 mPanelPropertiesBg;
bool mHasPanelPropertiesBg =
false;
65 ImVec4 mPanelDebugLogBg;
bool mHasPanelDebugLogBg =
false;
68 char mThemeName[64] =
"My Theme";
69 int mBaseThemeIndex = 0;
70 int mEditingCustomIndex = -1;
73 bool mShowSaveAsPopup =
false;
74 char mSaveAsName[64] = {};
77ThemeEditorWindow* GetThemeEditorWindow();