Xonotic
|
#include "skinlist.qh"
Go to the source code of this file.
Functions | |
entity | makeXonoticSkinList () |
void | SetSkin_Click (entity btn, entity me) |
void | XonoticSkinList_configureXonoticSkinList (entity me) |
void | XonoticSkinList_destroy (entity me) |
void | XonoticSkinList_doubleClickListBoxItem (entity me, float i, vector where) |
void | XonoticSkinList_drawListBoxItem (entity me, int i, vector absSize, bool isSelected, bool isFocused) |
void | XonoticSkinList_getSkins (entity me) |
float | XonoticSkinList_keyDown (entity me, float scan, float ascii, float shift) |
void | XonoticSkinList_loadCvars (entity me) |
void | XonoticSkinList_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
void | XonoticSkinList_saveCvars (entity me) |
void | XonoticSkinList_setSkin (entity me) |
string | XonoticSkinList_skinParameter (entity me, float i, float key) |
Variables | |
const float | SKINPARM_AUTHOR = 2 |
const float | SKINPARM_COUNT = 4 |
const float | SKINPARM_NAME = 0 |
const float | SKINPARM_PREVIEW = 3 |
const float | SKINPARM_TITLE = 1 |
entity makeXonoticSkinList | ( | ) |
Definition at line 9 of file skinlist.qc.
Definition at line 157 of file skinlist.qc.
Definition at line 17 of file skinlist.qc.
Definition at line 104 of file skinlist.qc.
Definition at line 162 of file skinlist.qc.
References m_play_click_sound(), and MENU_SOUND_EXECUTE.
void XonoticSkinList_drawListBoxItem | ( | entity | me, |
int | i, | ||
vector | absSize, | ||
bool | isSelected, | ||
bool | isFocused | ||
) |
Definition at line 127 of file skinlist.qc.
References draw_Fill(), draw_Picture(), draw_Text(), draw_TextShortenToWidth(), draw_TextWidth(), eX, eY, getFadedAlpha(), SKINPARM_AUTHOR, SKINPARM_PREVIEW, and SKINPARM_TITLE.
Definition at line 50 of file skinlist.qc.
References buf_create, name, search_begin(), search_getfilename(), search_getsize(), SKINPARM_COUNT, SKINPARM_NAME, SKINPARM_TITLE, strlen(), and substring().
Definition at line 168 of file skinlist.qc.
References K_ENTER, K_KP_ENTER, m_play_click_sound(), MENU_SOUND_EXECUTE, and SUPER.
Definition at line 24 of file skinlist.qc.
References cvar_string(), and SKINPARM_NAME.
void XonoticSkinList_resizeNotify | ( | entity | me, |
vector | relOrigin, | ||
vector | relSize, | ||
vector | absOrigin, | ||
vector | absSize | ||
) |
Definition at line 40 of file skinlist.qc.
References cvar_set(), and SKINPARM_NAME.
Definition at line 151 of file skinlist.qc.
References localcmd.
const float SKINPARM_AUTHOR = 2 |
Definition at line 5 of file skinlist.qc.
Referenced by XonoticSkinList_drawListBoxItem().
const float SKINPARM_COUNT = 4 |
Definition at line 7 of file skinlist.qc.
Referenced by XonoticSkinList_getSkins(), and XonoticSkinList_skinParameter().
const float SKINPARM_NAME = 0 |
Definition at line 3 of file skinlist.qc.
Referenced by XonoticSkinList_getSkins(), XonoticSkinList_loadCvars(), and XonoticSkinList_saveCvars().
const float SKINPARM_PREVIEW = 3 |
Definition at line 6 of file skinlist.qc.
Referenced by XonoticSkinList_drawListBoxItem().
const float SKINPARM_TITLE = 1 |
Definition at line 4 of file skinlist.qc.
Referenced by XonoticSkinList_drawListBoxItem(), and XonoticSkinList_getSkins().