MCPcopy Create free account
hub / github.com/MrDrElliot/LuminaEngine / DrawSectionHeader

Function DrawSectionHeader

Engine/Editor/Source/UI/EditorUI.cpp:168–178  ·  view source on GitHub ↗

Small uppercase section label in the section-text color.

Source from the content-addressed store, hash-verified

166namespace Lumina
167{
168 // Project dialog palette + row primitives, mirroring ContentBrowserEditorTool's
169 // constexpr ImVec4 + ImDrawList-painted rows so the dialogs match the editor.
170 namespace
171 {
172 constexpr ImVec4 kProjDialogPanelBg = ImVec4(0.10f, 0.10f, 0.12f, 1.00f);
173 constexpr ImVec4 kProjDialogRowBg = ImVec4(0.14f, 0.14f, 0.17f, 1.00f);
174 constexpr ImVec4 kProjDialogRowBgHover = ImVec4(0.19f, 0.20f, 0.24f, 1.00f);
175 constexpr ImVec4 kProjDialogRowBgActive = ImVec4(0.16f, 0.17f, 0.21f, 1.00f);
176 constexpr ImVec4 kProjDialogTextPrimary = ImVec4(0.90f, 0.90f, 0.93f, 1.00f);
177 constexpr ImVec4 kProjDialogTextDim = ImVec4(0.55f, 0.56f, 0.62f, 1.00f);
178 constexpr ImVec4 kProjDialogTextMuted = ImVec4(0.42f, 0.42f, 0.47f, 1.00f);
179 constexpr ImVec4 kProjDialogTextSection = ImVec4(0.50f, 0.58f, 0.72f, 1.00f);
180 constexpr ImVec4 kProjDialogAccentBlue = ImVec4(0.36f, 0.66f, 1.00f, 1.00f);
181 constexpr ImVec4 kProjDialogAccentGold = ImVec4(1.00f, 0.78f, 0.40f, 1.00f);

Callers 3

VerifyDirtyPackagesMethod · 0.85
OpenProjectDialogMethod · 0.85
NewProjectDialogMethod · 0.85

Calls 5

PushFontFunction · 0.85
PushStyleColorFunction · 0.85
TextUnformattedFunction · 0.85
PopStyleColorFunction · 0.85
PopFontFunction · 0.85

Tested by

no test coverage detected