diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 268f05fc1..7b2da4bff 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -696,3 +696,13 @@ void Gui::handleMouseInput() } BLOCK_END("Gui::handleMouseInput") } + +void Gui::addGlobalFocusListener(gcn::FocusListener* focusListener) +{ + mFocusListeners.push_back(focusListener); +} + +void Gui::removeGlobalFocusListener(gcn::FocusListener* focusListener) +{ + mFocusListeners.remove(focusListener); +} |