8enum class EditorThemeType
21inline bool IsCustomTheme(EditorThemeType type) {
return static_cast<int>(type) >=
static_cast<int>(EditorThemeType::Custom); }
22inline int GetCustomThemeIndex(EditorThemeType type) {
return static_cast<int>(type) -
static_cast<int>(EditorThemeType::Custom); }
23inline EditorThemeType MakeCustomThemeType(
int customIndex) {
return static_cast<EditorThemeType
>(
static_cast<int>(EditorThemeType::Custom) + customIndex); }
28 const std::vector<std::string>& GetThemeNames();
31 void RefreshThemeNames();
34 void ApplyTheme(EditorThemeType type);
37 EditorThemeType GetThemeTypeFromName(
const std::string& name);
40 const char* GetThemeName(EditorThemeType type);
43 void ApplyDarkTheme();
44 void ApplyLightTheme();
45 void ApplyFutureDarkTheme();
46 void ApplyClassicTheme();