Voltray Engine Docs
Loading...
Searching...
No Matches
Editor::UI::Theme Class Reference

Represents a complete UI theme with colors and style settings. More...

#include <Theme.h>

Collaboration diagram for Editor::UI::Theme:

Public Member Functions

 Theme (const std::string &themeName)
 
void Apply () const
 Applies this theme to ImGui.
 
std::unique_ptr< ThemeClone () const
 Creates a deep copy of this theme.
 

Public Attributes

std::string name
 
ThemeColors colors
 
ThemeStyle style
 

Detailed Description

Represents a complete UI theme with colors and style settings.

Constructor & Destructor Documentation

◆ Theme()

Editor::UI::Theme::Theme ( const std::string &  themeName)
inline

Member Function Documentation

◆ Apply()

void Editor::UI::Theme::Apply ( ) const

Applies this theme to ImGui.

◆ Clone()

std::unique_ptr< Theme > Editor::UI::Theme::Clone ( ) const

Creates a deep copy of this theme.

Returns
Unique pointer to the cloned theme

Member Data Documentation

◆ colors

ThemeColors Editor::UI::Theme::colors

◆ name

std::string Editor::UI::Theme::name

◆ style

ThemeStyle Editor::UI::Theme::style

The documentation for this class was generated from the following files: