From 82ea7c3bacd0b5308e7f0b1d8f35a4e3e13e54f7 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 19 Jul 2005 09:24:29 +0000 Subject: Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations for colour LCD support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/bounce.c | 4 ++-- apps/plugins/cube.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c index 8ac4202..c3bea8e 100644 --- a/apps/plugins/bounce.c +++ b/apps/plugins/bounce.c @@ -284,7 +284,7 @@ static void addclock(void) #if LCD_DEPTH > 1 static const int face_colors[] = { - 0, 2*MAX_LEVEL/3, MAX_LEVEL/3 + 0, 2*LCD_MAX_LEVEL/3, LCD_MAX_LEVEL/3 }; #endif @@ -451,7 +451,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) len = 1; rb->lcd_getstringsize(off, &w, &h); - + /* Get horizontel centering for text */ len *= w; if (len%2 != 0) diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index 10694b3..afb2b88 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c @@ -154,7 +154,7 @@ static const struct face faces[6] = #if LCD_DEPTH > 1 static const int face_colors[6] = { - 2*MAX_LEVEL/3, 2*MAX_LEVEL/3, MAX_LEVEL/3, MAX_LEVEL/3, 0, 0 + 2*LCD_MAX_LEVEL/3, 2*LCD_MAX_LEVEL/3, LCD_MAX_LEVEL/3, LCD_MAX_LEVEL/3, 0, 0 }; #endif -- cgit v1.1