ERIS CORE

◆ requestPopUp()

void AppBaseClass::requestPopUp ( bool  exclusive = false)
protectedinherited

request popup from the AppManager
will be activated by the next render loop
applications in popup mode are guaranteed to be rendered last; preventing any overdraw
exclusive mode option blocks the render calls of all other apps by the AppManager usefull
for taking over full screen rendering while allowing the apps update loops to continue.

Parameters
exclusive

Definition at line 88 of file AppBaseClass.cpp.

88  {
89  has_pop = true;
90  AppManager::getInstance()->requestPopUp(this->id,exclusive);
91  _updatePosition();
92  return;
93 }
void _updatePosition()
bool requestPopUp(uint16_t id, bool exclusive=false)
provides an interface for apps to request pop up focus with or without exclusive screen access
Definition: AppManager.cpp:394
static AppManager * getInstance()
Definition: AppManager.h:66

References AppBaseClass::_updatePosition(), AppManager::getInstance(), AppBaseClass::has_pop, and AppManager::requestPopUp().

Referenced by AppCQT::onTouch(), AppScope::onTouch(), and AppWren::requestPopUp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: