All pastes #630222 Raw Edit

Etwas

public text v1 · immutable
·published 2007-07-23 00:16 UTC
rendered paste body
void drawhighligt() {

    static char *highlight =  {"you got a pm"};
    
     float *textcolor = eth_CG_FadeColor(eth.startFadeTime, 1000);
    	
    
    if (!textcolor) 
	    return;

    vec4_t text_c = { 1.0f, 0.0f, 0.0f, 1.0f};
    vec4_t text_d = { 0.4f, 0.0f, 0.0f, 1.0f};

    text_c[3] = textcolor[3];
    text_d[3] = textcolor[3];
	

    int r_x =  2.0f;
    int r_y =  2.0f;
    
      
     drawText(640 / 2 + 2 + r_x, 200 + 2 + r_y, 3.0,highlight, text_d, qtrue, qfalse, &eth.fontFixed);
     drawText(640 / 2 + r_x, 200 + r_y, 3.0, highlight, text_c, qtrue, qtrue, &eth.fontFixed);
       syscall_CG_R_SetColor(NULL);
}