diff options
author | Max Horn | 2002-07-07 23:37:47 +0000 |
---|---|---|
committer | Max Horn | 2002-07-07 23:37:47 +0000 |
commit | c3b606cd9b0b0445b0360f9a95225186252ae1c1 (patch) | |
tree | 00b31845f07a89afb6f2bb425d3e2e7a478554e1 /newgui.h | |
parent | 10d86be56456b57392cca05d5a2135408289223c (diff) | |
download | scummvm-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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |