Polyphase Game Engine
Loading...
Searching...
No Matches
CssGenerator.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include "imgui.h"
6#include <string>
7
8struct CssThemeData;
9
10namespace CssGenerator
11{
12 // Generate CSS text from an ImGuiStyle + custom properties.
13 // Only writes properties that differ from ImGuiStyle() defaults.
14 std::string GenerateCss(
15 const ImGuiStyle& style,
16 bool hasDockTabTextColor,
17 const ImVec4& dockTabTextColor,
18 const CssThemeData* panelOverrides = nullptr);
19}
20
21#endif