#include <C4Markup.h>
Public Member Functions | |
C4Markup (bool fDoClr) | |
~C4Markup () | |
bool | Read (const char **ppText, bool fSkip=false) |
bool | SkipTags (const char **ppText) |
void | Apply (C4BltTransform &rBltTrf, DWORD &dwClr) |
bool | Clean () |
std::string | ClosingTags () const |
std::string | OpeningTags () const |
Static Public Member Functions | |
static bool | StripMarkup (char *szText) |
static bool | StripMarkup (StdStrBuf *sText) |
Definition at line 60 of file C4Markup.h.
|
inline |
Definition at line 71 of file C4Markup.h.
|
inline |
|
inline |
Definition at line 77 of file C4Markup.h.
References C4MarkupTag::Apply(), and C4MarkupTag::pNext.
Referenced by CStdFont::DrawText().
|
inline |
Definition at line 79 of file C4Markup.h.
Referenced by CStdFont::DrawText().
std::string C4Markup::ClosingTags | ( | ) | const |
Definition at line 132 of file C4Markup.cpp.
Referenced by C4LogBuffer::AppendLines().
std::string C4Markup::OpeningTags | ( | ) | const |
Definition at line 140 of file C4Markup.cpp.
Referenced by C4LogBuffer::AppendLines().
bool C4Markup::Read | ( | const char ** | ppText, |
bool | fSkip = false |
||
) |
Definition at line 52 of file C4Markup.cpp.
References b, SCharPos(), SCopyEnclosed(), SEqual(), and SLen().
Referenced by C4LogBuffer::AppendLines(), and CStdFont::DrawText().
bool C4Markup::SkipTags | ( | const char ** | ppText | ) |
Definition at line 123 of file C4Markup.cpp.
Referenced by CStdFont::BreakMessage(), C4MenuItem::DoTextProgress(), CStdFont::GetTextExtent(), LogSilent(), and StripMarkup().
|
static |
Definition at line 148 of file C4Markup.cpp.
References SkipTags(), and SSearch().
Referenced by C4PlayerInfoCore::Load(), and C4InVal::ValidateString().
|
static |
Definition at line 173 of file C4Markup.cpp.
References StdStrBuf::GrabPointer(), and StdStrBuf::Take().