codemp/ui/ui_shared.h File Reference

#include "../game/q_shared.h"
#include "../cgame/tr_types.h"
#include "keycodes.h"
#include "../../ui/menudef.h"
#include "../namespace_begin.h"
#include "../namespace_end.h"

Go to the source code of this file.

Data Structures

struct  cachedAssets_t
struct  colorRangeDef_t
struct  columnInfo_s
struct  commandDef_t
struct  displayContextDef_t
struct  editFieldDef_s
struct  itemDef_s
struct  listBoxDef_s
struct  menuDef_t
struct  modelDef_s
struct  multiDef_s
struct  rectDef_t
struct  scriptDef_t
struct  textScrollDef_s
struct  windowDef_t

Defines

#define MAX_MENUNAME   32
#define MAX_ITEMTEXT   64
#define MAX_ITEMACTION   64
#define MAX_MENUDEFFILE   4096
#define MAX_MENUFILE   32768
#define MAX_MENUS   64
#define MAX_MENUITEMS   256
#define MAX_COLOR_RANGES   10
#define MAX_OPEN_MENUS   16
#define MAX_TEXTSCROLL_LINES   256
#define WINDOW_MOUSEOVER   0x00000001
#define WINDOW_HASFOCUS   0x00000002
#define WINDOW_VISIBLE   0x00000004
#define WINDOW_INACTIVE   0x00000008
#define WINDOW_DECORATION   0x00000010
#define WINDOW_FADINGOUT   0x00000020
#define WINDOW_FADINGIN   0x00000040
#define WINDOW_MOUSEOVERTEXT   0x00000080
#define WINDOW_INTRANSITION   0x00000100
#define WINDOW_FORECOLORSET   0x00000200
#define WINDOW_HORIZONTAL   0x00000400
#define WINDOW_LB_LEFTARROW   0x00000800
#define WINDOW_LB_RIGHTARROW   0x00001000
#define WINDOW_LB_THUMB   0x00002000
#define WINDOW_LB_PGUP   0x00004000
#define WINDOW_LB_PGDN   0x00008000
#define WINDOW_ORBITING   0x00010000
#define WINDOW_OOB_CLICK   0x00020000
#define WINDOW_WRAPPED   0x00040000
#define WINDOW_AUTOWRAPPED   0x00080000
#define WINDOW_FORCED   0x00100000
#define WINDOW_POPUP   0x00200000
#define WINDOW_BACKCOLORSET   0x00400000
#define WINDOW_TIMEDVISIBLE   0x00800000
#define WINDOW_PLAYERCOLOR   0x01000000
#define WINDOW_INTRANSITIONMODEL   0x04000000
#define CURSOR_NONE   0x00000001
#define CURSOR_ARROW   0x00000002
#define CURSOR_SIZER   0x00000004
#define STRING_POOL_SIZE   384*1024
#define MAX_STRING_HANDLES   4096
#define MAX_SCRIPT_ARGS   12
#define MAX_EDITFIELD   256
#define ART_FX_BASE   "menu/art/fx_base"
#define ART_FX_BLUE   "menu/art/fx_blue"
#define ART_FX_CYAN   "menu/art/fx_cyan"
#define ART_FX_GREEN   "menu/art/fx_grn"
#define ART_FX_RED   "menu/art/fx_red"
#define ART_FX_TEAL   "menu/art/fx_teal"
#define ART_FX_WHITE   "menu/art/fx_white"
#define ART_FX_YELLOW   "menu/art/fx_yel"
#define ART_FX_ORANGE   "menu/art/fx_orange"
#define ART_FX_PURPLE   "menu/art/fx_purple"
#define ASSET_GRADIENTBAR   "ui/assets/gradientbar2.tga"
#define ASSET_SCROLLBAR   "gfx/menus/scrollbar.tga"
#define ASSET_SCROLLBAR_ARROWDOWN   "gfx/menus/scrollbar_arrow_dwn_a.tga"
#define ASSET_SCROLLBAR_ARROWUP   "gfx/menus/scrollbar_arrow_up_a.tga"
#define ASSET_SCROLLBAR_ARROWLEFT   "gfx/menus/scrollbar_arrow_left.tga"
#define ASSET_SCROLLBAR_ARROWRIGHT   "gfx/menus/scrollbar_arrow_right.tga"
#define ASSET_SCROLL_THUMB   "gfx/menus/scrollbar_thumb.tga"
#define ASSET_SLIDER_BAR   "menu/new/slider"
#define ASSET_SLIDER_THUMB   "menu/new/sliderthumb"
#define SCROLLBAR_SIZE   16.0
#define SLIDER_WIDTH   96.0
#define SLIDER_HEIGHT   16.0
#define SLIDER_THUMB_WIDTH   12.0
#define SLIDER_THUMB_HEIGHT   20.0
#define NUM_CROSSHAIRS   9
#define MAX_LB_COLUMNS   16
#define MAX_MULTI_CVARS   32
#define ITEM_ALIGN_LEFT   0
#define ITEM_ALIGN_CENTER   1
#define ITEM_ALIGN_RIGHT   2
#define CVAR_ENABLE   0x00000001
#define CVAR_DISABLE   0x00000002
#define CVAR_SHOW   0x00000004
#define CVAR_HIDE   0x00000008
#define ITF_G2VALID   0x0001
#define ITF_ISCHARACTER   0x0002
#define ITF_ISSABER   0x0004
#define ITF_ISSABER2   0x0008
#define ITF_ISANYSABER   (ITF_ISSABER|ITF_ISSABER2)

