22 #ifndef MM1_VIEWS_ENH_SCROLL_TEXT_H 23 #define MM1_VIEWS_ENH_SCROLL_TEXT_H 25 #include "common/rect.h" 26 #include "common/str.h" 27 #include "graphics/font.h" 28 #include "mm/mm1/views_enh/scroll_view.h" 42 TextAlign _align = ALIGN_LEFT;
45 byte color = 0, TextAlign align = ALIGN_LEFT) :
46 _str(str), _pos(pos), _color(color), _align(align) {
79 TextAlign align = ALIGN_LEFT, byte color = 0);
85 int lineNum, byte color = 0,
86 TextAlign align = ALIGN_LEFT,
int xp = 0);
88 int lineNum, TextAlign align = ALIGN_LEFT,
90 addText(str, lineNum, 0, align, xp);
Definition: scroll_text.h:37
void clear()
Definition: array.h:323
iterator end()
Definition: array.h:382
iterator begin()
Definition: array.h:377
Line * iterator
Definition: array.h:54
void setBounds(const Common::Rect &r) override
const Line * const_iterator
Definition: array.h:55
Definition: detection.h:27
void clear()
Definition: scroll_text.h:71
void addText(const Common::String &str, int lineNum, byte color=0, TextAlign align=ALIGN_LEFT, int xp=0)
void addLine(const Common::String &str, TextAlign align=ALIGN_LEFT, byte color=0)