Fix NewGui for higher resolutions (eg, CMI)

svn-id: r6217
This commit is contained in:
James Brown 2002-12-28 04:57:28 +00:00
parent 92c8e4ef1e
commit 9255f1a6b9

View File

@ -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)