22 #ifndef NANCY_MISC_HYPERTEXT_H 23 #define NANCY_MISC_HYPERTEXT_H 25 #include "engines/nancy/renderobject.h" 36 _highlightBackgroundColor(0),
39 _needsTextRedraw(
false),
41 _imageVerticalOffset(0) {}
44 bool hasBeenDrawn()
const {
return !_needsTextRedraw; }
47 void initSurfaces(uint width, uint height,
const struct Graphics::PixelFormat &format, uint32 backgroundColor, uint32 highlightBackgroundColor);
53 void drawAllText(
const Common::Rect &textBounds, uint leftOffsetNonNewline, uint fontID, uint highlightFontID);
59 uint32 _backgroundColor;
60 uint32 _highlightBackgroundColor;
61 uint _defaultTextColor;
62 int _imageVerticalOffset;
72 uint16 _numDrawnLines;
73 uint16 _drawnTextHeight;
74 bool _needsTextRedraw;
80 #endif // NANCY_MISC_HYPERTEXT_H Definition: managed_surface.h:51
Definition: hypertext.h:32
Definition: actionmanager.h:32