windowDef_t Struct Reference

#include <ui_shared.h>


Data Fields

Rectangle rect
Rectangle rectClient
const char * name
const char * group
const char * cinematicName
int cinematic
int style
int border
int ownerDraw
int ownerDrawFlags
float borderSize
int flags
Rectangle rectEffects
Rectangle rectEffects2
int offsetTime
int nextTime
vec4_t foreColor
vec4_t backColor
vec4_t borderColor
vec4_t outlineColor
qhandle_t background


Field Documentation

vec4_t windowDef_t::backColor
 

Definition at line 140 of file ui_shared.h.

Referenced by ItemParse_backcolor(), MenuParse_backcolor(), Script_SetColor(), Script_SetItemColor(), Script_SetItemColorCvar(), Script_SetTeamColor(), and Window_Paint().

qhandle_t windowDef_t::background
 

Definition at line 143 of file ui_shared.h.

Referenced by CG_DrawArmor(), CG_DrawForcePower(), CG_DrawHealth(), CG_DrawHUD(), CG_DrawVehicleAmmo(), CG_DrawVehicleAmmoLower(), CG_DrawVehicleAmmoUpper(), CG_DrawVehicleArmor(), CG_DrawVehicleHud(), CG_DrawVehicleShields(), CG_DrawVehicleSpeed(), Item_OwnerDraw_Paint(), ItemParse_background(), Menu_Paint(), Menu_SetItemBackground(), MenuParse_background(), Script_SetBackground(), and Window_Paint().

int windowDef_t::border
 

Definition at line 130 of file ui_shared.h.

Referenced by Item_SetScreenCoords(), Item_UpdatePosition(), ItemParse_border(), Menu_UpdatePosition(), MenuParse_border(), ToWindowCoords(), and Window_Paint().

vec4_t windowDef_t::borderColor
 

Definition at line 141 of file ui_shared.h.

Referenced by Item_ListBox_Paint(), ItemParse_bordercolor(), MenuParse_bordercolor(), Script_SetColor(), Script_SetItemColor(), Script_SetItemColorCvar(), and Window_Paint().

float windowDef_t::borderSize
 

Definition at line 133 of file ui_shared.h.

Referenced by Item_ListBox_Paint(), Item_SetScreenCoords(), Item_UpdatePosition(), ItemParse_bordersize(), Menu_UpdatePosition(), MenuParse_borderSize(), ToWindowCoords(), Window_Init(), and Window_Paint().

int windowDef_t::cinematic
 

Definition at line 128 of file ui_shared.h.

Referenced by Menu_ShowItemByName(), Window_Init(), and Window_Paint().

const char* windowDef_t::cinematicName
 

Definition at line 127 of file ui_shared.h.

Referenced by ItemParse_cinematic(), MenuParse_cinematic(), and Window_Paint().

int windowDef_t::flags
 

Definition at line 134 of file ui_shared.h.