Typedefs

typedef rectDef_t Rectangle
typedef windowDef_t Window
typedef columnInfo_s columnInfo_t
typedef listBoxDef_s listBoxDef_t
typedef editFieldDef_s editFieldDef_t
typedef multiDef_s multiDef_t
typedef modelDef_s modelDef_t
typedef textScrollDef_s textScrollDef_t
typedef itemDef_s itemDef_t

Functions

const char * String_Alloc (const char *p)
void String_Init ()
void String_Report ()
void Init_Display (displayContextDef_t *dc)
void Display_ExpandMacros (char *buff)
void Menu_Init (menuDef_t *menu)
void Item_Init (itemDef_t *item)
void Menu_PostParse (menuDef_t *menu)
menuDef_tMenu_GetFocused ()
void Menu_HandleKey (menuDef_t *menu, int key, qboolean down)
void Menu_HandleMouseMove (menuDef_t *menu, float x, float y)
void Menu_ScrollFeeder (menuDef_t *menu, int feeder, qboolean down)
qboolean Float_Parse (char **p, float *f)
qboolean Color_Parse (char **p, vec4_t *c)
qboolean Int_Parse (char **p, int *i)
qboolean Rect_Parse (char **p, rectDef_t *r)
qboolean String_Parse (char **p, const char **out)
qboolean Script_Parse (char **p, const char **out)
qboolean PC_Float_Parse (int handle, float *f)
qboolean PC_Color_Parse (int handle, vec4_t *c)
qboolean PC_Int_Parse (int handle, int *i)
qboolean PC_Rect_Parse (int handle, rectDef_t *r)
qboolean PC_String_Parse (int handle, const char **out)
qboolean PC_Script_Parse (int handle, const char **out)
int Menu_Count ()
void Menu_New (int handle)
void Menu_PaintAll ()
menuDef_tMenus_ActivateByName (const char *p)
void Menu_Reset ()
qboolean Menus_AnyFullScreenVisible ()
void Menus_Activate (menuDef_t *menu)
itemDef_tMenu_FindItemByName (menuDef_t *menu, const char *p)
displayContextDef_tDisplay_GetContext ()
void * Display_CaptureItem (int x, int y)
qboolean Display_MouseMove (void *p, int x, int y)
int Display_CursorType (int x, int y)
qboolean Display_KeyBindPending ()
void Menus_OpenByName (const char *p)
menuDef_tMenus_FindByName (const char *p)
void Menus_ShowByName (const char *p)
void Menus_CloseByName (const char *p)
void Display_HandleKey (int key, qboolean down, int x, int y)
void LerpColor (vec4_t a, vec4_t b, vec4_t c, float t)
void Menus_CloseAll ()
void Menu_Paint (menuDef_t *menu, qboolean forcePaint)
void Menu_SetFeederSelection (menuDef_t *menu, int feeder, int index, const char *name)
void Display_CacheAll ()
void Menu_SetItemBackground (const menuDef_t *menu, const char *itemName, const char *background)
void * UI_Alloc (int size)
void UI_InitMemory (void)
qboolean UI_OutOfMemory ()
void Controls_GetConfig (void)
void Controls_SetConfig (qboolean restart)
int trap_PC_AddGlobalDefine (char *define)
int trap_PC_LoadSource (const char *filename)
int trap_PC_FreeSource (int handle)
int trap_PC_ReadToken (int handle, pc_token_t *pc_token)
int trap_PC_SourceFileAndLine (int handle, char *filename, int *line)
int trap_PC_LoadGlobalDefines (const char *filename)
void trap_PC_RemoveAllGlobalDefines (void)
int trap_R_Font_StrLenPixels (const char *text, const int iFontIndex, const float scale)
int trap_R_Font_StrLenChars (const char *text)
int trap_R_Font_HeightPixels (const int iFontIndex, const float scale)
void trap_R_Font_DrawString (int ox, int oy, const char *text, const float *rgba, const int setIndex, int iCharLimit, const float scale)
qboolean trap_Language_IsAsian (void)
qboolean trap_Language_UsesSpaces (void)
unsigned int trap_AnyLanguage_ReadCharFromString (const char *psText, int *piAdvanceCount, qboolean *pbIsTrailingPunctuation)
int trap_SP_GetStringTextString (const char *text, char *buffer, int bufferLength)
int trap_SP_GetNumLanguages (void)
void trap_GetLanguageName (const int languageIndex, char *buffer)
void trap_G2API_CollisionDetect (CollisionRecord_t *collRecMap, void *ghoul2, const vec3_t angles, const vec3_t position, int frameNumber, int entNum, const vec3_t rayStart, const vec3_t rayEnd, const vec3_t scale, int traceFlags, int useLod, float fRadius)
void trap_G2API_CollisionDetectCache (CollisionRecord_t *collRecMap, void *ghoul2, const vec3_t angles, const vec3_t position, int frameNumber, int entNum, const vec3_t rayStart, const vec3_t rayEnd, const vec3_t scale, int traceFlags, int useLod, float fRadius)
void trap_G2_ListModelSurfaces (void *ghlInfo)
void trap_G2_ListModelBones (void *ghlInfo, int frame)
void trap_G2_SetGhoul2ModelIndexes (void *ghoul2, qhandle_t *modelList, qhandle_t *skinList)
qboolean trap_G2_HaveWeGhoul2Models (void *ghoul2)
qboolean trap_G2API_GetBoltMatrix (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale)
qboolean trap_G2API_GetBoltMatrix_NoReconstruct (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale)
qboolean trap_G2API_GetBoltMatrix_NoRecNoRot (void *ghoul2, const int modelIndex, const int boltIndex, mdxaBone_t *matrix, const vec3_t angles, const vec3_t position, const int frameNum, qhandle_t *modelList, vec3_t scale)
int trap_G2API_InitGhoul2Model (void **ghoul2Ptr, const char *fileName, int modelIndex, qhandle_t customSkin, qhandle_t customShader, int modelFlags, int lodBias)
qboolean trap_G2API_SetSkin (void *ghoul2, int modelIndex, qhandle_t customSkin, qhandle_t renderSkin)
qboolean trap_G2API_AttachG2Model (void *ghoul2From, int modelIndexFrom, void *ghoul2To, int toBoltIndex, int toModel)
int trap_G2API_CopyGhoul2Instance (void *g2From, void *g2To, int modelIndex)
void trap_G2API_CopySpecificGhoul2Model (void *g2From, int modelFrom, void *g2To, int modelTo)
void trap_G2API_DuplicateGhoul2Instance (void *g2From, void **g2To)
qboolean trap_G2API_HasGhoul2ModelOnIndex (void *ghlInfo, int modelIndex)
qboolean trap_G2API_RemoveGhoul2Model (void *ghlInfo, int modelIndex)
int trap_G2API_AddBolt (void *ghoul2, int modelIndex, const char *boneName)
void trap_G2API_SetBoltInfo (void *ghoul2, int modelIndex, int boltInfo)
void trap_G2API_CleanGhoul2Models (void **ghoul2Ptr)
qboolean trap_G2API_SetBoneAngles (void *ghoul2, int modelIndex, const char *boneName, const vec3_t angles, const int flags, const int up, const int right, const int forward, qhandle_t *modelList, int blendTime, int currentTime)
void trap_G2API_GetGLAName (void *ghoul2, int modelIndex, char *fillBuf)
qboolean trap_G2API_SetBoneAnim (void *ghoul2, const int modelIndex, const char *boneName, const int startFrame, const int endFrame, const int flags, const float animSpeed, const int currentTime, const float setFrame, const int blendTime)
qboolean trap_G2API_GetBoneAnim (void *ghoul2, const char *boneName, const int currentTime, float *currentFrame, int *startFrame, int *endFrame, int *flags, float *animSpeed, int *modelList, const int modelIndex)
qboolean trap_G2API_GetBoneFrame (void *ghoul2, const char *boneName, const int currentTime, float *currentFrame, int *modelList, const int modelIndex)
qboolean trap_G2API_SetRootSurface (void *ghoul2, const int modelIndex, const char *surfaceName)
qboolean trap_G2API_SetSurfaceOnOff (void *ghoul2, const char *surfaceName, const int flags)
qboolean trap_G2API_SetNewOrigin (void *ghoul2, const int boltIndex)
int trap_G2API_GetTime (void)
void trap_G2API_SetTime (int time, int clock)
void trap_G2API_SetRagDoll (void *ghoul2, sharedRagDollParams_t *params)
void trap_G2API_AnimateG2Models (void *ghoul2, int time, sharedRagDollUpdateParams_t *params)
qboolean trap_G2API_SetBoneIKState (void *ghoul2, int time, const char *boneName, int ikState, sharedSetBoneIKStateParams_t *params)
qboolean trap_G2API_IKMove (void *ghoul2, int time, sharedIKMoveParams_t *params)
void trap_G2API_GetSurfaceName (void *ghoul2, int surfNumber, int modelIndex, char *fillBuf)


