summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mosaique.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-02-07 02:40:22 +0000
committerJens Arnold <amiconn@rockbox.org>2005-02-07 02:40:22 +0000
commit225543eb7e9b0a3806dc622433adcfdeff942ad4 (patch)
tree36069fe7e58e270a4397656892a0bcb09716ee68 /apps/plugins/mosaique.c
parent910d9652f9ddf4722cee26651e9d559de81bc7f1 (diff)
downloadrockbox-225543eb7e9b0a3806dc622433adcfdeff942ad4.tar.gz
rockbox-225543eb7e9b0a3806dc622433adcfdeff942ad4.tar.bz2
rockbox-225543eb7e9b0a3806dc622433adcfdeff942ad4.zip
Variable screen resolution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mosaique.c')
-rw-r--r--apps/plugins/mosaique.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mosaique.c b/apps/plugins/mosaique.c
index 619464d432..a1649dc7a0 100644
--- a/apps/plugins/mosaique.c
+++ b/apps/plugins/mosaique.c
@@ -20,8 +20,8 @@
#ifdef HAVE_LCD_BITMAP
-#define LARGE 55
-#define HAUT 31
+#define LARGE ((LCD_WIDTH - 2) / 2)
+#define HAUT ((LCD_HEIGHT - 2) / 2)
/* variable button definitions */
#if CONFIG_KEYPAD == RECORDER_PAD