Added the forceRefresh method
This commit is contained in:
parent
fe8b51d3a8
commit
741eee8f5d
@ -251,6 +251,13 @@ void ScreenManager::run()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ScreenManager::forceRefresh()
|
||||||
|
{
|
||||||
|
if(!_enabled) return;
|
||||||
|
_forceRefresh = true;
|
||||||
|
run();
|
||||||
|
}
|
||||||
|
|
||||||
boolean ScreenManager::displayView(const uint8_t UID)
|
boolean ScreenManager::displayView(const uint8_t UID)
|
||||||
{
|
{
|
||||||
if(!_enabled) return true;
|
if(!_enabled) return true;
|
||||||
|
@ -19,6 +19,7 @@ class ScreenManager
|
|||||||
boolean displayView(const uint8_t UID);
|
boolean displayView(const uint8_t UID);
|
||||||
void displayNextView();
|
void displayNextView();
|
||||||
void displayPreviousView();
|
void displayPreviousView();
|
||||||
|
void forceRefresh();
|
||||||
boolean applyCfgFromSD();
|
boolean applyCfgFromSD();
|
||||||
void invertDisplayColor(const boolean inverted);
|
void invertDisplayColor(const boolean inverted);
|
||||||
void orientDisplay(const Orientation orientation);
|
void orientDisplay(const Orientation orientation);
|
||||||
|
Loading…
Reference in New Issue
Block a user