22#ifndef GRAPHICS_VIEWS_GFX_SURFACE_H
23#define GRAPHICS_VIEWS_GFX_SURFACE_H
25#include "common/ptr.h"
26#include "common/rect.h"
27#include "graphics/font.h"
28#include "graphics/managed_surface.h"
29#include "graphics/views/rect.h"
38 byte _textColor = 255;
40 bool _scrollable =
false;
82 void setColor(
byte fgColor,
byte bgColor);
Definition: managed_surface.h:51
Definition: gfx_surface.h:34
int getStringWidth(const Common::String &str) const
void xorBlitFrom(const ManagedSurface &src, const Common::Point &destPos)
byte setColor(byte color)
void setScrollable(bool flag)
Definition: gfx_surface.h:93
void writeString(const Common::Point &pt, const Common::String &str, Graphics::TextAlign align=Graphics::kTextAlignLeft)
void writeChar(uint32 chr)
TextAlign
Definition: font.h:48
@ kTextAlignLeft
Align the text to the left.
Definition: font.h:51
Definition: formatinfo.h:28