comparison TOOLS/bmovl-test/bmovl-test.c @ 13474:0e1b59efcef3

Wrong comment, the bitmap is blue, not green.
author diego
date Sun, 26 Sep 2004 12:57:53 +0000
parents ac161720f4f0
children
comparison
equal deleted inserted replaced
13473:daeea32a0956 13474:0e1b59efcef3
94 94
95 // Paint bitmap green, 50% transparent and blit at position -50,50 95 // Paint bitmap green, 50% transparent and blit at position -50,50
96 paint(bitmap, (75*75*4), 0, 255, 0, 128); 96 paint(bitmap, (75*75*4), 0, 255, 0, 128);
97 blit(fifo, bitmap, 75, 75, width-50-75, 50, 0, 0); 97 blit(fifo, bitmap, 75, 75, width-50-75, 50, 0, 0);
98 98
99 // Paint bitmap green, 50% transparent and blit at position -50,50 99 // Paint bitmap blue, 50% transparent and blit at position -50,50
100 paint(bitmap, (75*75*4), 0, 0, 255, 128); 100 paint(bitmap, (75*75*4), 0, 0, 255, 128);
101 blit(fifo, bitmap, 75, 75, 50, height-50-75, 0, 0); 101 blit(fifo, bitmap, 75, 75, 50, height-50-75, 0, 0);
102 102
103 // Blit another image in the middle, completly transparent 103 // Blit another image in the middle, completly transparent
104 blit(fifo, image->pixels, image->w, image->h, 104 blit(fifo, image->pixels, image->w, image->h,