summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-12-04 09:09:01 -0700
committerJared Adams <jaxad0127@gmail.com>2009-12-04 09:09:01 -0700
commit257fa6b93daa151dcaacf1f45f0111d6c4187d37 (patch)
treedd8f43c2c93f8d15e84e01a0eff090f7ae269a9b /src/gui/widgets/window.h
parentd88c6a103aed290039a608e1f2d7e04b5a5a503f (diff)
downloadMana-257fa6b93daa151dcaacf1f45f0111d6c4187d37.tar.gz
Mana-257fa6b93daa151dcaacf1f45f0111d6c4187d37.tar.bz2
Mana-257fa6b93daa151dcaacf1f45f0111d6c4187d37.tar.xz
Mana-257fa6b93daa151dcaacf1f45f0111d6c4187d37.zip
Reset the cursor when a window is hidden
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index b3ef3fdc..199c295c 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -103,6 +103,11 @@ class Window : public gcn::Window, gcn::WidgetListener
void widgetResized(const gcn::Event &event);
/**
+ * Called whenever the widget is hidden.
+ */
+ void widgetHidden(const gcn::Event &event);
+
+ /**
* Sets whether or not the window has a close button.
*/
void setCloseButton(bool flag);