aboutsummaryrefslogtreecommitdiff
path: root/newgui.h
diff options
context:
space:
mode:
authorMax Horn2002-07-08 00:10:11 +0000
committerMax Horn2002-07-08 00:10:11 +0000
commitc9b1d393b836dc4239a42c0efad7712fb786930f (patch)
tree613ba6e70de76d499adbe793652289ca2b64c6aa /newgui.h
parentc3b606cd9b0b0445b0360f9a95225186252ae1c1 (diff)
downloadscummvm-rg350-c9b1d393b836dc4239a42c0efad7712fb786930f.tar.gz
scummvm-rg350-c9b1d393b836dc4239a42c0efad7712fb786930f.tar.bz2
scummvm-rg350-c9b1d393b836dc4239a42c0efad7712fb786930f.zip
delay creation of dialogs till they are used; fixed new pause dialog & use it instead of the old one; dirty area handling in new gui code is more logical/useful now
svn-id: r4487
Diffstat (limited to 'newgui.h')
-rw-r--r--newgui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newgui.h b/newgui.h
index 34e4e54812..3bab0773e7 100644
--- a/newgui.h
+++ b/newgui.h
@@ -25,7 +25,6 @@
class Dialog;
class Scumm;
-class VirtScreen;
// Extremly simple stack class, doesn't even do any error checking (for now)
class DialogStack {
@@ -93,10 +92,11 @@ protected:
public:
// Drawing
- byte *getBasePtr(int x, int y, VirtScreen *vs = 0);
+ byte *getBasePtr(int x, int y);
void box(int x, int y, int width, int height);
void line(int x, int y, int x2, int y2, byte color);
void clearArea(int x, int y, int w, int h);
+ void setAreaDirty(int x, int y, int w, int h);
void drawChar(const char c, int x, int y);
void drawString(const char *str, int x, int y, int w, byte color);
void drawBitmap(uint32 bitmap[8], int x, int y, byte color);