itemDef_s Struct Reference

#include <ui_shared.h>


Data Fields

Window window
Rectangle textRect
int type
int alignment
int textalignment
float textalignx
float textaligny
float textscale
int textStyle
const char * text
const char * text2
float text2alignx
float text2aligny
void * parent
qhandle_t asset
void * ghoul2
int flags
const char * mouseEnterText
const char * mouseExitText
const char * mouseEnter
const char * mouseExit
const char * action
const char * accept
const char * selectionNext
const char * selectionPrev
const char * onFocus
const char * leaveFocus
const char * cvar
const char * cvarTest
const char * enableCvar
int cvarFlags
sfxHandle_t focusSound
int numColors
colorRangeDef_t colorRanges [MAX_COLOR_RANGES]
float special
int cursorPos
void * typeData
const char * descText
int appearanceSlot
int iMenuFont
qboolean disabled
int invertYesNo
int xoffset


Field Documentation

const char* itemDef_s::accept
 

Definition at line 282 of file ui_shared.h.

Referenced by Item_HandleAccept().

const char* itemDef_s::action
 

Definition at line 280 of file ui_shared.h.

Referenced by Item_Action(), ItemParse_action(), and UI_FindCurrentSiegeTeamClass().

int itemDef_s::alignment
 

Definition at line 262 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), and ItemParse_align().

int itemDef_s::appearanceSlot
 

Definition at line 300 of file ui_shared.h.

Referenced by ItemParse_Appearance_slot(), and Menu_Paint().

qhandle_t itemDef_s::asset
 

Definition at line 273 of file ui_shared.h.

Referenced by Item_Image_Paint(), Item_Model_Paint(), Item_SetTextExtents(), ItemParse_asset_model_go(), and ItemParse_asset_shader().

colorRangeDef_t itemDef_s::colorRanges[MAX_COLOR_RANGES]
 

Definition at line 295 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), and ItemParse_addColorRange().

int itemDef_s::cursorPos
 

Definition at line 297 of file ui_shared.h.

Referenced by Item_InitControls(), Item_ListBox_HandleKey(), Item_ListBox_Paint(), Item_TextField_HandleKey(), Item_TextField_Paint(), Menu_HandleKey(), and Menu_SetFeederSelection().

const char* itemDef_s::cvar
 

Definition at line 289 of file ui_shared.h.

Referenced by Item_Bind_HandleKey(), Item_Bind_Paint(), Item_HandleKey(), Item_Multi_FindCvarByValue(), Item_Multi_HandleKey(), Item_Multi_Setting(), Item_SetTextExtents(), Item_Slider_HandleKey(), Item_Slider_Paint(), Item_Slider_ThumbPosition(), Item_Text_AutoWrapped_Paint(), Item_Text_Paint(), Item_Text_Wrapped_Paint(), Item_TextField_HandleKey(), Item_TextField_Paint(), Item_TextScroll_Paint(), Item_YesNo_HandleKey(), Item_YesNo_Paint(), ItemParse_cvar(), ItemParse_cvarFloat(), and Menu_SetItemText().

int itemDef_s::cvarFlags
 

Definition at line 292 of file ui_shared.h.

Referenced by Item_EnableShowViaCvar(), Item_MouseEnter(), Item_OwnerDraw_Paint(), Item_Paint(), Item_SetFocus(), Item_TextColor(), ItemParse_disableCvar(), ItemParse_enableCvar(), ItemParse_hideCvar(), ItemParse_showCvar(), and Menu_HandleMouseMove().

const char* itemDef_s::cvarTest
 

Definition at line 290 of file ui_shared.h.

Referenced by Item_EnableShowViaCvar(), Item_TextColor(), and ItemParse_cvarTest().

const char* itemDef_s::descText
 

Definition at line 299 of file ui_shared.h.

Referenced by Item_Paint(), and ItemParse_descText().

qboolean itemDef_s::disabled
 

Definition at line 302 of file ui_shared.h.

Referenced by Item_MouseEnter(), Item_OwnerDraw_Paint(), Item_SetFocus(), Item_TextColor(), Menu_HandleKey(), Menu_HandleMouseMove(), and Menu_ItemDisable().

const char* itemDef_s::enableCvar
 

Definition at line 291 of file ui_shared.h.

Referenced by Item_EnableShowViaCvar(), Item_TextColor(), ItemParse_disableCvar(), ItemParse_enableCvar(), ItemParse_hideCvar(), and ItemParse_showCvar().

