Skip to content

Class ImguiTheme

ClassList > ImguiTheme

  • #include <ImguiTheme.h>

Inherited by the following classes: Outliner

Public Attributes

Type Name
std::string th_name = ""

Public Static Attributes

Type Name
ThemeData th_data

Public Functions

Type Name
ImU32 GetColorData (const std::string & th_para_name) const
float GetFloatData (const std::string & th_para_name) const
ImVec2 GetVec2Data (const std::string & th_para_name) const
ImguiTheme ()
ImguiTheme (const std::string & name)
void InitParaLoc ()
void SetColorData (const std::string & th_para_name, const ImU32 & para) const
void SetFloatData (const std::string & th_para_name, float para) const
void SetVec2Data (const std::string & th_para_name, const ImVec2 & para) const
~ImguiTheme ()

Public Static Functions

Type Name
void PushColorData (const std::string & name, const ImU32 & data=IM_COL32(0, 0, 0, 0))
void PushFloatData (const std::string & name, float data=0.0f)
void PushFontData (ImFont * font)
void PushVec2Data (const std::string & name, const ImVec2 & data=ImVec2(0, 0))

Public Attributes Documentation

variable th_name

std::string ImguiTheme::th_name;

Public Static Attributes Documentation

variable th_data

ThemeData ImguiTheme::th_data;

Public Functions Documentation

function GetColorData

ImU32 ImguiTheme::GetColorData (
    const std::string & th_para_name
) const

function GetFloatData

float ImguiTheme::GetFloatData (
    const std::string & th_para_name
) const

function GetVec2Data

ImVec2 ImguiTheme::GetVec2Data (
    const std::string & th_para_name
) const

function ImguiTheme [1/2]

ImguiTheme::ImguiTheme () 

function ImguiTheme [2/2]

ImguiTheme::ImguiTheme (
    const std::string & name
) 

function InitParaLoc

void ImguiTheme::InitParaLoc () 

function SetColorData

void ImguiTheme::SetColorData (
    const std::string & th_para_name,
    const ImU32 & para
) const

function SetFloatData

void ImguiTheme::SetFloatData (
    const std::string & th_para_name,
    float para
) const

function SetVec2Data

void ImguiTheme::SetVec2Data (
    const std::string & th_para_name,
    const ImVec2 & para
) const

function ~ImguiTheme

ImguiTheme::~ImguiTheme () 

Public Static Functions Documentation

function PushColorData

static void ImguiTheme::PushColorData (
    const std::string & name,
    const ImU32 & data=IM_COL32(0, 0, 0, 0)
) 

function PushFloatData

static void ImguiTheme::PushFloatData (
    const std::string & name,
    float data=0.0f
) 

function PushFontData

static void ImguiTheme::PushFontData (
    ImFont * font
) 

function PushVec2Data

static void ImguiTheme::PushVec2Data (
    const std::string & name,
    const ImVec2 & data=ImVec2(0, 0)
) 


The documentation for this class was generated from the following file src/UI/ImguiTheme.h