diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-06-28 23:15:47 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-06-28 23:15:47 +0000 |
commit | 7e11acbce9b9a63c28ded055d02301175391e027 (patch) | |
tree | ea8d30e7281e8d720d6dc8ea51804e1749282697 /apps/plugins/splitedit.c | |
parent | c2bf5dfe12978b44d5d890a37f256c8d9f510660 (diff) | |
download | rockbox-7e11acbce9b9a63c28ded055d02301175391e027.tar.gz rockbox-7e11acbce9b9a63c28ded055d02301175391e027.zip |
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r-- | apps/plugins/splitedit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index 20a9922a29..e6d8551d63 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c | |||
@@ -262,18 +262,18 @@ static void update_icons(void) | |||
262 | /* The CUT icon */ | 262 | /* The CUT icon */ |
263 | rb->lcd_bitmap(CUT_BMP, | 263 | rb->lcd_bitmap(CUT_BMP, |
264 | LCD_WIDTH / 3 / 2 - BMPWIDTH / 2, LCD_HEIGHT - BMPHEIGHT, | 264 | LCD_WIDTH / 3 / 2 - BMPWIDTH / 2, LCD_HEIGHT - BMPHEIGHT, |
265 | BMPWIDTH, BMPHEIGHT, true); | 265 | BMPWIDTH, BMPHEIGHT); |
266 | 266 | ||
267 | /* The loop mode icon */ | 267 | /* The loop mode icon */ |
268 | rb->lcd_bitmap(LOOP_BMP[splitedit_get_loop_mode()], | 268 | rb->lcd_bitmap(LOOP_BMP[splitedit_get_loop_mode()], |
269 | LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, | 269 | LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, |
270 | BMPWIDTH, BMPHEIGHT, true); | 270 | BMPWIDTH, BMPHEIGHT); |
271 | 271 | ||
272 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) | 272 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) |
273 | /* The scale icon */ | 273 | /* The scale icon */ |
274 | rb->lcd_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()], | 274 | rb->lcd_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()], |
275 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, | 275 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, |
276 | BMPWIDTH, BMPHEIGHT, true); | 276 | BMPWIDTH, BMPHEIGHT); |
277 | #else | 277 | #else |
278 | { | 278 | { |
279 | static int idx; | 279 | static int idx; |
@@ -281,7 +281,7 @@ static void update_icons(void) | |||
281 | idx = 1 - idx; | 281 | idx = 1 - idx; |
282 | rb->lcd_bitmap(SCALE_BMP[idx], | 282 | rb->lcd_bitmap(SCALE_BMP[idx], |
283 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, | 283 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, |
284 | BMPWIDTH, BMPHEIGHT, true); | 284 | BMPWIDTH, BMPHEIGHT); |
285 | } | 285 | } |
286 | #endif | 286 | #endif |
287 | 287 | ||