22#ifndef TITANIC_TEXT_CONTROL_H
23#define TITANIC_TEXT_CONTROL_H
25#include "common/keyboard.h"
26#include "titanic/support/screen_manager.h"
27#include "titanic/support/strings.h"
49 int _displayEndCharIndex;
66 void setupArrays(
int count);
78 void appendText(
const CString &str);
80 void updateStr3(
int lineNum);
129 void resize(uint count);
Definition: screen_manager.h:49
Definition: text_control.h:35
void remapColors(uint count, uint *srcColors, uint *destColors)
void addLine(const CString &str)
void addLine(const CString &str, byte r, byte g, byte b)
int getTextWidth(CScreenManager *screenManager)
void scrollUpPage(CScreenManager *screenManager)
void setMaxCharsPerLine(int maxChars)
void setColor(byte r, byte g, byte b)
void addLine(const CString &str, uint color)
int getTextHeight(CScreenManager *screenManager)
void draw(CScreenManager *screenManager)
int displayEndIndex() const
Definition: text_control.h:190
void setHasBorder(bool val)
Definition: text_control.h:122
void scrollUp(CScreenManager *screenManager)
void scrollToBottom(CScreenManager *screenManager)
void setBounds(const Rect &bounds)
Definition: text_control.h:117
void save(SimpleFile *file, int indent)
void setLineColor(uint lineNum, uint col)
void scrollDownPage(CScreenManager *screenManager)
void setNPC(int npcFlag, int npcId)
static CString getColorText(byte r, byte g, byte b)
int getNPCNum(uint ident, uint startIndex)
void showCursor(int mode)
void scrollToTop(CScreenManager *screenManager)
void setFontNumber(int fontNumber)
void setText(StringId stringId)
void load(SimpleFile *file, int param)
void scrollDown(CScreenManager *screenManager)
void setText(const CString &str)
void setLineColor(uint lineNum, byte r, byte g, byte b)
Definition: text_cursor.h:33
Definition: simple_file.h:49