Lines Matching refs:color

36 void CG_DrawRect( float x, float y, float width, float height, float size, const float *color ) {  in CG_DrawRect()  argument
37 trap->R_SetColor( color ); in CG_DrawRect()
115 void CG_FillRect2( float x, float y, float width, float height, const float *color ) { in CG_FillRect2() argument
116 trap->R_SetColor( color ); in CG_FillRect2()
128 void CG_FillRect( float x, float y, float width, float height, const float *color ) { in CG_FillRect() argument
129 trap->R_SetColor( color ); in CG_FillRect()
227 vec4_t color; in CG_DrawStringExt() local
228 memcpy(color,setColor, sizeof(color)); // de-const it in CG_DrawStringExt()
230 color, // vec4_t color, in CG_DrawStringExt()
240 vec4_t color; in CG_DrawStringExt() local
246 color[0] = color[1] = color[2] = 0; in CG_DrawStringExt()
247 color[3] = setColor[3]; in CG_DrawStringExt()
248 trap->R_SetColor( color ); in CG_DrawStringExt()
269 memcpy( color, g_color_table[ColorIndex(*(s+1))], sizeof( color ) ); in CG_DrawStringExt()
270 color[3] = setColor[3]; in CG_DrawStringExt()
271 trap->R_SetColor( color ); in CG_DrawStringExt()
285 float color[4]; in CG_DrawBigString() local
287 color[0] = color[1] = color[2] = 1.0; in CG_DrawBigString()
288 color[3] = alpha; in CG_DrawBigString()
289 CG_DrawStringExt( x, y, s, color, qfalse, qtrue, BIGCHAR_WIDTH, BIGCHAR_HEIGHT, 0 ); in CG_DrawBigString()
292 void CG_DrawBigStringColor( int x, int y, const char *s, vec4_t color ) { in CG_DrawBigStringColor() argument
293 CG_DrawStringExt( x, y, s, color, qtrue, qtrue, BIGCHAR_WIDTH, BIGCHAR_HEIGHT, 0 ); in CG_DrawBigStringColor()
297 float color[4]; in CG_DrawSmallString() local
299 color[0] = color[1] = color[2] = 1.0; in CG_DrawSmallString()
300 color[3] = alpha; in CG_DrawSmallString()
301 CG_DrawStringExt( x, y, s, color, qfalse, qfalse, SMALLCHAR_WIDTH, SMALLCHAR_HEIGHT, 0 ); in CG_DrawSmallString()
304 void CG_DrawSmallStringColor( int x, int y, const char *s, vec4_t color ) { in CG_DrawSmallStringColor() argument
305 CG_DrawStringExt( x, y, s, color, qtrue, qfalse, SMALLCHAR_WIDTH, SMALLCHAR_HEIGHT, 0 ); in CG_DrawSmallStringColor()
396 static vec4_t color; in CG_FadeColor() local
416 color[3] = ( totalMsec - t ) * 1.0/FADE_TIME; in CG_FadeColor()
418 color[3] = 1.0; in CG_FadeColor()
420 color[0] = color[1] = color[2] = 1; in CG_FadeColor()
422 return color; in CG_FadeColor()
616 void CG_DrawProportionalString( int x, int y, const char* str, int style, vec4_t color ) in CG_DrawProportionalString() argument
656 CG_Text_Paint(x, y, 1.0, color, str, 0, 0, iStyle, iMenuFont); in CG_DrawProportionalString()
659 void CG_DrawScaledProportionalString( int x, int y, const char* str, int style, vec4_t color, float… in CG_DrawScaledProportionalString() argument
698 CG_Text_Paint(x, y, scale, color, str, 0, 0, iStyle, FONT_MEDIUM); in CG_DrawScaledProportionalString()