Define Documentation

#define ART_FX_BASE   "menu/art/fx_base"
 

Definition at line 79 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ART_FX_BLUE   "menu/art/fx_blue"
 

Definition at line 80 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ART_FX_CYAN   "menu/art/fx_cyan"
 

Definition at line 81 of file ui_shared.h.

Referenced by CG_AssetCache().

#define ART_FX_GREEN   "menu/art/fx_grn"
 

Definition at line 82 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ART_FX_ORANGE   "menu/art/fx_orange"
 

Definition at line 87 of file ui_shared.h.

Referenced by AssetCache().

#define ART_FX_PURPLE   "menu/art/fx_purple"
 

Definition at line 88 of file ui_shared.h.

Referenced by AssetCache().

#define ART_FX_RED   "menu/art/fx_red"
 

Definition at line 83 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ART_FX_TEAL   "menu/art/fx_teal"
 

Definition at line 84 of file ui_shared.h.

Referenced by CG_AssetCache().

#define ART_FX_WHITE   "menu/art/fx_white"
 

Definition at line 85 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ART_FX_YELLOW   "menu/art/fx_yel"
 

Definition at line 86 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_GRADIENTBAR   "ui/assets/gradientbar2.tga"
 

Definition at line 90 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SCROLL_THUMB   "gfx/menus/scrollbar_thumb.tga"
 

