diff options
author | Strangerke | 2015-12-17 18:35:53 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:34:07 +0100 |
commit | 054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7 (patch) | |
tree | 5fb642f27baaf9d7ebbea1b5cd1900f9034edab7 /engines/lab/dispman.h | |
parent | 605c2e553bd9b8421af643491a7855d8c2cd4710 (diff) | |
download | scummvm-rg350-054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7.tar.gz scummvm-rg350-054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7.tar.bz2 scummvm-rg350-054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7.zip |
LAB: Use Common::Rect in functions related to flowText (WIP)
Diffstat (limited to 'engines/lab/dispman.h')
-rw-r--r-- | engines/lab/dispman.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/lab/dispman.h b/engines/lab/dispman.h index 92a09c1f92..c00f18d9d7 100644 --- a/engines/lab/dispman.h +++ b/engines/lab/dispman.h @@ -92,6 +92,7 @@ public: void drawMessage(const char *str); void setPen(byte pennum); void rectFill(uint16 x1, uint16 y1, uint16 x2, uint16 y2); + void rectFill(Common::Rect fillRect); void rectFillScaled(uint16 x1, uint16 y1, uint16 x2, uint16 y2); // Window text stuff int flowText(TextFont *font, // the TextAttr pointer @@ -102,8 +103,7 @@ public: bool centerh, // Whether to center the text horizontally bool centerv, // Whether to center the text vertically bool output, // Whether to output any text - uint16 x1, uint16 y1, // Cords - uint16 x2, uint16 y2, + Common::Rect textRect, // Cords const char *text); // The text itself int flowTextScaled( @@ -115,8 +115,7 @@ public: bool centerh, // Whether to center the text horizontally bool centerv, // Whether to center the text vertically bool output, // Whether to output any text - uint16 x1, uint16 y1, // Cords - uint16 x2, uint16 y2, + Common::Rect textRect, // Cords const char *text); // The text itself int flowTextToMem(Image *destIm, @@ -128,8 +127,7 @@ public: bool centerh, // Whether to center the text horizontally bool centerv, // Whether to center the text vertically bool output, // Whether to output any text - uint16 x1, uint16 y1, // Cords - uint16 x2, uint16 y2, + Common::Rect textRect, // Cords const char *str); // The text itself void drawHLine(uint16 x, uint16 y1, uint16 y2); |