![]() |
DDraceNetwork Documentation
|
#include "menus.h"#include <base/log.h>#include <engine/engine.h>#include <engine/favorites.h>#include <engine/friends.h>#include <engine/gfx/image_manipulation.h>#include <engine/keys.h>#include <engine/serverbrowser.h>#include <engine/shared/config.h>#include <engine/shared/localization.h>#include <engine/textrender.h>#include <game/client/animstate.h>#include <game/client/components/countryflags.h>#include <game/client/gameclient.h>#include <game/client/ui.h>#include <game/client/ui_listbox.h>#include <game/localization.h>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 InSelectedServer, 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 constexpr ColorRGBA | gs_HighlightedTextColor = ColorRGBA(0.4f, 0.4f, 1.0f, 1.0f) |
| anonymous enum |
|
static |
|
static |
|
static |
|
static |