GUI: Added easter egg
This commit is contained in:
parent
e3888d51f4
commit
aad6c6346b
4 changed files with 1060 additions and 0 deletions
1048
gui/about.cpp
1048
gui/about.cpp
File diff suppressed because it is too large
Load diff
|
@ -30,6 +30,8 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
class EEHandler;
|
||||
|
||||
class AboutDialog : public Dialog {
|
||||
typedef Common::Array<Common::String> StringArray;
|
||||
protected:
|
||||
|
@ -43,6 +45,8 @@ protected:
|
|||
|
||||
void addLine(const char *str);
|
||||
|
||||
EEHandler *_eeHandler;
|
||||
|
||||
public:
|
||||
AboutDialog();
|
||||
|
||||
|
|
|
@ -209,6 +209,12 @@ bool GuiManager::loadNewTheme(Common::String id, ThemeEngine::GraphicsMode gfx,
|
|||
return true;
|
||||
}
|
||||
|
||||
void GuiManager::redrawFull() {
|
||||
_redrawStatus = kRedrawFull;
|
||||
redraw();
|
||||
_system->updateScreen();
|
||||
}
|
||||
|
||||
void GuiManager::redraw() {
|
||||
ThemeEngine::ShadingStyle shading;
|
||||
|
||||
|
|
|
@ -111,6 +111,8 @@ public:
|
|||
|
||||
bool _launched;
|
||||
|
||||
void redrawFull();
|
||||
|
||||
protected:
|
||||
enum RedrawStatus {
|
||||
kRedrawDisabled = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue