aboutsummaryrefslogtreecommitdiff
path: root/gui/about.h
diff options
context:
space:
mode:
authorMax Horn2005-04-16 11:40:15 +0000
committerMax Horn2005-04-16 11:40:15 +0000
commit7aebedcc148cb4ccb9a74eb19d9cfc25f0d85455 (patch)
treec9cbf0a151d2ec720430ee467490a5183c241ce0 /gui/about.h
parente9be61a465874219638b204e24f74e9ffa2e8744 (diff)
downloadscummvm-rg350-7aebedcc148cb4ccb9a74eb19d9cfc25f0d85455.tar.gz
scummvm-rg350-7aebedcc148cb4ccb9a74eb19d9cfc25f0d85455.tar.bz2
scummvm-rg350-7aebedcc148cb4ccb9a74eb19d9cfc25f0d85455.zip
Patch #1183808 (GUI: Less CPU-intensive credits scroll), with some tweaks by me
svn-id: r17620
Diffstat (limited to 'gui/about.h')
-rw-r--r--gui/about.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/about.h b/gui/about.h
index 6507511f94..65dbb49f40 100644
--- a/gui/about.h
+++ b/gui/about.h
@@ -23,6 +23,7 @@
#include "gui/dialog.h"
#include "common/str.h"
+#include "graphics/surface.h"
namespace GUI {
@@ -35,13 +36,16 @@ protected:
uint32 _lineHeight;
byte _modifiers;
bool _willClose;
+ Graphics::Surface _canvas;
public:
AboutDialog();
void open();
+ void close();
void drawDialog();
void handleTickle();
+ void handleScreenChanged();
void handleMouseUp(int x, int y, int button, int clickCount);
void handleKeyDown(uint16 ascii, int keycode, int modifiers);
void handleKeyUp(uint16 ascii, int keycode, int modifiers);