Mercurial > mm7
view NewUI/MainMenu.cpp @ 1827:0c75c3e7e436
cleaned up part of party.cpp, renamed byte_AE3368 to playerAlreadyPicked + 3 vars after it, moved them to party.cpp, some player.cpp bugfixes
author | Grumpy7 |
---|---|
date | Fri, 11 Oct 2013 05:49:39 +0200 |
parents | bd899dfd976c |
children | a5637690ffbb |
line wrap: on
line source
#include "MainMenu.h" bool MainMenuWindow::OnMouseLeftClick(int x, int y) { if (UIControl::OnMouseLeftClick(x, y)) return true; return false; } bool MainMenuWindow::OnMouseRightClick(int x, int y) { if (UIControl::OnMouseRightClick(x, y)) return true; return false; } bool MainMenuWindow::OnKey(int key) { if (UIControl::OnKey(key)) return true; return false; } void MainMenuWindow::Show() {} bool MainMenuWindow::Focused() {return false;} bool MainMenuWindow::Initialize() { return true; } MainMenuWindow *MainMenuWindow::Create() { auto window = new MainMenuWindow; if (window) if (!window->Initialize()) { delete window; window = nullptr; } return window; }