diff options
Diffstat (limited to 'src/ui/ui_main.c')
-rw-r--r-- | src/ui/ui_main.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 00cc23f2..441ce79a 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -1889,9 +1889,10 @@ static void UI_DrawGLInfo( rectDef_t *rect, float scale, int textalign, int text static void UI_OwnerDraw( 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, + int textalign, int textvalign, float borderSize, float scale, vec4_t foreColor, vec4_t backColor, - qhandle_t shader, int textStyle ) + qhandle_t shader, + int textStyle ) { rectDef_t rect; @@ -2065,7 +2066,7 @@ static qboolean UI_OwnerDrawVisible( int flags ) return vis; } -static qboolean UI_NetSource_HandleKey( int flags, float *special, int key ) +static qboolean UI_NetSource_HandleKey( int key ) { if( key == K_MOUSE1 || key == K_MOUSE2 || key == K_ENTER || key == K_KP_ENTER ) { @@ -2101,12 +2102,12 @@ static qboolean UI_NetSource_HandleKey( int flags, float *special, int key ) return qfalse; } -static qboolean UI_OwnerDrawHandleKey( int ownerDraw, int flags, float *special, int key ) +static qboolean UI_OwnerDrawHandleKey( int ownerDraw, int key ) { switch( ownerDraw ) { case UI_NETSOURCE: - UI_NetSource_HandleKey( flags, special, key ); + UI_NetSource_HandleKey( key ); break; default: |