Definition at line 96 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SCROLLBAR   "gfx/menus/scrollbar.tga"
 

Definition at line 91 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SCROLLBAR_ARROWDOWN   "gfx/menus/scrollbar_arrow_dwn_a.tga"
 

Definition at line 92 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SCROLLBAR_ARROWLEFT   "gfx/menus/scrollbar_arrow_left.tga"
 

Definition at line 94 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SCROLLBAR_ARROWRIGHT   "gfx/menus/scrollbar_arrow_right.tga"
 

Definition at line 95 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SCROLLBAR_ARROWUP   "gfx/menus/scrollbar_arrow_up_a.tga"
 

Definition at line 93 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SLIDER_BAR   "menu/new/slider"
 

Definition at line 97 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define ASSET_SLIDER_THUMB   "menu/new/sliderthumb"
 

Definition at line 98 of file ui_shared.h.

Referenced by AssetCache(), and CG_AssetCache().

#define CURSOR_ARROW   0x00000002
 

Definition at line 54 of file ui_shared.h.

Referenced by CG_MouseEvent(), and Display_CursorType().

#define CURSOR_NONE   0x00000001
 

Definition at line 53 of file ui_shared.h.

#define CURSOR_SIZER   0x00000004
 

Definition at line 55 of file ui_shared.h.

