HomeSort by relevance Sort by last modified time
    Searched refs:current_alpha (Results 1 - 3 of 3) sorted by null

  /prebuilts/misc/windows/sdl2/test/
testdraw2.c 28 static int current_alpha = 255; variable
56 current_alpha += cycle_direction;
57 if (current_alpha < 0) {
58 current_alpha = 0;
61 if (current_alpha > 255) {
62 current_alpha = 255;
67 (Uint8) current_color, (Uint8) current_alpha);
99 current_alpha += cycle_direction;
100 if (current_alpha < 0) {
101 current_alpha = 0
    [all...]
testintersections.c 29 static int current_alpha = 255; variable
57 current_alpha += cycle_direction;
58 if (current_alpha < 0) {
59 current_alpha = 0;
62 if (current_alpha > 255) {
63 current_alpha = 255;
68 (Uint8) current_color, (Uint8) current_alpha);
testsprite2.c 30 static int current_alpha = 0; variable
129 current_alpha += cycle_direction;
130 if (current_alpha < 0) {
131 current_alpha = 0;
134 if (current_alpha > 255) {
135 current_alpha = 255;
138 SDL_SetTextureAlphaMod(sprite, (Uint8) current_alpha);

Completed in 102 milliseconds