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
8
struct
CssThemeData;
9
10
namespace
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
Engine
Source
Editor
ThemeEditor
CssGenerator.h
Generated by
1.9.8