The-Powder-Toy/src/interface/ControlFactory.cpp

13 lines
414 B
C++
Raw Normal View History

2012-01-14 12:51:24 -06:00
#include "interface/Point.h"
#include "interface/ControlFactory.h"
#include "interface/Button.h"
#include "interface/Panel.h"
2012-01-14 12:51:24 -06:00
#include "interface/Engine.h"
ui::Panel * ControlFactory::MainMenu(GameSession * session, int x, int y, int width, int height)
{
2012-01-14 12:51:24 -06:00
ui::Panel * mainMenu = new ui::Panel(ui::Point(x, y), ui::Point(width, height));
//mainMenu->Add(new ui::Button(0, 0, 20, 20, "Turd"));
return mainMenu;
}