Home
last modified time | relevance | path

Searched refs:gr_current_a (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp41 static unsigned char gr_current_a = 255; variable
75 if (gr_current_a < 255) a = ((int)a * gr_current_a) / 255; in text_blend()
100 if (!font->texture || gr_current_a == 0) return; in gr_text()
154 gr_current_a = a; in gr_color()
159 gr_current_a = a; in gr_color()
192 if (gr_current_a == 255) { in gr_fill()
204 } else if (gr_current_a > 0) { in gr_fill()
209 *px = (*px * (255-gr_current_a) + gr_current_r * gr_current_a) / 255; in gr_fill()
211 *px = (*px * (255-gr_current_a) + gr_current_g * gr_current_a) / 255; in gr_fill()
213 *px = (*px * (255-gr_current_a) + gr_current_b * gr_current_a) / 255; in gr_fill()