aboutsummaryrefslogtreecommitdiff
path: root/newgui.h
diff options
context:
space:
mode:
authorMax Horn2002-07-07 23:37:47 +0000
committerMax Horn2002-07-07 23:37:47 +0000
commitc3b606cd9b0b0445b0360f9a95225186252ae1c1 (patch)
tree00b31845f07a89afb6f2bb425d3e2e7a478554e1 /newgui.h
parent10d86be56456b57392cca05d5a2135408289223c (diff)
downloadscummvm-rg350-c3b606cd9b0b0445b0360f9a95225186252ae1c1.tar.gz
scummvm-rg350-c3b606cd9b0b0445b0360f9a95225186252ae1c1.tar.bz2
scummvm-rg350-c3b606cd9b0b0445b0360f9a95225186252ae1c1.zip
added CheckboxWidget; added NewGui::drawBitmap
svn-id: r4486
Diffstat (limited to 'newgui.h')
-rw-r--r--newgui.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/newgui.h b/newgui.h
index 461718a27d..34e4e54812 100644
--- a/newgui.h
+++ b/newgui.h
@@ -23,8 +23,9 @@
#include "scummsys.h"
-class Scumm;
class Dialog;
+class Scumm;
+class VirtScreen;
// Extremly simple stack class, doesn't even do any error checking (for now)
class DialogStack {
@@ -92,12 +93,13 @@ protected:
public:
// Drawing
- byte *getBasePtr(int x, int y);
+ byte *getBasePtr(int x, int y, VirtScreen *vs = 0);
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 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);
// Query a string from the resources
const char *queryResString(int stringno);