Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ColorManager Class Reference

Private Member Functions

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

Static Private Member Functions

static ColorManager GetInstance ()

Static Private Attributes

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

Detailed Description

Definition at line 1 of file colormanager.c.

Constructor & Destructor Documentation

◆ ColorManager()

void ColorManager ( )
inlineprivate

Definition at line 22 of file colormanager.c.

References m_Instance.

Referenced by GetInstance().

Member Function Documentation

◆ GetInstance()

◆ GetItemColor()

int GetItemColor ( ItemBase item)
inlineprivate

Definition at line 51 of file colormanager.c.

References g_Game, ItemManager::GetDraggedItem(), and ItemManager::GetInstance().

◆ SetColor()

Field Documentation

◆ BASE_COLOR

◆ COLOR_DISABLED_PANEL

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

Definition at line 12 of file colormanager.c.

◆ COLOR_DISABLED_TEXT

int COLOR_DISABLED_TEXT = ARGB( 100, 255, 255, 255 )
staticprivate

◆ COLOR_HIGHLIGHT_PANEL

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

Definition at line 8 of file colormanager.c.

◆ COLOR_HIGHLIGHT_TEXT

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

Definition at line 7 of file colormanager.c.

◆ COLOR_NORMAL_PANEL

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

Definition at line 6 of file colormanager.c.

◆ COLOR_NORMAL_TEXT

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

Definition at line 5 of file colormanager.c.

Referenced by UIScriptedMenu::ColorNormal(), and UIScriptedMenu::ColorWhite().

◆ COLOR_SELECTED_PANEL

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

Definition at line 10 of file colormanager.c.

◆ COLOR_SELECTED_TEXT

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

Definition at line 9 of file colormanager.c.

◆ COMBINE_COLOR

◆ FSWAP_COLOR

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

Definition at line 19 of file colormanager.c.

Referenced by Icon::DraggingOverSwap(), and Icon::UpdateFrameColor().

◆ GREEN_COLOR

◆ ITEM_BACKGROUND_COLOR

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

Definition at line 14 of file colormanager.c.

◆ m_Instance

ref ColorManager m_Instance
staticprivate

Definition at line 3 of file colormanager.c.

Referenced by ColorManager(), and GetInstance().

◆ RED_COLOR

◆ SWAP_COLOR


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