int itemDef_s::flags
 

Definition at line 275 of file ui_shared.h.

Referenced by Item_Model_Paint(), Item_MouseEnter(), ItemParse_asset_model_go(), ItemParse_isCharacter(), ItemParse_isSaber(), ItemParse_isSaber2(), UI_SaberDrawBlade(), and UI_SaberDrawBlades().

sfxHandle_t itemDef_s::focusSound
 

Definition at line 293 of file ui_shared.h.

Referenced by Item_SetFocus(), and ItemParse_focusSound().

void* itemDef_s::ghoul2
 

Definition at line 274 of file ui_shared.h.

Referenced by Item_Model_Paint(), ItemParse_asset_model_go(), ItemParse_model_g2skin_go(), UI_SaberAttachToChar(), and UI_SaberDrawBlade().

int itemDef_s::iMenuFont
 

Definition at line 301 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_ListBox_Paint(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_SetTextExtents(), Item_Text_AutoWrapped_Paint(), Item_Text_Paint(), Item_Text_Wrapped_Paint(), Item_TextField_Paint(), Item_TextScroll_Paint(), Item_YesNo_Paint(), and ItemParse_font().

int itemDef_s::invertYesNo
 

Definition at line 303 of file ui_shared.h.

Referenced by Item_YesNo_Paint(), and ItemParse_invertyesno().

const char* itemDef_s::leaveFocus
 

Definition at line 288 of file ui_shared.h.

Referenced by ItemParse_leaveFocus(), and Menu_ClearFocus().

const char* itemDef_s::mouseEnter
 

Definition at line 278 of file ui_shared.h.

Referenced by Item_MouseEnter(), and ItemParse_mouseEnter().

const char* itemDef_s::mouseEnterText
 

Definition at line 276 of file ui_shared.h.

Referenced by Item_MouseEnter(), and ItemParse_mouseEnterText().

const char* itemDef_s::mouseExit
 

Definition at line 279 of file ui_shared.h.

Referenced by Item_MouseLeave(), and ItemParse_mouseExit().

const char* itemDef_s::mouseExitText
 

Definition at line 277 of file ui_shared.h.

Referenced by Item_MouseEnter(), Item_MouseLeave(), and ItemParse_mouseExitText().

int itemDef_s::numColors
 

Definition at line 294 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), and ItemParse_addColorRange().

const char* itemDef_s::onFocus
 

Definition at line 287 of file ui_shared.h.

Referenced by Item_SetFocus(), ItemParse_onFocus(), and Script_SetFocus().

void* itemDef_s::parent
 

Definition at line 272 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_Paint(), Item_SetFocus(), Item_Slider_Paint(), Item_TextColor(), Item_TextField_HandleKey(), Item_TextField_Paint(), Item_UpdatePosition(), Item_YesNo_Paint(), Menu_HandleKey(), Menus_Activate(), Script_FadeIn(), Script_FadeOut(), Script_Hide(), Script_Orbit(), Script_Scale(), Script_SetFocus(), Script_SetItemBackground(), Script_SetItemColor(), Script_SetItemColorCvar(), Script_SetItemRect(), Script_SetItemRectCvar(), Script_SetItemText(), Script_Show(), Script_Transition(), Script_Transition2(), and Script_Transition3().

const char* itemDef_s::selectionNext
 

Definition at line 284 of file ui_shared.h.

const char* itemDef_s::selectionPrev
 

Definition at line 285 of file ui_shared.h.

float itemDef_s::special
 

Definition at line 296 of file ui_shared.h.

Referenced by Item_ListBox_HandleKey(), Item_ListBox_MaxScroll(), Item_ListBox_OverLB(), Item_ListBox_Paint(), Item_Multi_HandleKey(), Item_OwnerDraw_HandleKey(), Item_OwnerDraw_Paint(), ItemParse_cvarStrList(), ItemParse_feeder(), ItemParse_special(), Menu_ScrollFeeder(), and Menu_SetFeederSelection().

const char* itemDef_s::text
 

Definition at line 268 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_SetTextExtents(), Item_Slider_HandleKey(), Item_Slider_Paint(), Item_Slider_ThumbPosition(), Item_Text_AutoWrapped_Paint(), Item_Text_Paint(), Item_Text_Wrapped_Paint(), Item_TextField_Paint(), Item_TextScroll_Paint(), Item_YesNo_Paint(), ItemParse_text(), Menu_HandleMouseMove(), and Menu_SetItemText().

