diff options
author | James Brown | 2002-12-28 04:57:28 +0000 |
---|---|---|
committer | James Brown | 2002-12-28 04:57:28 +0000 |
commit | 9255f1a6b9123076055b0552da5149a1bdbbc979 (patch) | |
tree | eea3cc1b4f9c213e1d328e4f42a0d48ff3697641 | |
parent | 92c8e4ef1ee3bb500685e7eceebcf3df29c8520c (diff) | |
download | scummvm-rg350-9255f1a6b9123076055b0552da5149a1bdbbc979.tar.gz scummvm-rg350-9255f1a6b9123076055b0552da5149a1bdbbc979.tar.bz2 scummvm-rg350-9255f1a6b9123076055b0552da5149a1bdbbc979.zip |
Fix NewGui for higher resolutions (eg, CMI)
svn-id: r6217
-rw-r--r-- | common/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index dff91ee609..fd4b0b38a3 100644 --- a/common/system.h +++ b/common/system.h @@ -169,6 +169,10 @@ public: virtual void grab_overlay(int16 *buf, int pitch) = 0; virtual void copy_rect_overlay(const int16 *buf, int pitch, int x, int y, int w, int h) = 0; + // Low-level graphics access + virtual int16 get_height() {return 200;} + virtual int16 get_width() {return 320;} + // Methods that convert RBG to/from colors suitable for the overlay. // Default implementation assumes 565 mode. virtual int16 RBGToColor(uint8 r, uint8 g, uint8 b) |