Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp54 static unsigned char gr_current_a = 255; variable
83 if (gr_current_a < 255) a = ((int)a * gr_current_a) / 255; in text_blend()
110 if (!font->texture || gr_current_a == 0) return; in gr_text()
164 gr_current_a = a; in gr_color()
169 gr_current_a = a; in gr_color()
202 if (gr_current_a == 255) { in gr_fill()
214 } else if (gr_current_a > 0) { in gr_fill()
219 *px = (*px * (255-gr_current_a) + gr_current_r * gr_current_a) / 255; in gr_fill()
221 *px = (*px * (255-gr_current_a) + gr_current_g * gr_current_a) / 255; in gr_fill()
223 *px = (*px * (255-gr_current_a) + gr_current_b * gr_current_a) / 255; in gr_fill()