GUI: Added easter egg

This commit is contained in:
Eugene Sandulenko 2019-10-07 00:11:48 +02:00
parent e3888d51f4
commit aad6c6346b
4 changed files with 1060 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -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();

View file

@ -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;

View file

@ -111,6 +111,8 @@ public:
bool _launched;
void redrawFull();
protected:
enum RedrawStatus {
kRedrawDisabled = 0,