PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ColorManager Class Reference

Private Member Functions

void ColorManager ()
 
void SetColor (Widget w, int color)
 
int GetItemColor (ItemBase item)
 

Static Private Member Functions

static ColorManager GetInstance ()
 

Static Private Attributes

private static ref ColorManager m_Instance
 
static int COLOR_NORMAL_TEXT = ARGB( 255, 255, 255, 255 )
 
static int COLOR_NORMAL_PANEL = ARGB( 140, 0, 0, 0 )
 
static int COLOR_HIGHLIGHT_TEXT = ARGB( 255, 200, 0, 0 )
 
static int COLOR_HIGHLIGHT_PANEL = ARGB( 255, 0, 0, 0 )
 
static int COLOR_SELECTED_TEXT = ARGB( 255, 255, 255, 255 )
 
static int COLOR_SELECTED_PANEL = ARGB( 255, 200, 0, 0 )
 
static int COLOR_DISABLED_TEXT = ARGB( 100, 255, 255, 255 )
 
static int COLOR_DISABLED_PANEL = ARGB( 140, 0, 0, 0 )
 
static int ITEM_BACKGROUND_COLOR = ARGB( 50, 255, 255, 255 )
 
static int BASE_COLOR = ARGB( 10, 255, 255, 255 )
 
static int RED_COLOR = ARGB( 150, 255, 1, 1 )
 
static int GREEN_COLOR = ARGB( 150, 1, 255, 1 )
 
static int SWAP_COLOR = ARGB( 150, 135, 206, 250 )
 
static int FSWAP_COLOR = ARGB( 150, 35, 106, 150 )
 
static int COMBINE_COLOR = ARGB( 150, 255, 165, 0 )
 

Constructor & Destructor Documentation

◆ ColorManager()

void ColorManager ( )
inlineprivate

References m_Instance.

Member Function Documentation

◆ GetInstance()

◆ GetItemColor()

int GetItemColor ( ItemBase  item)
inlineprivate

◆ SetColor()

Field Documentation

◆ BASE_COLOR

◆ COLOR_DISABLED_PANEL

int COLOR_DISABLED_PANEL = ARGB( 140, 0, 0, 0 )
staticprivate

◆ COLOR_DISABLED_TEXT

◆ COLOR_HIGHLIGHT_PANEL

int COLOR_HIGHLIGHT_PANEL = ARGB( 255, 0, 0, 0 )
staticprivate

◆ COLOR_HIGHLIGHT_TEXT

int COLOR_HIGHLIGHT_TEXT = ARGB( 255, 200, 0, 0 )
staticprivate

◆ COLOR_NORMAL_PANEL

int COLOR_NORMAL_PANEL = ARGB( 140, 0, 0, 0 )
staticprivate

◆ COLOR_NORMAL_TEXT

int COLOR_NORMAL_TEXT = ARGB( 255, 255, 255, 255 )
staticprivate

◆ COLOR_SELECTED_PANEL

int COLOR_SELECTED_PANEL = ARGB( 255, 200, 0, 0 )
staticprivate

◆ COLOR_SELECTED_TEXT

int COLOR_SELECTED_TEXT = ARGB( 255, 255, 255, 255 )
staticprivate

◆ COMBINE_COLOR

◆ FSWAP_COLOR

int FSWAP_COLOR = ARGB( 150, 35, 106, 150 )
staticprivate

◆ GREEN_COLOR

◆ ITEM_BACKGROUND_COLOR

int ITEM_BACKGROUND_COLOR = ARGB( 50, 255, 255, 255 )
staticprivate

◆ m_Instance

private static ref ColorManager m_Instance
staticprivate

Referenced by ColorManager(), and GetInstance().

◆ RED_COLOR

◆ SWAP_COLOR


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