Class for handling text with translation support.
More...
#include <SWnd.h>
Class for handling text with translation support.
Definition at line 230 of file SWnd.h.
◆ STrText()
SNSBEGIN STrText::STrText |
( |
SWindow * | pOwner = NULL | ) |
|
Constructor.
- Parameters
-
Definition at line 19 of file Swnd.cpp.
◆ EscapeString()
Escapes a string.
- Parameters
-
- Returns
- Escaped string.
Definition at line 52 of file Swnd.cpp.
◆ GetText()
SStringT STrText::GetText |
( |
BOOL | bRawText = FALSE | ) |
const |
Gets the text.
- Parameters
-
bRawText | Flag to get raw text. |
- Returns
- Text string.
Definition at line 30 of file Swnd.cpp.
◆ SetOwner()
void STrText::SetOwner |
( |
SWindow * | pOwner | ) |
|
Sets the owner window.
- Parameters
-
Definition at line 25 of file Swnd.cpp.
◆ SetText()
void STrText::SetText |
( |
const SStringT & | strText, |
|
|
bool | bAutoEscape = true ) |
Sets the text.
- Parameters
-
strText | Text to set. |
bAutoEscape | Flag to automatically escape the text. |
Definition at line 35 of file Swnd.cpp.
◆ TranslateText()
void STrText::TranslateText |
( |
| ) |
|
Translates the text.
Definition at line 42 of file Swnd.cpp.
◆ bAutoEscape
bool STrText::bAutoEscape |
|
protected |
Auto-escape flag
Definition at line 273 of file SWnd.h.
◆ pOwner
Owner window
Definition at line 271 of file SWnd.h.
◆ strRaw
Raw text
Definition at line 272 of file SWnd.h.
◆ strTr
Translated text
Definition at line 274 of file SWnd.h.
The documentation for this class was generated from the following files: