2022-11-07 17:06:11 +00:00
|
|
|
#ifndef _CGUITEXTSUPPORT
|
|
|
|
#define _CGUITEXTSUPPORT
|
|
|
|
|
|
|
|
#include "rstl/string.hpp"
|
|
|
|
|
|
|
|
class CColor;
|
2022-12-31 19:59:30 +00:00
|
|
|
class CGuiFrame;
|
|
|
|
class CTextExecuteBuffer;
|
|
|
|
class CTextParser;
|
2022-11-07 17:06:11 +00:00
|
|
|
|
|
|
|
class CGuiTextSupport {
|
2022-12-31 19:59:30 +00:00
|
|
|
static CTextExecuteBuffer* gpExecBuf;
|
|
|
|
static CTextParser* gpTextParser;
|
|
|
|
|
2022-11-07 17:06:11 +00:00
|
|
|
public:
|
|
|
|
void SetText(const rstl::string&, bool multipage = false);
|
|
|
|
void SetOutlineColor(const CColor& col);
|
|
|
|
void SetFontColor(const CColor& col);
|
2022-12-31 19:59:30 +00:00
|
|
|
|
|
|
|
static void Initialize(CTextExecuteBuffer* buf, CTextParser* parser) {
|
|
|
|
gpExecBuf = buf;
|
|
|
|
gpTextParser = parser;
|
|
|
|
}
|
2022-11-07 17:06:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CGUITEXTSUPPORT
|