Mercurial > mm7
comparison NewUI/MainMenu.cpp @ 1835:a5637690ffbb
m
author | Ritor1 |
---|---|
date | Fri, 11 Oct 2013 18:55:07 +0600 |
parents | bd899dfd976c |
children | b6252811663d |
comparison
equal
deleted
inserted
replaced
1834:0b44f4d67c18 | 1835:a5637690ffbb |
---|---|
1 #include "MainMenu.h" | 1 #include "MainMenu.h"è |
2 | 2 #include "..\LOD.h" |
3 | 3 |
4 bool MainMenuWindow::OnMouseLeftClick(int x, int y) | 4 bool MainMenuWindow::OnMouseLeftClick(int x, int y) |
5 { | 5 { |
6 if (UIControl::OnMouseLeftClick(x, y)) | 6 if (UIControl::OnMouseLeftClick(x, y)) |
7 return true; | 7 return true; |
26 void MainMenuWindow::Show() {} | 26 void MainMenuWindow::Show() {} |
27 bool MainMenuWindow::Focused() {return false;} | 27 bool MainMenuWindow::Focused() {return false;} |
28 | 28 |
29 bool MainMenuWindow::Initialize() | 29 bool MainMenuWindow::Initialize() |
30 { | 30 { |
31 auto background_texture = new RGBTexture; | |
32 background_texture->Load("newtitle.pcx", 0); | |
31 return true; | 33 return true; |
32 } | 34 } |
33 | 35 |
34 MainMenuWindow *MainMenuWindow::Create() | 36 MainMenuWindow *MainMenuWindow::Create() |
35 { | 37 { |