mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
ui : manage colors and ensure fw using ssd1306 still compile
This commit is contained in:
parent
7534c5143f
commit
cf3d55201f
12 changed files with 77 additions and 34 deletions
|
|
@ -7,7 +7,7 @@ class DisplayDriver {
|
|||
protected:
|
||||
DisplayDriver(int w, int h) { _w = w; _h = h; }
|
||||
public:
|
||||
enum Color { DARK, LIGHT };
|
||||
enum Color { DARK=0, LIGHT, RED, GREEN, BLUE, YELLOW, ORANGE }; // on b/w screen, colors will be !=0 synonym of light
|
||||
|
||||
int width() const { return _w; }
|
||||
int height() const { return _h; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue