diff options
author | Paul Gilbert | 2009-12-12 11:59:38 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-12-12 11:59:38 +0000 |
commit | d10bb1036e993ca2d4105076b468dc06f46d426f (patch) | |
tree | 950b4cf00fd4e9a809321a59d3990d1e635d106e /engines/m4/graphics.h | |
parent | 8a3bb27f6395ce4530213171d6fe588d7120defc (diff) | |
download | scummvm-rg350-d10bb1036e993ca2d4105076b468dc06f46d426f.tar.gz scummvm-rg350-d10bb1036e993ca2d4105076b468dc06f46d426f.tar.bz2 scummvm-rg350-d10bb1036e993ca2d4105076b468dc06f46d426f.zip |
Implemented the rendering section of dialog display
svn-id: r46338
Diffstat (limited to 'engines/m4/graphics.h')
-rw-r--r-- | engines/m4/graphics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h index a6c5973a18..47253c4ed0 100644 --- a/engines/m4/graphics.h +++ b/engines/m4/graphics.h @@ -66,6 +66,8 @@ public: RGB8 *data() { return _data; } byte *palIndexes() { return _palIndexes; } int size() { return _size; } + RGB8 &operator[](int idx) { return _data[idx]; } + void setRange(int start, int count, const RGB8 *src); }; // M4Surface @@ -113,6 +115,7 @@ public: void madsloadInterface(int index, RGBList **palData); void setColor(byte value) { _color = value; } + void setColour(byte value) { _color = value; } inline byte getColor() const { return _color; } void vLine(int x, int y1, int y2); void hLine(int x1, int x2, int y); |