DDraceNetwork Docs
menus_browser.cpp File Reference
Include dependency graph for menus_browser.cpp:

Enumerations

enum  { UI_TOOLBOX_PAGE_FILTERS = 0 , UI_TOOLBOX_PAGE_INFO , UI_TOOLBOX_PAGE_FRIENDS , NUM_UI_TOOLBOX_PAGES }
 

Functions

static ColorRGBA PlayerBackgroundColor (bool Friend, bool Clan, bool Afk, bool Inside)
 
template<size_t N>
static void FormatServerbrowserPing (char(&aBuffer)[N], const CServerInfo *pInfo)
 
static ColorRGBA GetPingTextColor (int Latency)
 
static ColorRGBA GetGametypeTextColor (const char *pGametype)
 

Variables

static const ColorRGBA gs_HighlightedTextColor = ColorRGBA(0.4f, 0.4f, 1.0f, 1.0f)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
UI_TOOLBOX_PAGE_FILTERS 
UI_TOOLBOX_PAGE_INFO 
UI_TOOLBOX_PAGE_FRIENDS 
NUM_UI_TOOLBOX_PAGES 

Function Documentation

◆ FormatServerbrowserPing()

template<size_t N>
static void FormatServerbrowserPing ( char(&)  aBuffer[N],
const CServerInfo pInfo 
)
static

◆ GetGametypeTextColor()

static ColorRGBA GetGametypeTextColor ( const char *  pGametype)
static

◆ GetPingTextColor()

static ColorRGBA GetPingTextColor ( int  Latency)
static

◆ PlayerBackgroundColor()

static ColorRGBA PlayerBackgroundColor ( bool  Friend,
bool  Clan,
bool  Afk,
bool  Inside 
)
static

Variable Documentation

◆ gs_HighlightedTextColor

const ColorRGBA gs_HighlightedTextColor = ColorRGBA(0.4f, 0.4f, 1.0f, 1.0f)
static