2012-01-14 12:51:24 -06:00
|
|
|
#include "interface/Point.h"
|
2012-01-10 17:18:37 -06:00
|
|
|
#include "interface/ControlFactory.h"
|
|
|
|
#include "interface/Button.h"
|
|
|
|
#include "interface/Panel.h"
|
2012-01-14 12:51:24 -06:00
|
|
|
#include "interface/Engine.h"
|
2012-01-10 17:18:37 -06:00
|
|
|
|
|
|
|
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));
|
2012-01-10 17:18:37 -06:00
|
|
|
//mainMenu->Add(new ui::Button(0, 0, 20, 20, "Turd"));
|
|
|
|
return mainMenu;
|
|
|
|
}
|