Commits:
1 changed file:
Changes:
src/ftview.c
... |
... |
@@ -91,6 +91,7 @@ |
91
|
91
|
const char* dims;
|
92
|
92
|
const char* device;
|
93
|
93
|
int render_mode;
|
|
94
|
+ grColor green;
|
94
|
95
|
|
95
|
96
|
int res;
|
96
|
97
|
int ptsize; /* current point size, 26.6 format */
|
... |
... |
@@ -111,7 +112,7 @@ |
111
|
112
|
unsigned char filter_weights[5];
|
112
|
113
|
int fw_idx;
|
113
|
114
|
|
114
|
|
- } status = { "", DIM, NULL, RENDER_MODE_ALL,
|
|
115
|
+ } status = { "", DIM, NULL, RENDER_MODE_ALL, { 0 },
|
115
|
116
|
72, 48, 1, 0.04, 0.04, 0.02, 0.22,
|
116
|
117
|
0, 0, 0, 0, 0, 0,
|
117
|
118
|
FT_LCD_FILTER_DEFAULT, { 0x08, 0x4D, 0x56, 0x4D, 0x08 }, 2 };
|
... |
... |
@@ -243,7 +244,7 @@ |
243
|
244
|
if ( slot->advance.x == 0 )
|
244
|
245
|
{
|
245
|
246
|
grFillRect( display->bitmap, x, y - width, width, width,
|
246
|
|
- display->warn_color );
|
|
247
|
+ status.green );
|
247
|
248
|
x += width;
|
248
|
249
|
}
|
249
|
250
|
|
... |
... |
@@ -386,7 +387,7 @@ |
386
|
387
|
if ( slot->advance.x == 0 )
|
387
|
388
|
{
|
388
|
389
|
grFillRect( display->bitmap, x, y - width, width, width,
|
389
|
|
- display->warn_color );
|
|
390
|
+ status.green );
|
390
|
391
|
x += width;
|
391
|
392
|
}
|
392
|
393
|
|
... |
... |
@@ -574,7 +575,7 @@ |
574
|
575
|
if ( slot->advance.x == 0 )
|
575
|
576
|
{
|
576
|
577
|
grFillRect( display->bitmap, x, y - width, width, width,
|
577
|
|
- display->warn_color );
|
|
578
|
+ status.green );
|
578
|
579
|
x += width;
|
579
|
580
|
}
|
580
|
581
|
|
... |
... |
@@ -1829,6 +1830,8 @@ |
1829
|
1830
|
|
1830
|
1831
|
FTDemo_Icon( handle, display );
|
1831
|
1832
|
|
|
1833
|
+ status.green = grFindColor( display->bitmap, 128, 255, 128, 255 );
|
|
1834
|
+
|
1832
|
1835
|
event_font_change( 0 );
|
1833
|
1836
|
|
1834
|
1837
|
do
|
|