aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
diff options
context:
space:
mode:
authorNicola Mettifogo2007-02-27 19:39:33 +0000
committerNicola Mettifogo2007-02-27 19:39:33 +0000
commitb2927b69c653fa0c66dbf8e3de6f0c4ac06e237a (patch)
tree617ad3d9745daa116374bd315147823d63be94cd /engines/parallaction/graphics.h
parent75af37327893e9698e91a88801e9dd5289de10cf (diff)
downloadscummvm-rg350-b2927b69c653fa0c66dbf8e3de6f0c4ac06e237a.tar.gz
scummvm-rg350-b2927b69c653fa0c66dbf8e3de6f0c4ac06e237a.tar.bz2
scummvm-rg350-b2927b69c653fa0c66dbf8e3de6f0c4ac06e237a.zip
changed font handling:
- engine doesn't see font as a low-level Cnv anymore - the Graphics class takes care of freeing memory on font changes svn-id: r25900
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r--engines/parallaction/graphics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h
index 70eefa9271..7f51cd34c7 100644
--- a/engines/parallaction/graphics.h
+++ b/engines/parallaction/graphics.h
@@ -140,11 +140,11 @@ public:
void setMousePointer(int16 index);
+ void setFont(const char* name);
public:
static Point _labelPosition[2];
static bool _proportionalFont;
- static Cnv _font;
protected:
Parallaction* _vm;
@@ -154,6 +154,9 @@ protected:
static byte _mouseArrow[256];
static StaticCnv _mouseComposedArrow;
+ static Cnv _font;
+
+
protected:
//
// decompress a graphics block (size is *target* size)