Referenced by CG_MouseEvent(), and Display_CursorType().

#define CVAR_DISABLE   0x00000002
 

Definition at line 247 of file ui_shared.h.

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

#define CVAR_ENABLE   0x00000001
 

Definition at line 246 of file ui_shared.h.

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

#define CVAR_HIDE   0x00000008
 

Definition at line 249 of file ui_shared.h.

Referenced by Item_MouseEnter(), Item_Paint(), Item_SetFocus(), ItemParse_hideCvar(), and Menu_HandleMouseMove().

#define CVAR_SHOW   0x00000004
 

Definition at line 248 of file ui_shared.h.

Referenced by Item_MouseEnter(), Item_Paint(), Item_SetFocus(), ItemParse_showCvar(), and Menu_HandleMouseMove().

#define ITEM_ALIGN_CENTER   1
 

Definition at line 243 of file ui_shared.h.

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

#define ITEM_ALIGN_LEFT   0
 

Definition at line 242 of file ui_shared.h.

Referenced by Item_Text_AutoWrapped_Paint().

#define ITEM_ALIGN_RIGHT   2
 

Definition at line 244 of file ui_shared.h.

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

#define ITF_G2VALID   0x0001
 

Definition at line 251 of file ui_shared.h.

Referenced by ItemParse_asset_model_go().

#define ITF_ISANYSABER   (ITF_ISSABER|ITF_ISSABER2)
 

Definition at line 256 of file ui_shared.h.

Referenced by Item_Model_Paint().

#define ITF_ISCHARACTER   0x0002
 

Definition at line 252 of file ui_shared.h.

Referenced by Item_Model_Paint(), ItemParse_isCharacter(), and UI_SaberDrawBlades().

#define ITF_ISSABER   0x0004
 

Definition at line 253 of file ui_shared.h.

Referenced by ItemParse_isSaber(), UI_SaberDrawBlade(), and UI_SaberDrawBlades().

#define ITF_ISSABER2   0x0008
 

Definition at line 254 of file ui_shared.h.

Referenced by ItemParse_isSaber2(), and UI_SaberDrawBlades().

#define MAX_COLOR_RANGES   10
 

Definition at line 18 of file ui_shared.h.

Referenced by ItemParse_addColorRange().

#define MAX_EDITFIELD   256
 

Definition at line 77 of file ui_shared.h.

Referenced by Item_TextField_HandleKey(), and Item_ValidateTypeData().

#define MAX_ITEMACTION   64
 

Definition at line 13 of file ui_shared.h.

#define MAX_ITEMTEXT   64
 

Definition at line 12 of file ui_shared.h.

#define MAX_LB_COLUMNS   16
 

Definition at line 164 of file ui_shared.h.

Referenced by ItemParse_columns().

#define MAX_MENUDEFFILE   4096
 

Definition at line 14 of file ui_shared.h.

Referenced by CG_LoadMenus().

#define MAX_MENUFILE   32768
 

Definition at line 15 of file ui_shared.h.

Referenced by CG_GetMenuBuffer(), GetMenuBuffer(), and UI_SaberLoadParms().

#define MAX_MENUITEMS   256
 

Definition at line 17 of file ui_shared.h.

#define MAX_MENUNAME   32
 

Definition at line 11 of file ui_shared.h.

#define MAX_MENUS   64
 

Definition at line 16 of file ui_shared.h.

Referenced by Menu_New().

#define MAX_MULTI_CVARS   32
 

Definition at line 198 of file ui_shared.h.

Referenced by ItemParse_cvarFloatList(), and ItemParse_cvarStrList().

#define MAX_OPEN_MENUS   16
 

Definition at line 19 of file ui_shared.h.

Referenced by Menus_ActivateByName().

#define MAX_SCRIPT_ARGS   12
 

Definition at line 76 of file ui_shared.h.

#define MAX_STRING_HANDLES   4096
 

Definition at line 75 of file ui_shared.h.

#define MAX_TEXTSCROLL_LINES   256
 

Definition at line 20 of file ui_shared.h.

