diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-10-02 10:58:31 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-10-02 10:58:31 +0000 |
commit | 3a1d3623c4605f155816af943baf09e0a7db4ff6 (patch) | |
tree | bded28abb25a160595c8aebae85adf502eec2291 | |
parent | adef5fe3c20266815b8da25d2f5d812ab2e0697f (diff) | |
download | rockbox-3a1d3623c4605f155816af943baf09e0a7db4ff6.tar.gz rockbox-3a1d3623c4605f155816af943baf09e0a7db4ff6.zip |
Quickscreens always use system font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2473 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/screens.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c index 53d043827a..450fdfaaa4 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -51,6 +51,8 @@ int on_screen(void) | |||
51 | bool exit = false; | 51 | bool exit = false; |
52 | bool used = false; | 52 | bool used = false; |
53 | 53 | ||
54 | lcd_setfont(FONT_SYSFIXED); | ||
55 | |||
54 | while (!exit) { | 56 | while (!exit) { |
55 | 57 | ||
56 | if ( used ) { | 58 | if ( used ) { |
@@ -148,6 +150,8 @@ int on_screen(void) | |||
148 | } | 150 | } |
149 | } | 151 | } |
150 | 152 | ||
153 | lcd_setfont(FONT_UI); | ||
154 | |||
151 | if ( used ) | 155 | if ( used ) |
152 | return 1; | 156 | return 1; |
153 | else | 157 | else |
@@ -164,6 +168,7 @@ bool f2_screen(void) | |||
164 | /* Get the font height */ | 168 | /* Get the font height */ |
165 | lcd_getstringsize("A",&w,&h); | 169 | lcd_getstringsize("A",&w,&h); |
166 | 170 | ||
171 | lcd_setfont(FONT_SYSFIXED); | ||
167 | lcd_stop_scroll(); | 172 | lcd_stop_scroll(); |
168 | 173 | ||
169 | while (!exit) { | 174 | while (!exit) { |
@@ -241,6 +246,7 @@ bool f2_screen(void) | |||
241 | } | 246 | } |
242 | 247 | ||
243 | settings_save(); | 248 | settings_save(); |
249 | lcd_setfont(FONT_UI); | ||
244 | 250 | ||
245 | return false; | 251 | return false; |
246 | } | 252 | } |
@@ -251,6 +257,7 @@ bool f3_screen(void) | |||
251 | bool used = false; | 257 | bool used = false; |
252 | 258 | ||
253 | lcd_stop_scroll(); | 259 | lcd_stop_scroll(); |
260 | lcd_setfont(FONT_SYSFIXED); | ||
254 | 261 | ||
255 | while (!exit) { | 262 | while (!exit) { |
256 | int w,h; | 263 | int w,h; |
@@ -309,6 +316,7 @@ bool f3_screen(void) | |||
309 | lcd_setmargins(0, STATUSBAR_HEIGHT); | 316 | lcd_setmargins(0, STATUSBAR_HEIGHT); |
310 | else | 317 | else |
311 | lcd_setmargins(0, 0); | 318 | lcd_setmargins(0, 0); |
319 | lcd_setfont(FONT_UI); | ||
312 | 320 | ||
313 | return false; | 321 | return false; |
314 | } | 322 | } |