|
|
@ -121,8 +121,8 @@ namespace NLGUI
|
|
|
|
void setShadowInSelection(bool s) { m_DisableShadowInSelection = !s; }
|
|
|
|
void setShadowInSelection(bool s) { m_DisableShadowInSelection = !s; }
|
|
|
|
bool getShadowInSelection() const { return !m_DisableShadowInSelection; }
|
|
|
|
bool getShadowInSelection() const { return !m_DisableShadowInSelection; }
|
|
|
|
|
|
|
|
|
|
|
|
/// Get
|
|
|
|
/// Get displayed text
|
|
|
|
std::string getText() const { return _HardText.empty() ? _Text : _HardText; }
|
|
|
|
std::string getText() const { return _Text; }
|
|
|
|
#ifdef RYZOM_LUA_UCSTRING
|
|
|
|
#ifdef RYZOM_LUA_UCSTRING
|
|
|
|
ucstring getTextAsUtf16() const; // Compatibility
|
|
|
|
ucstring getTextAsUtf16() const; // Compatibility
|
|
|
|
ucstring getHardTextAsUtf16() const; // Compatibility
|
|
|
|
ucstring getHardTextAsUtf16() const; // Compatibility
|
|
|
@ -190,6 +190,7 @@ namespace NLGUI
|
|
|
|
/// From a line number, get the character at which it ends (not including any '\n' ), or -1 if invalid
|
|
|
|
/// From a line number, get the character at which it ends (not including any '\n' ), or -1 if invalid
|
|
|
|
void getLineEndIndex(uint line, sint &index, bool &endOfPreviousLine) const;
|
|
|
|
void getLineEndIndex(uint line, sint &index, bool &endOfPreviousLine) const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// If localized, return localization key (ie "uiLanguage"), else return displayed text.
|
|
|
|
std::string getHardText() const { return _HardText.empty() ? _Text : _HardText; }
|
|
|
|
std::string getHardText() const { return _HardText.empty() ? _Text : _HardText; }
|
|
|
|
void setHardText (const std::string &ht); //< Localizes strings starting with "ui"
|
|
|
|
void setHardText (const std::string &ht); //< Localizes strings starting with "ui"
|
|
|
|
#ifdef RYZOM_LUA_UCSTRING
|
|
|
|
#ifdef RYZOM_LUA_UCSTRING
|
|
|
|