summaryrefslogtreecommitdiff
path: root/src/gui/focushandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-15 23:21:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-15 23:52:24 +0300
commit54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3 (patch)
tree4bcee0ad9757bc328bae9c0435a3a1e8d85f1676 /src/gui/focushandler.h
parent62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4 (diff)
downloadmanaverse-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.gz
manaverse-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.bz2
manaverse-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.xz
manaverse-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.zip
Allow hide popup list if focus lost.
Diffstat (limited to 'src/gui/focushandler.h')
-rw-r--r--src/gui/focushandler.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/focushandler.h b/src/gui/focushandler.h
index e881c9aea..12a639c0e 100644
--- a/src/gui/focushandler.h
+++ b/src/gui/focushandler.h
@@ -60,15 +60,17 @@ class FocusHandler final : public gcn::FocusHandler
* Removes a widget from the focus handler. Also makes sure no dangling
* pointers remain in modal focus stack.
*/
- void remove(gcn::Widget *widget);
+ void remove(gcn::Widget *widget) override;
/**
* Overloaded to allow windows to move to the top when one of their
* widgets is tabbed to when tabbing through focusable elements.
*/
- void tabNext();
+ void tabNext() override;
- void tabPrevious();
+ void tabPrevious() override;
+
+ void distributeFocusGainedEvent(const gcn::Event &focusEvent) override;
private:
/**