focus locking stack
This commit is contained in:
parent
1bbce78a2e
commit
b5e490a0f8
7 changed files with 34 additions and 15 deletions
|
|
@ -35,13 +35,16 @@ namespace tp {
|
|||
|
||||
Widget* getFocusWidget() { return mInFocusWidget; }
|
||||
|
||||
bool canRemoveWidget(Widget* widget) const;
|
||||
void removeWidget(Widget* widget);
|
||||
|
||||
private:
|
||||
static void procWidget(Widget* widget, EventHandler& events, bool withEvents = false);
|
||||
|
||||
private:
|
||||
std::map<Widget*, bool> mTriggeredWidgets;
|
||||
Widget* mInFocusWidget = nullptr;
|
||||
Widget* mFocusLockWidget = nullptr;
|
||||
List<Widget*> mFocusLockStack;
|
||||
|
||||
private:
|
||||
int mDebugWidgetsToProcess = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue