menuDef_t Struct Reference

#include <ui_shared.h>


Data Fields

Window window
const char * font
qboolean fullScreen
int itemCount
int fontIndex
int cursorItem
int fadeCycle
float fadeClamp
float fadeAmount
const char * onOpen
const char * onClose
const char * onAccept
const char * onESC
const char * soundName
vec4_t focusColor
vec4_t disableColor
itemDef_titems [MAX_MENUITEMS]
int descX
int descY
vec4_t descColor
int descAlignment
float descScale
float appearanceTime
int appearanceCnt
float appearanceIncrement


Field Documentation

int menuDef_t::appearanceCnt
 

Definition at line 334 of file ui_shared.h.

Referenced by Menu_Paint().

float menuDef_t::appearanceIncrement
 

Definition at line 335 of file ui_shared.h.

Referenced by Menu_Paint(), and MenuParse_appearanceIncrement().

float menuDef_t::appearanceTime
 

Definition at line 333 of file ui_shared.h.

Referenced by Menu_Paint(), and Menus_Activate().

int menuDef_t::cursorItem
 

Definition at line 313 of file ui_shared.h.

Referenced by Item_SetFocus(), Menu_Init(), Menu_SetNextCursorItem(), and Menu_SetPrevCursorItem().

int menuDef_t::descAlignment
 

Definition at line 331 of file ui_shared.h.

Referenced by Item_Paint(), and MenuParse_descAlignment().

vec4_t menuDef_t::descColor
 

Definition at line 330 of file ui_shared.h.

Referenced by Item_Paint(), and MenuParse_descColor().

float menuDef_t::descScale
 

Definition at line 332 of file ui_shared.h.

Referenced by Item_Paint(), and MenuParse_descScale().

int menuDef_t::descX
 

Definition at line 328 of file ui_shared.h.

Referenced by Item_Paint(), and MenuParse_descX().

int menuDef_t::descY
 

Definition at line 329 of file ui_shared.h.

Referenced by Item_Paint(), and MenuParse_descY().

vec4_t menuDef_t::disableColor
 

Definition at line 326 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), Item_TextColor(), and MenuParse_disablecolor().

float menuDef_t::fadeAmount
 

Definition at line 316 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), Item_Paint(), Item_TextColor(), Menu_Init(), Menu_Paint(), and MenuParse_fadeAmount().

float menuDef_t::fadeClamp
 

Definition at line 315 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), Item_Paint(), Item_TextColor(), Menu_Init(), Menu_Paint(), and MenuParse_fadeClamp().

int menuDef_t::fadeCycle
 

Definition at line 314 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), Item_Paint(), Item_TextColor(), Menu_Init(), Menu_Paint(), and MenuParse_fadeCycle().

vec4_t menuDef_t::focusColor
 

Definition at line 325 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_Slider_Paint(), Item_TextColor(), Item_TextField_Paint(), Item_YesNo_Paint(), and MenuParse_focuscolor().

const char* menuDef_t::font
 

Definition at line 309 of file ui_shared.h.

Referenced by MenuParse_font().

int menuDef_t::fontIndex
 

Definition at line 312 of file ui_shared.h.

qboolean menuDef_t::fullScreen
 

Definition at line 310 of file ui_shared.h.

Referenced by Menu_Paint(), Menu_PostParse(), MenuParse_fullscreen(), and Menus_AnyFullScreenVisible().

int menuDef_t::itemCount
 

Definition at line 311 of file ui_shared.h.

Referenced by Item_SetFocus(), Menu_ClearFocus(), Menu_FindItemByName(), Menu_GetFocusedItem(), Menu_GetMatchingItemByNumber(), Menu_HandleKey(), Menu_HandleMouseMove(), Menu_HitTest(), Menu_ItemsMatchingGroup(), Menu_Paint(), Menu_ScrollFeeder(), Menu_SetFeederSelection(), Menu_SetNextCursorItem(), Menu_SetPrevCursorItem(), Menu_UpdatePosition(), and MenuParse_itemDef().

itemDef_t* menuDef_t::items[MAX_MENUITEMS]
 

Definition at line 327 of file ui_shared.h.

Referenced by Item_SetFocus(), Menu_ClearFocus(), Menu_FindItemByName(), Menu_GetFocusedItem(), Menu_GetMatchingItemByNumber(), Menu_HandleKey(), Menu_HandleMouseMove(), Menu_HitTest(), Menu_ItemsMatchingGroup(), Menu_Paint(), Menu_ScrollFeeder(), Menu_SetFeederSelection(), Menu_SetNextCursorItem(), Menu_SetPrevCursorItem(), Menu_UpdatePosition(), and MenuParse_itemDef().

const char* menuDef_t::onAccept
 

Definition at line 320 of file ui_shared.h.

Referenced by Menu_HandleKey(), and MenuParse_onAccept().

const char* menuDef_t::onClose
 

Definition at line 318 of file ui_shared.h.

Referenced by MenuParse_onClose().

const char* menuDef_t::onESC
 

Definition at line 322 of file ui_shared.h.

Referenced by Menu_HandleKey(), and MenuParse_onESC().

const char* menuDef_t::onOpen
 

Definition at line 317 of file ui_shared.h.

Referenced by MenuParse_onOpen(), and Menus_Activate().

const char* menuDef_t::soundName
 

Definition at line 323 of file ui_shared.h.

Referenced by MenuParse_soundLoop(), and Menus_Activate().

Window menuDef_t::window
 

Definition at line 308 of file ui_shared.h.

Referenced by Display_CursorType(), Display_MouseMove(), Display_VisibleMenuCount(), Item_UpdatePosition(), Menu_GetFocused(), Menu_HandleKey(), Menu_HandleMouseMove(), Menu_Init(), Menu_Paint(), Menu_PostParse(), Menu_UpdatePosition(), MenuParse_backcolor(), MenuParse_background(), MenuParse_border(), MenuParse_bordercolor(), MenuParse_borderSize(), MenuParse_cinematic(), MenuParse_forecolor(), MenuParse_name(), MenuParse_outlinecolor(), MenuParse_outOfBounds(), MenuParse_ownerdraw(), MenuParse_ownerdrawFlag(), MenuParse_popup(), MenuParse_rect(), MenuParse_style(), MenuParse_visible(), Menus_Activate(), Menus_ActivateByName(), Menus_AnyFullScreenVisible(), Menus_CloseAll(), Menus_CloseByName(), Menus_HandleOOBClick(), Script_SetItemRect(), Script_SetItemRectCvar(), UI_Load(), and UI_UpdateCharacterSkin().


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