Make screen code resolution agnostic. Look better on big TFT/eink screens

This commit is contained in:
Kevin Hester
2020-10-15 15:12:27 +08:00
parent 7ef2cc8623
commit 4db0c4a563
4 changed files with 28 additions and 17 deletions

View File

@@ -5,8 +5,6 @@
#define FONT_HEIGHT 14 // actually 13 for "Arial 10" but want a little extra space
#define FONT_HEIGHT_16 (ArialMT_Plain_16[1] + 1)
// This means the *visible* area (sh1106 can address 132, but shows 128 for example)
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define TRANSITION_FRAMERATE 30 // fps
#define IDLE_FRAMERATE 1 // in fps
#define COMPASS_DIAM 44