summaryrefslogtreecommitdiff
path: root/src/interface/Window.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-18 19:34:58 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-18 19:34:58 (GMT)
commitdd0e6e7f4ddc5a1a9c25111275187b767d51bdb4 (patch)
tree79213c37eab4ad4715a00d53029fd6d6c865bc73 /src/interface/Window.h
parent26dbd547d3a3662c62e7b3ecadae5609f1726df4 (diff)
downloadpowder-dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4.zip
powder-dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4.tar.gz
Add descriptions to toolbuttons, add Tooltips to Button, ToolTip event for Windows
Diffstat (limited to 'src/interface/Window.h')
-rw-r--r--src/interface/Window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Window.h b/src/interface/Window.h
index c077abb..c2c5e16 100644
--- a/src/interface/Window.h
+++ b/src/interface/Window.h
@@ -46,6 +46,8 @@ enum ChromeStyle
// Remove a component from state. NOTE: This WILL free component from memory.
void RemoveComponent(unsigned idx);
+ virtual void ToolTip(Component * sender, ui::Point mousePosition, std::string toolTip) {}
+
virtual void DoInitialized();
virtual void DoExit();
virtual void DoTick(float dt);