diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/lcd.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 2c66b5f8b3..463714ff03 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -26,9 +26,13 @@ | |||
26 | #include "cpu.h" | 26 | #include "cpu.h" |
27 | #include "config.h" | 27 | #include "config.h" |
28 | 28 | ||
29 | #define VP_FLAG_IS_RTL 0x01 | 29 | #define VP_FLAG_IS_RTL 0x01 |
30 | #define VP_FLAG_CENTER_ALIGN 0x02 | ||
30 | 31 | ||
31 | #define VP_IS_RTL(vp) (((vp)->flags & VP_FLAG_IS_RTL) != 0) | 32 | #define VP_FLAG_ALIGNMENT_MASK \ |
33 | (VP_FLAG_IS_RTL|VP_FLAG_CENTER_ALIGN) | ||
34 | |||
35 | #define VP_IS_RTL(vp) (((vp)->flags & VP_FLAG_ALIGNMENT_MASK) == VP_FLAG_IS_RTL) | ||
32 | 36 | ||
33 | struct viewport { | 37 | struct viewport { |
34 | int x; | 38 | int x; |