From e63e84a5dfb18e9b7eca8dabcd2d58ceac342529 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 4 Jun 2010 13:22:50 +0000 Subject: Convert some more stuff to mylcd_ and support pgfx as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26543 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_core_jpeg.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'apps/plugins/test_core_jpeg.c') diff --git a/apps/plugins/test_core_jpeg.c b/apps/plugins/test_core_jpeg.c index 5df69b5792..58b667e28e 100644 --- a/apps/plugins/test_core_jpeg.c +++ b/apps/plugins/test_core_jpeg.c @@ -21,20 +21,15 @@ #include "plugin.h" #include "lib/grey.h" +#include "lib/mylcd.h" PLUGIN_HEADER /* different graphics libraries */ #if LCD_DEPTH < 8 #define USEGSLIB GREY_INFO_STRUCT -#define MYLCD(fn) grey_ub_ ## fn -#define MYLCD_UPDATE() -#define MYXLCD(fn) grey_ub_ ## fn #define CFORMAT &format_grey #else -#define MYLCD(fn) rb->lcd_ ## fn -#define MYLCD_UPDATE() rb->lcd_update(); -#define MYXLCD(fn) xlcd_ ## fn #define CFORMAT NULL #endif @@ -80,7 +75,7 @@ enum plugin_status plugin_start(const void* parameter) rb->lcd_bitmap((fb_data *)bm.data, (LCD_WIDTH - bm.width) >> 1, (LCD_HEIGHT - bm.height) >> 1, bm.width, bm.height); #endif - MYLCD_UPDATE(); + mylcd_ub_update(); while (rb->get_action(CONTEXT_STD,1) != ACTION_STD_OK) rb->yield(); #ifdef USEGSLIB grey_release(); -- cgit v1.2.3