From 445980f010e236edf7af19673f4f01f5ed5a97ab Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Thu, 3 Mar 2016 21:29:53 -0600 Subject: SCI32: Fix misidentification of createFontBitmap(CelInfo &) --- engines/sci/graphics/text32.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'engines/sci/graphics/text32.h') diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h index d95792aa8d..5de54d318f 100644 --- a/engines/sci/graphics/text32.h +++ b/engines/sci/graphics/text32.h @@ -202,11 +202,16 @@ public: */ GfxFont *_font; + /** + * Creates a plain font bitmap with a flat color + * background. + */ reg_t createFontBitmap(int16 width, int16 height, const Common::Rect &rect, const Common::String &text, const uint8 foreColor, const uint8 backColor, const uint8 skipColor, const GuiResourceId fontId, TextAlign alignment, const int16 borderColor, bool dimmed, const bool doScaling, reg_t *outBitmapObject); - reg_t createTitledFontBitmap(CelInfo32 &celInfo, Common::Rect &rect, Common::String &text, int16 foreColor, int16 backColor, int font, int16 skipColor, int16 borderColor, bool dimmed, void *unknown1); - - void disposeTextBitmap(reg_t hunkId); + /** + * Creates a font bitmap with a view background. + */ + reg_t createFontBitmap(const CelInfo32 &celInfo, const Common::Rect &rect, const Common::String &text, const int16 foreColor, const int16 backColor, const GuiResourceId fontId, const int16 skipColor, const int16 borderColor, const bool dimmed, reg_t *outBitmapObject); /** * Sets the font to be used for rendering and -- cgit v1.2.3