Referenced by Display_MouseMove(), Display_VisibleMenuCount(), Item_Bind_Paint(), Item_ListBox_HandleKey(), Item_ListBox_MaxScroll(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_ListBox_Paint(), Item_ListBox_ThumbDrawPosition(), Item_ListBox_ThumbPosition(), Item_MouseEnter(), Item_MouseLeave(), Item_Multi_HandleKey(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_Paint(), Item_SetFocus(), Item_SetMouseOver(), Item_Slider_HandleKey(), Item_Slider_Paint(), Item_Text_Paint(), Item_TextColor(), Item_TextField_Paint(), Item_TextScroll_HandleKey(), Item_TextScroll_MouseEnter(), Item_YesNo_HandleKey(), Item_YesNo_Paint(), ItemParse_autowrapped(), ItemParse_decoration(), ItemParse_flag(), ItemParse_forecolor(), ItemParse_horizontalscroll(), ItemParse_visible(), ItemParse_wrapped(), Menu_ClearFocus(), Menu_FadeItemByName(), Menu_GetFocused(), Menu_GetFocusedItem(), Menu_HandleKey(), Menu_HandleMouseMove(), Menu_ItemDisable(), Menu_OrbitItemByName(), Menu_Paint(), Menu_ShowGroup(), Menu_ShowItemByName(), Menu_Transition3ItemByName(), Menu_TransitionItemByName(), MenuParse_forecolor(), MenuParse_outOfBounds(), MenuParse_popup(), MenuParse_visible(), Menus_Activate(), Menus_ActivateByName(), Menus_AnyFullScreenVisible(), Menus_CloseAll(), Menus_CloseByName(), Menus_HandleOOBClick(), Script_SetColor(), Script_SetFocus(), Script_SetItemColor(), Script_SetItemColorCvar(), and Window_Paint().

vec4_t windowDef_t::foreColor
 

Definition at line 139 of file ui_shared.h.

Referenced by CG_DrawArmor(), CG_DrawForcePower(), CG_DrawHealth(), CG_DrawHUD(), CG_DrawVehicleAmmo(), CG_DrawVehicleAmmoLower(), CG_DrawVehicleAmmoUpper(), CG_DrawVehicleArmor(), CG_DrawVehicleDamageHUD(), CG_DrawVehicleHud(), CG_DrawVehicleShields(), CG_DrawVehicleSpeed(), Item_Bind_Paint(), Item_ListBox_Paint(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_Slider_Paint(), Item_TextColor(), Item_TextField_Paint(), Item_TextScroll_Paint(), Item_YesNo_Paint(), ItemParse_forecolor(), MenuParse_forecolor(), Script_SetColor(), Script_SetItemColor(), Script_SetItemColorCvar(), Window_Init(), and Window_Paint().

const char* windowDef_t::group
 

Definition at line 126 of file ui_shared.h.

Referenced by ItemParse_group(), Menu_GetMatchingItemByNumber(), and Menu_ItemsMatchingGroup().

const char* windowDef_t::name
 

Definition at line 125 of file ui_shared.h.

Referenced by ItemParse_name(), Menu_FindItemByName(), Menu_GetMatchingItemByNumber(), Menu_ItemsMatchingGroup(), MenuParse_name(), UI_Load(), and UI_UpdateCharacterSkin().

int windowDef_t::nextTime
 

Definition at line 138 of file ui_shared.h.

Referenced by Item_OwnerDraw_Paint(), Item_Paint(), Item_TextColor(), and Window_Paint().

int windowDef_t::offsetTime
 

Definition at line 137 of file ui_shared.h.

Referenced by Item_Paint(), Menu_OrbitItemByName(), Menu_Transition3ItemByName(), and Menu_TransitionItemByName().

vec4_t windowDef_t::outlineColor
 

Definition at line 142 of file ui_shared.h.

Referenced by Item_ListBox_Paint(), ItemParse_outlinecolor(), and MenuParse_outlinecolor().

int windowDef_t::ownerDraw
 

Definition at line 131 of file ui_shared.h.

Referenced by Item_OwnerDraw_HandleKey(), Item_OwnerDraw_Paint(), Item_SetTextExtents(), ItemParse_ownerdraw(), and MenuParse_ownerdraw().

int windowDef_t::ownerDrawFlags
 

Definition at line 132 of file ui_shared.h.

Referenced by Item_OwnerDraw_HandleKey(), Item_OwnerDraw_Paint(), Item_Paint(), ItemParse_ownerdrawFlag(), Menu_Paint(), and MenuParse_ownerdrawFlag().

Rectangle windowDef_t::rect
 

Definition at line 123 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(), Display_CursorType(), Display_MouseMove(), Item_Bind_HandleKey(), Item_Image_Paint(), 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_Multi_HandleKey(), Item_OwnerDraw_HandleKey(), Item_OwnerDraw_Paint(), Item_Paint(), Item_SetScreenCoords(), Item_Slider_HandleKey(), Item_Slider_OverSlider(), Item_Slider_Paint(), Item_Slider_ThumbPosition(), Item_Text_AutoWrapped_Paint(), Item_TextField_Paint(), Item_TextScroll_HandleKey(), Item_TextScroll_MaxScroll(), Item_TextScroll_OverLB(), Item_TextScroll_Paint(), Item_TextScroll_ThumbDrawPosition(), Item_TextScroll_ThumbPosition(), Item_UpdatePosition(), Item_YesNo_HandleKey(), Menu_HandleKey(), Menu_HandleMouseMove(), Menu_HitTest(), Menu_Paint(), Menu_PostParse(), Menu_TransitionItemByName(), Menu_UpdatePosition(), MenuParse_rect(), Script_Scale(), Script_SetItemRect(), Script_SetItemRectCvar(), ToWindowCoords(), UI_SetSiegeObjectiveGraphicPos(), and Window_Paint().

Rectangle windowDef_t::rectClient
 

Definition at line 124 of file ui_shared.h.

Referenced by Item_Paint(), Item_SetScreenCoords(), ItemParse_rect(), ItemParse_rectcvar(), Menu_OrbitItemByName(), Menu_TransitionItemByName(), Script_SetItemRectCvar(), and UI_SetSiegeObjectiveGraphicPos().

Rectangle windowDef_t::rectEffects
 

Definition at line 135 of file ui_shared.h.

Referenced by Item_Paint(), Menu_OrbitItemByName(), and Menu_TransitionItemByName().

Rectangle windowDef_t::rectEffects2
 

Definition at line 136 of file ui_shared.h.

Referenced by Item_Paint(), and Menu_TransitionItemByName().

int windowDef_t::style
 

Definition at line 129 of file ui_shared.h.

Referenced by ItemParse_style(), MenuParse_style(), and Window_Paint().


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