summaryrefslogtreecommitdiff
path: root/src/interface.old/ControlFactory.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-14 18:51:24 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-14 18:51:24 (GMT)
commit2c9295007a287dc01ff63fcf7b3da141f7474e37 (patch)
treee8065e920ca45686a40e41fd46513e13d46f47b0 /src/interface.old/ControlFactory.cpp
parentfc2f52099c0bbb2412046252bf7b5e4113bbe8e4 (diff)
downloadpowder-2c9295007a287dc01ff63fcf7b3da141f7474e37.zip
powder-2c9295007a287dc01ff63fcf7b3da141f7474e37.tar.gz
Various things, also IEF UI
Diffstat (limited to 'src/interface.old/ControlFactory.cpp')
-rw-r--r--src/interface.old/ControlFactory.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/interface.old/ControlFactory.cpp b/src/interface.old/ControlFactory.cpp
new file mode 100644
index 0000000..300ceba
--- /dev/null
+++ b/src/interface.old/ControlFactory.cpp
@@ -0,0 +1,11 @@
+#include "interface/ControlFactory.h"
+#include "interface/Button.h"
+#include "interface/Panel.h"
+#include "interface/Window.h"
+
+ui::Panel * ControlFactory::MainMenu(GameSession * session, int x, int y, int width, int height)
+{
+ ui::Panel * mainMenu = new ui::Panel(x, y, width, height);
+ //mainMenu->Add(new ui::Button(0, 0, 20, 20, "Turd"));
+ return mainMenu;
+}