diff options
Diffstat (limited to 'src/ui/ui_shared.h')
-rw-r--r-- | src/ui/ui_shared.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/ui_shared.h b/src/ui/ui_shared.h index 3a8ee74f..3c1472b9 100644 --- a/src/ui/ui_shared.h +++ b/src/ui/ui_shared.h @@ -280,7 +280,7 @@ typedef struct itemDef_s sfxHandle_t focusSound; int numColors; // number of color ranges colorRangeDef_t colorRanges[MAX_COLOR_RANGES]; - float special; // used for feeder id's etc.. diff per type + int feederID; // where to get data for this item int cursorPos; // cursor position in characters union { @@ -382,7 +382,7 @@ typedef struct void ( *ownerDrawItem ) ( float x, float y, float w, float h, float text_x, float text_y, int ownerDraw, int ownerDrawFlags, int align, int textalign, int textvalign, - float special, float scale, vec4_t foreColor, + float borderSize, float scale, vec4_t foreColor, vec4_t backColor, qhandle_t shader, int textStyle ); float ( *getValue ) ( int ownerDraw ); qboolean ( *ownerDrawVisible ) ( int flags ); @@ -394,7 +394,7 @@ typedef struct void ( *setOverstrikeMode )( qboolean b ); qboolean ( *getOverstrikeMode )( void ); void ( *startLocalSound )( sfxHandle_t sfx, int channelNum ); - qboolean ( *ownerDrawHandleKey )( int ownerDraw, int flags, float *special, int key ); + qboolean ( *ownerDrawHandleKey )( int ownerDraw, int key ); int ( *feederCount )( float feederID ); const char *( *feederItemText )( float feederID, int index, int column, qhandle_t *handle ); qhandle_t ( *feederItemImage )( float feederID, int index ); |