#define NUM_CROSSHAIRS   9
 

Definition at line 104 of file ui_shared.h.

#define SCROLLBAR_SIZE   16.0
 

Definition at line 99 of file ui_shared.h.

Referenced by Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_ListBox_Paint(), Item_ListBox_ThumbDrawPosition(), Item_ListBox_ThumbPosition(), Item_TextScroll_OverLB(), Item_TextScroll_Paint(), Item_TextScroll_ThumbDrawPosition(), and Item_TextScroll_ThumbPosition().

#define SLIDER_HEIGHT   16.0
 

Definition at line 101 of file ui_shared.h.

Referenced by Item_Slider_Paint().

#define SLIDER_THUMB_HEIGHT   20.0
 

Definition at line 103 of file ui_shared.h.

Referenced by Item_Slider_OverSlider(), and Item_Slider_Paint().

#define SLIDER_THUMB_WIDTH   12.0
 

Definition at line 102 of file ui_shared.h.

Referenced by Item_Slider_HandleKey(), Item_Slider_OverSlider(), and Item_Slider_Paint().

#define SLIDER_WIDTH   96.0
 

Definition at line 100 of file ui_shared.h.

Referenced by Item_Slider_HandleKey(), Item_Slider_Paint(), and Item_Slider_ThumbPosition().

#define STRING_POOL_SIZE   384*1024
 

Definition at line 70 of file ui_shared.h.

Referenced by String_Alloc(), and String_Report().

#define WINDOW_AUTOWRAPPED   0x00080000
 

Definition at line 41 of file ui_shared.h.

Referenced by Item_Text_Paint(), and ItemParse_autowrapped().

#define WINDOW_BACKCOLORSET   0x00400000
 

Definition at line 44 of file ui_shared.h.

Referenced by Script_SetColor().

#define WINDOW_DECORATION   0x00000010
 

Definition at line 26 of file ui_shared.h.

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

#define WINDOW_FADINGIN   0x00000040
 

Definition at line 28 of file ui_shared.h.

Referenced by Fade(), and Menu_FadeItemByName().

#define WINDOW_FADINGOUT   0x00000020
 

Definition at line 27 of file ui_shared.h.

Referenced by Fade(), IsVisible(), and Menu_FadeItemByName().

#define WINDOW_FORCED   0x00100000
 

Definition at line 42 of file ui_shared.h.

Referenced by Display_VisibleMenuCount(), Menu_HandleMouseMove(), and Menu_Paint().

#define WINDOW_FORECOLORSET   0x00000200
 

Definition at line 31 of file ui_shared.h.

Referenced by ItemParse_forecolor(), MenuParse_forecolor(), Script_SetColor(), Script_SetItemColor(), Script_SetItemColorCvar(), and Window_Paint().

#define WINDOW_HASFOCUS   0x00000002
 

Definition at line 23 of file ui_shared.h.

Referenced by Item_Bind_Paint(), Item_ListBox_HandleKey(), Item_MouseEnter(), Item_Multi_HandleKey(), Item_Multi_Paint(), Item_OwnerDraw_Paint(), Item_Paint(), Item_SetFocus(), Item_Slider_HandleKey(), Item_Slider_Paint(), Item_TextColor(), Item_TextField_Paint(), Item_TextScroll_HandleKey(), Item_YesNo_HandleKey(), Item_YesNo_Paint(), Menu_ClearFocus(), Menu_GetFocused(), Menu_GetFocusedItem(), Menu_HandleKey(), Menu_ShowGroup(), Menus_Activate(), Menus_ActivateByName(), Menus_CloseAll(), Menus_CloseByName(), Menus_HandleOOBClick(), and Script_SetFocus().

#define WINDOW_HORIZONTAL   0x00000400
 

Definition at line 32 of file ui_shared.h.

Referenced by Item_ListBox_HandleKey(), Item_ListBox_MaxScroll(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_ListBox_Paint(), Item_ListBox_ThumbDrawPosition(), Item_ListBox_ThumbPosition(), and ItemParse_horizontalscroll().

#define WINDOW_INACTIVE   0x00000008
 

Definition at line 25 of file ui_shared.h.

#define WINDOW_INTRANSITION   0x00000100
 

Definition at line 30 of file ui_shared.h.

Referenced by Item_Paint(), and Menu_TransitionItemByName().

#define WINDOW_INTRANSITIONMODEL   0x04000000
 

Definition at line 49 of file ui_shared.h.

Referenced by Item_Paint(), and Menu_Transition3ItemByName().

#define WINDOW_LB_LEFTARROW   0x00000800
 

Definition at line 33 of file ui_shared.h.

Referenced by Item_ListBox_HandleKey(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_MouseLeave(), Item_StartCapture(), Item_TextScroll_HandleKey(), Item_TextScroll_MouseEnter(), and Item_TextScroll_OverLB().

#define WINDOW_LB_PGDN   0x00008000
 

Definition at line 37 of file ui_shared.h.

Referenced by Item_ListBox_HandleKey(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_TextScroll_HandleKey(), Item_TextScroll_MouseEnter(), and Item_TextScroll_OverLB().

#define WINDOW_LB_PGUP   0x00004000
 

Definition at line 36 of file ui_shared.h.

Referenced by Item_ListBox_HandleKey(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_TextScroll_HandleKey(), Item_TextScroll_MouseEnter(), and Item_TextScroll_OverLB().

#define WINDOW_LB_RIGHTARROW   0x00001000
 

Definition at line 34 of file ui_shared.h.

Referenced by Item_ListBox_HandleKey(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_MouseLeave(), Item_StartCapture(), Item_TextScroll_HandleKey(), Item_TextScroll_MouseEnter(), and Item_TextScroll_OverLB().

#define WINDOW_LB_THUMB   0x00002000
 

Definition at line 35 of file ui_shared.h.

Referenced by Item_ListBox_HandleKey(), Item_ListBox_MouseEnter(), Item_ListBox_OverLB(), Item_Slider_OverSlider(), Item_StartCapture(), Item_TextScroll_HandleKey(), Item_TextScroll_MouseEnter(), and Item_TextScroll_OverLB().

#define WINDOW_MOUSEOVER   0x00000001
 

Definition at line 22 of file ui_shared.h.

Referenced by Item_MouseEnter(), Item_Paint(), Item_SetMouseOver(), Menu_HandleMouseMove(), and Menu_ItemDisable().

#define WINDOW_MOUSEOVERTEXT   0x00000080
 

Definition at line 29 of file ui_shared.h.

Referenced by Item_MouseEnter(), and Item_MouseLeave().

#define WINDOW_OOB_CLICK   0x00020000
 

Definition at line 39 of file ui_shared.h.

Referenced by MenuParse_outOfBounds(), and Menus_HandleOOBClick().

#define WINDOW_ORBITING   0x00010000
 

Definition at line 38 of file ui_shared.h.

Referenced by Item_Paint(), and Menu_OrbitItemByName().

#define WINDOW_PLAYERCOLOR   0x01000000
 

Definition at line 46 of file ui_shared.h.

Referenced by Item_ListBox_Paint(), ItemParse_forecolor(), MenuParse_forecolor(), and Window_Paint().

#define WINDOW_POPUP   0x00200000
 

Definition at line 43 of file ui_shared.h.

Referenced by Display_MouseMove(), Menu_HandleKey(), and MenuParse_popup().

#define WINDOW_TIMEDVISIBLE   0x00800000
 

Definition at line 45 of file ui_shared.h.

Referenced by Item_Paint().

#define WINDOW_VISIBLE   0x00000004
 

Definition at line 24 of file ui_shared.h.

Referenced by Display_VisibleMenuCount(), Fade(), IsVisible(), Item_Paint(), Item_SetFocus(), ItemParse_visible(), Menu_FadeItemByName(), Menu_GetFocused(), Menu_HandleMouseMove(), Menu_OrbitItemByName(), Menu_Paint(), Menu_ShowGroup(), Menu_ShowItemByName(), Menu_Transition3ItemByName(), Menu_TransitionItemByName(), MenuParse_visible(), Menus_Activate(), Menus_AnyFullScreenVisible(), Menus_CloseAll(), Menus_CloseByName(), and Menus_HandleOOBClick().

#define WINDOW_WRAPPED   0x00040000
 

Definition at line 40 of file ui_shared.h.

Referenced by Item_Text_Paint(), and ItemParse_wrapped().


Typedef Documentation