22 #ifndef STARK_VISUAL_TEXT_H 23 #define STARK_VISUAL_TEXT_H 25 #include "engines/stark/visual/visual.h" 27 #include "engines/stark/services/fontprovider.h" 28 #include "engines/stark/gfx/color.h" 30 #include "common/rect.h" 31 #include "graphics/font.h" 37 class SurfaceRenderer;
46 static const VisualType TYPE = Visual::kImageText;
55 void setBackgroundColor(
const Gfx::Color &color);
57 void setTargetWidth(uint32 width);
58 void setTargetHeight(uint32 height);
59 void setFont(FontProvider::FontType type, int32 customFontIndex = -1);
61 uint getTargetWidth() {
return _targetWidth; }
62 uint getTargetHeight() {
return _targetHeight; }
86 FontProvider::FontType _fontType;
87 int32 _fontCustomIndex;
92 #endif // STARK_VISUAL_TEXT_H
TextAlign
Definition: font.h:48
Definition: surfacerenderer.h:36