mirror of
https://github.com/geekammo/MicroView-Arduino-Library.git
synced 2026-03-04 17:24:08 +01:00
Code refactoring for widget pointers
Added private methods to replace duplicated code
This commit is contained in:
@@ -266,6 +266,7 @@ public:
|
||||
void draw();
|
||||
void drawFace();
|
||||
private:
|
||||
void drawPointer();
|
||||
uint8_t totalTicks, style;
|
||||
bool noValDraw;
|
||||
int16_t prevValue;
|
||||
@@ -278,6 +279,7 @@ public:
|
||||
void draw();
|
||||
void drawFace();
|
||||
private:
|
||||
void drawPointer();
|
||||
uint8_t radius, style;
|
||||
bool noValDraw;
|
||||
int16_t prevValue;
|
||||
|
||||
Reference in New Issue
Block a user