22 #ifndef DIRECTOR_CASTMEMBER_TEXT_H 23 #define DIRECTOR_CASTMEMBER_TEXT_H 25 #include "director/castmember/castmember.h" 33 void setColors(uint32 *fgcolor, uint32 *bgcolor)
override;
37 bool isEditable()
override {
return _editable; }
38 void setEditable(
bool editable)
override { _editable = editable; }
42 uint32 getBackColor()
override {
return _bgcolor; }
43 void setBackColor(uint32 bgCol)
override;
44 uint32 getForeColor()
override {
return _fgcolor; }
45 void setForeColor(uint32 fgCol)
override;
47 bool hasField(
int field)
override;
48 Datum getField(
int field)
override;
49 bool setField(
int field,
const Datum &value)
override;
51 bool hasChunkField(
int field);
52 Datum getChunkField(
int field,
int start,
int end);
53 bool setChunkField(
int field,
int start,
int end,
const Datum &value);
58 void setTextSize(
int textSize);
63 void unload()
override;
74 TextAlignType _textAlign;
79 uint16 _bgpalinfo1, _bgpalinfo2, _bgpalinfo3;
80 uint16 _fgpalinfo1, _fgpalinfo2, _fgpalinfo3;
81 ButtonType _buttonType;
88 void importStxt(
const Stxt *stxt);
89 void importRTE(byte *text);
107 void load()
override;
TextAlign
Definition: font.h:48
Definition: macfontmanager.h:85
Definition: castmember.h:45