summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.h')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.h b/apps/plugins/mpegplayer/mpegplayer.h
index f6617ce..79c25f6 100644
--- a/apps/plugins/mpegplayer/mpegplayer.h
+++ b/apps/plugins/mpegplayer/mpegplayer.h
@@ -67,24 +67,14 @@
#define DISK_GUARDBUF_SIZE ALIGN_UP(65535+6, 4)
#ifdef HAVE_LCD_COLOR
-#define DRAW_BLACK LCD_BLACK
-#define DRAW_DARKGRAY LCD_DARKGRAY
-#define DRAW_LIGHTGRAY LCD_LIGHTGRAY
-#define DRAW_WHITE LCD_WHITE
-#define lcd_(fn) rb->lcd_##fn
-#define lcd_splash splash
-
+#define mylcd_splash rb->splash
#else
-
#include "lib/grey.h"
-#define DRAW_BLACK GREY_BLACK
-#define DRAW_DARKGRAY GREY_DARKGRAY
-#define DRAW_LIGHTGRAY GREY_LIGHTGRAY
-#define DRAW_WHITE GREY_WHITE
-#define lcd_(fn) grey_##fn
-
+#define mylcd_splash grey_splash
#endif
+#include "lib/mylcd.h"
+
#include "mpeg2.h"
#include "video_out.h"
#include "mpeg_stream.h"