diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-18 17:33:44 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-18 17:33:44 (GMT) |
| commit | 26dbd547d3a3662c62e7b3ecadae5609f1726df4 (patch) | |
| tree | 8932ab52b1562ab90a9541962a85c93cea369683 /src/game/GameModel.h | |
| parent | 80044bb0f06b4186bcc2f07e1c5ddc4e195f2426 (diff) | |
| download | powder-26dbd547d3a3662c62e7b3ecadae5609f1726df4.zip powder-26dbd547d3a3662c62e7b3ecadae5609f1726df4.tar.gz | |
Info tip for changing display modes
Diffstat (limited to 'src/game/GameModel.h')
| -rw-r--r-- | src/game/GameModel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/GameModel.h b/src/game/GameModel.h index 5f656c1..28b86e6 100644 --- a/src/game/GameModel.h +++ b/src/game/GameModel.h @@ -53,6 +53,9 @@ private: User currentUser; bool colourSelector; ui::Colour colour; + + std::string infoTip; + std::string toolTip; //bool zoomEnabled; void notifyRendererChanged(); void notifySimulationChanged(); @@ -71,6 +74,8 @@ private: void notifyColourSelectorVisibilityChanged(); void notifyNotificationsChanged(); void notifyLogChanged(string entry); + void notifyInfoTipChanged(); + void notifyToolTipChanged(); public: GameModel(); ~GameModel(); @@ -81,6 +86,11 @@ public: void SetColourSelectorColour(ui::Colour colour); ui::Colour GetColourSelectorColour(); + void SetToolTip(std::string text); + void SetInfoTip(std::string text); + std::string GetToolTip(); + std::string GetInfoTip(); + void SetVote(int direction); SaveInfo * GetSave(); Brush * GetBrush(); |
