ERIS CORE

◆ getFocus()

void AppBaseClass::getFocus ( )
inherited

Get focus from the AppManager.

Definition at line 73 of file AppBaseClass.cpp.

73  {
74  has_focus = true;
75  AppManager::getInstance()->getFocus(this->id);
76  _updatePosition();
77  return;
78 }
void _updatePosition()
static AppManager * getInstance()
Definition: AppManager.h:66
bool getFocus(uint16_t id)
provides an interface for apps to request focus
Definition: AppManager.cpp:421

References AppBaseClass::_updatePosition(), AppManager::getFocus(), AppManager::getInstance(), and AppBaseClass::has_focus.

Referenced by AppWren::getFocus(), and setup().

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