diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-03 14:29:18 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-03 14:29:18 (GMT) |
| commit | 36b2aa01918344d91df30c4a6722ac39eaca0642 (patch) | |
| tree | 4833adffc9aa2db54f00e9c162b65eb9117a600f /src/game/GameModel.h | |
| parent | 80dfc96c7c30f9bc22cc802b876c79f4205d0cbd (diff) | |
| download | powder-36b2aa01918344d91df30c4a6722ac39eaca0642.zip powder-36b2aa01918344d91df30c4a6722ac39eaca0642.tar.gz | |
QuickOptions!! #46
Diffstat (limited to 'src/game/GameModel.h')
| -rw-r--r-- | src/game/GameModel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/GameModel.h b/src/game/GameModel.h index 2c8636a..e41ff2b 100644 --- a/src/game/GameModel.h +++ b/src/game/GameModel.h @@ -21,6 +21,7 @@ class GameView; class Simulation; class Renderer; +class QuickOption; class ToolSelection { public: @@ -43,6 +44,7 @@ private: vector<GameView*> observers; vector<Tool*> toolList; vector<Menu*> menuList; + vector<QuickOption*> quickOptions; Menu * activeMenu; int currentBrush; vector<Brush *> brushList; @@ -76,6 +78,7 @@ private: void notifyLogChanged(string entry); void notifyInfoTipChanged(); void notifyToolTipChanged(); + void notifyQuickOptionsChanged(); public: GameModel(); ~GameModel(); @@ -92,6 +95,9 @@ public: std::string GetInfoTip(); void BuildMenus(); + void BuildQuickOptionMenu(); + + void UpdateQuickOptions(); void SetVote(int direction); SaveInfo * GetSave(); @@ -108,6 +114,7 @@ public: void ClearSimulation(); vector<Menu*> GetMenuList(); vector<Tool*> GetToolList(); + vector<QuickOption*> GetQuickOptions(); void SetActiveMenu(Menu * menu); Menu * GetActiveMenu(); void FrameStep(int frames); |
