summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
commitd5b076b64a8a3abd55fca0e9db7b13c6024bdfa3 (patch)
tree59ceb57c1f2633b8fd8f6458463499bc776a7930 /firmware/export/lcd.h
parent891c446302d341d2e8f6f2da54343589bf46d0e4 (diff)
RTL: Cosmetic changes, no functional change - Rename constants
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 463714ff03..bf1680fad2 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -26,13 +26,13 @@
#include "cpu.h"
#include "config.h"
-#define VP_FLAG_IS_RTL 0x01
-#define VP_FLAG_CENTER_ALIGN 0x02
+#define VP_FLAG_ALIGN_RIGHT 0x01
+#define VP_FLAG_ALIGN_CENTER 0x02
#define VP_FLAG_ALIGNMENT_MASK \
- (VP_FLAG_IS_RTL|VP_FLAG_CENTER_ALIGN)
+ (VP_FLAG_ALIGN_RIGHT|VP_FLAG_ALIGN_CENTER)
-#define VP_IS_RTL(vp) (((vp)->flags & VP_FLAG_ALIGNMENT_MASK) == VP_FLAG_IS_RTL)
+#define VP_IS_RTL(vp) (((vp)->flags & VP_FLAG_ALIGNMENT_MASK) == VP_FLAG_ALIGN_RIGHT)
struct viewport {
int x;