34#include "sword25/kernel/common.h"
35#include "common/rect.h"
36#include "sword25/gfx/renderobject.h"
109 return _modulationColor >> BS_ASHIFT;
117 return _modulationColor & BS_RGBMASK;
131 return _autoWrapThreshold;
144 uint32 _modulationColor;
148 uint32 _autoWrapThreshold;
Definition: fontresource.h:44
Definition: outputpersistenceblock.h:39
Definition: microtiles.h:38
Dieses ist die Klasse die sämtliche sichtbaren Objekte beschreibt.
Definition: renderobject.h:72
Definition: renderobjectptr.h:46
Definition: resmanager.h:48
int getColor() const
Gibt die Farbe des Textes zurück.
Definition: text.h:116
const Common::String & getText()
Gibt den dargestellten Text zurück.
Definition: text.h:87
void setAlpha(int alpha)
Setzt den Alphawert des Textes.
void setAutoWrap(bool autoWrap)
Legt fest, ob der Text automatisch umgebrochen werden soll.
const Common::String & getFont()
Gibt den Namen das momentan benutzten Fonts zurück.
Definition: text.h:94
uint32 getAutoWrapThreshold() const
Gibt die Längengrenze des Textes in Pixeln zurück, ab der eine automatische Formatierung vorgenommen ...
Definition: text.h:130
bool isAutoWrapActive() const
Gibt zurück, ob die automatische Formatierung aktiviert ist.
Definition: text.h:123
bool doRender(RectangleList *updateRects) override
Einschubmethode, die den tatsächlichen Redervorgang durchführt.
void setAutoWrapThreshold(uint32 autoWrapThreshold)
Legt die Längengrenze des Textes in Pixeln fest, ab der ein automatischer Zeilenumbruch vorgenommen w...
void setText(const Common::String &text)
Setzt den darzustellenden Text.
bool setFont(const Common::String &font)
Setzt den Font mit dem der Text dargestellt werden soll.
void setColor(uint32 modulationColor)
Setzt die Farbe des Textes.
int getAlpha() const
Gibt den Alphawert des Textes zurück.
Definition: text.h:108