summaryrefslogtreecommitdiff
path: root/includes/interface/ControlFactory.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-10 23:18:37 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-10 23:18:37 (GMT)
commit2eb09c1daac8199532694167f418146fa57e7735 (patch)
tree245dc05e825ad049435b14adc3abb8593acf3cc5 /includes/interface/ControlFactory.h
parentd31d290bf9205999e7a849e5974241f2fd615259 (diff)
downloadpowder-2eb09c1daac8199532694167f418146fa57e7735.zip
powder-2eb09c1daac8199532694167f418146fa57e7735.tar.gz
Project changed, ControlFactory (Creates large UI structures such as
menus, dialoges...) GameSession (Session information, such as filename, reference to simulation
Diffstat (limited to 'includes/interface/ControlFactory.h')
-rw-r--r--includes/interface/ControlFactory.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/includes/interface/ControlFactory.h b/includes/interface/ControlFactory.h
new file mode 100644
index 0000000..8bfd780
--- /dev/null
+++ b/includes/interface/ControlFactory.h
@@ -0,0 +1,15 @@
+#ifndef CONTROLFACTORY_H
+#define CONTROLFACTORY_H
+
+#include "Panel.h"
+#include "Window.h"
+#include "GameSession.h"
+
+class ControlFactory
+{
+public:
+ static ui::Panel * MainMenu(GameSession * session, int x, int y, int width, int height);
+
+};
+
+#endif // CONTROLFACTORY_H