const char* itemDef_s::text2
 

Definition at line 269 of file ui_shared.h.

Referenced by Item_Text_Paint(), and ItemParse_text2().

float itemDef_s::text2alignx
 

Definition at line 270 of file ui_shared.h.

Referenced by Item_Text_Paint(), and ItemParse_text2alignx().

float itemDef_s::text2aligny
 

Definition at line 271 of file ui_shared.h.

Referenced by Item_Text_Paint(), and ItemParse_text2aligny().

int itemDef_s::textalignment
 

Definition at line 263 of file ui_shared.h.

Referenced by Item_SetTextExtents(), Item_Text_AutoWrapped_Paint(), and ItemParse_textalign().

float itemDef_s::textalignx
 

Definition at line 264 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), Item_SetTextExtents(), Item_Text_AutoWrapped_Paint(), Item_TextScroll_Paint(), and ItemParse_textalignx().

float itemDef_s::textaligny
 

Definition at line 265 of file ui_shared.h.

Referenced by Item_ListBox_Paint(), Item_OwnerDraw_Paint(), Item_SetTextExtents(), Item_Text_AutoWrapped_Paint(), Item_TextScroll_Paint(), and ItemParse_textaligny().

Rectangle itemDef_s::textRect
 

Definition at line 260 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_MouseEnter(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_SetFocus(), Item_SetScreenCoords(), Item_SetTextExtents(), Item_Slider_HandleKey(), Item_Slider_Paint(), Item_Slider_ThumbPosition(), Item_Text_AutoWrapped_Paint(), Item_Text_Paint(), Item_Text_Wrapped_Paint(), Item_TextField_Paint(), and Item_YesNo_Paint().

float itemDef_s::textscale
 

Definition at line 266 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_Init(), Item_ListBox_Paint(), Item_Model_Paint(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_SetTextExtents(), Item_Text_AutoWrapped_Paint(), Item_Text_Paint(), Item_Text_Wrapped_Paint(), Item_TextField_Paint(), Item_TextScroll_Paint(), Item_YesNo_Paint(), and ItemParse_textscale().

int itemDef_s::textStyle
 

Definition at line 267 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_ListBox_Paint(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_Paint(), Item_Text_AutoWrapped_Paint(), Item_Text_Paint(), Item_Text_Wrapped_Paint(), Item_TextColor(), Item_TextField_Paint(), Item_TextScroll_Paint(), Item_YesNo_Paint(), and ItemParse_textstyle().

int itemDef_s::type
 

Definition at line 261 of file ui_shared.h.

Referenced by Item_HandleKey(), Item_InitControls(), Item_MouseEnter(), Item_Paint(), Item_SetFocus(), Item_SetScreenCoords(), Item_SetTextExtents(), Item_StartCapture(), Item_TextField_HandleKey(), Item_ValidateTypeData(), ItemParse_cvar(), ItemParse_notselectable(), ItemParse_ownerdraw(), ItemParse_scrollhidden(), ItemParse_type(), Leaving_EditField(), Menu_HandleKey(), Menu_HandleMouseMove(), Menu_SetItemText(), Menu_Transition3ItemByName(), and Script_SetAsset().

void* itemDef_s::typeData
 

Definition at line 298 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_HandleKey(), Item_InitControls(), Item_ListBox_HandleKey(), Item_ListBox_MaxScroll(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_ListBox_Paint(), Item_ListBox_ThumbPosition(), Item_Model_Paint(), Item_Multi_CountSettings(), Item_Multi_FindCvarByValue(), Item_Multi_HandleKey(), Item_Multi_Setting(), Item_Paint(), Item_SetScreenCoords(), Item_Slider_HandleKey(), Item_Slider_ThumbPosition(), Item_TextField_HandleKey(), Item_TextField_Paint(), Item_TextScroll_HandleKey(), Item_TextScroll_MaxScroll(), Item_TextScroll_OverLB(), Item_TextScroll_Paint(), Item_TextScroll_ThumbPosition(), Item_ValidateTypeData(), ItemParse_asset_model(), ItemParse_asset_model_go(), ItemParse_columns(), ItemParse_cvar(), ItemParse_cvarFloat(), ItemParse_cvarFloatList(), ItemParse_cvarStrList(), ItemParse_doubleClick(), ItemParse_elementheight(), ItemParse_elementtype(), ItemParse_elementwidth(), ItemParse_lineHeight(), ItemParse_maxChars(), ItemParse_maxLineChars(), ItemParse_maxPaintChars(), ItemParse_model_angle(), ItemParse_model_fovx(), ItemParse_model_fovy(), ItemParse_model_g2anim(), ItemParse_model_g2anim_go(), ItemParse_model_g2maxs(), ItemParse_model_g2mins(), ItemParse_model_g2scale(), ItemParse_model_g2skin(), ItemParse_model_g2skin_go(), ItemParse_model_origin(), ItemParse_model_rotation(), ItemParse_notselectable(), ItemParse_scrollhidden(), Leaving_EditField(), Menu_SetFeederSelection(), Menu_SetItemText(), Menu_Transition3ItemByName(), and UI_FeederSelection().

Window itemDef_s::window
 

Definition at line 259 of file ui_shared.h.

Referenced by CG_DrawArmor(), CG_DrawForcePower(), CG_DrawHealth(), CG_DrawHUD(), CG_DrawVehicleAmmo(), CG_DrawVehicleAmmoLower(), CG_DrawVehicleAmmoUpper(), CG_DrawVehicleArmor(), CG_DrawVehicleDamage(), CG_DrawVehicleDamageHUD(), CG_DrawVehicleHud(), CG_DrawVehicleShields(), CG_DrawVehicleSpeed(), CG_DrawVehicleTurboRecharge(), CG_DrawVehicleWeaponsLinked(), Item_Bind_HandleKey(), Item_Bind_Paint(), Item_Image_Paint(), Item_Init(), Item_ListBox_HandleKey(), Item_ListBox_MaxScroll(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_ListBox_Paint(), Item_ListBox_ThumbDrawPosition(), Item_ListBox_ThumbPosition(), Item_Model_Paint(), Item_MouseEnter(), Item_MouseLeave(), Item_Multi_HandleKey(), Item_Multi_Paint(), Item_OwnerDraw_HandleKey(), Item_OwnerDraw_Paint(), Item_Paint(), Item_SetFocus(), Item_SetMouseOver(), Item_SetScreenCoords(), Item_SetTextExtents(), Item_Slider_HandleKey(), Item_Slider_OverSlider(), Item_Slider_Paint(), Item_Slider_ThumbPosition(), Item_Text_AutoWrapped_Paint(), Item_Text_Paint(), Item_TextColor(), Item_TextField_Paint(), Item_TextScroll_HandleKey(), Item_TextScroll_MaxScroll(), Item_TextScroll_MouseEnter(), Item_TextScroll_OverLB(), Item_TextScroll_Paint(), Item_TextScroll_ThumbDrawPosition(), Item_TextScroll_ThumbPosition(), Item_YesNo_HandleKey(), Item_YesNo_Paint(), ItemParse_autowrapped(), ItemParse_backcolor(), ItemParse_background(), ItemParse_border(), ItemParse_bordercolor(), ItemParse_bordersize(), ItemParse_cinematic(), ItemParse_decoration(), ItemParse_flag(), ItemParse_forecolor(), ItemParse_group(), ItemParse_horizontalscroll(), ItemParse_name(), ItemParse_outlinecolor(), ItemParse_ownerdraw(), ItemParse_ownerdrawFlag(), ItemParse_rect(), ItemParse_rectcvar(), ItemParse_style(), ItemParse_visible(), ItemParse_wrapped(), Menu_ClearFocus(), Menu_FadeItemByName(), Menu_FindItemByName(), Menu_GetFocusedItem(), Menu_GetMatchingItemByNumber(), Menu_HandleKey(), Menu_HandleMouseMove(), Menu_HitTest(), Menu_ItemDisable(), Menu_ItemsMatchingGroup(), Menu_OrbitItemByName(), Menu_SetItemBackground(), Menu_ShowGroup(), Menu_ShowItemByName(), Menu_Transition3ItemByName(), Menu_TransitionItemByName(), Script_Scale(), Script_SetBackground(), Script_SetColor(), Script_SetFocus(), Script_SetItemColor(), Script_SetItemColorCvar(), Script_SetItemRect(), Script_SetItemRectCvar(), Script_SetTeamColor(), and UI_SetSiegeObjectiveGraphicPos().

int itemDef_s::xoffset
 

Definition at line 304 of file ui_shared.h.

Referenced by Item_Multi_Paint(), Item_YesNo_Paint(), and ItemParse_xoffset().


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