Added return value to displayNextView(); and displayPreviousView(); telling if the action was a success or not
This commit is contained in:
parent
2943ed5da6
commit
11f3f85dde
@ -26,8 +26,8 @@ class ScreenManager
|
|||||||
boolean addView(boolean (*viewLogicFunction)(Adafruit_SSD1306&, void*), void *pData, const unsigned char UID);
|
boolean addView(boolean (*viewLogicFunction)(Adafruit_SSD1306&, void*), void *pData, const unsigned char UID);
|
||||||
boolean removeView(const unsigned char UID);
|
boolean removeView(const unsigned char UID);
|
||||||
boolean displayView(const uint8_t UID);
|
boolean displayView(const uint8_t UID);
|
||||||
void displayNextView();
|
boolean displayNextView();
|
||||||
void displayPreviousView();
|
boolean displayPreviousView();
|
||||||
void forceRefresh();
|
void forceRefresh();
|
||||||
boolean applyCfgFromSD();
|
boolean applyCfgFromSD();
|
||||||
void invertDisplayColor(const boolean inverted);
|
void invertDisplayColor(const boolean inverted);
|
||||||
|
Loading…
Reference in New Issue
Block a user