2#include <Cyrus/Classes/Window.h>
3#include <Cyrus/shared.h>
25 std::wstring m_sTooltip;
28 bool m_bUseDropShadow;
30 bool m_bEnableWordWrap;
39 std::wstring
getText()
const {
return m_sText; }
46 void setText(
const std::wstring &text) { m_sText = text; }
60 void setTooltip(
const std::wstring &tooltip) { m_sTooltip = tooltip; }
89 m_bUseDropShadow = useDropShadow;
119 m_bEnableWordWrap = enableWordWrap;
A class that represents a text-based control element in a window.
Definition ControlText.h:22
void setOutlineUsed(bool useOutline)
Enable or disable outline.
Definition ControlText.h:104
std::wstring getTooltip() const
Get the tooltip text of the control.
Definition ControlText.h:53
bool isOutlineUsed() const
Check if outline is used.
Definition ControlText.h:97
void setText(const std::wstring &text)
Set the text of the control.
Definition ControlText.h:46
void setWordWrapEnabled(bool enableWordWrap)
Enable or disable word wrap.
Definition ControlText.h:118
void setDropShadowUsed(bool useDropShadow)
Enable or disable drop shadow.
Definition ControlText.h:88
void setToggleEnabled(bool enableToggle)
Enable or disable toggle.
Definition ControlText.h:74
bool isWordWrapEnabled() const
Check if word wrap is enabled.
Definition ControlText.h:111
std::wstring getText() const
Get the text of the control.
Definition ControlText.h:39
int getLeadingAdjust() const
Get the leading adjustment value.
Definition ControlText.h:127
bool isToggleEnabled() const
Check if toggle is enabled.
Definition ControlText.h:67
void setLeadingAdjust(int leadingAdjust)
Set the leading adjustment value.
Definition ControlText.h:134
bool isDropShadowUsed() const
Check if drop shadow is used.
Definition ControlText.h:81
void setTooltip(const std::wstring &tooltip)
Set the tooltip text of the control.
Definition ControlText.h:60
Represents a Wizard101 Window, think anything you see on screen that is not a 3D model.
Definition Window.h:45
Definition ControlText.h:141
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, m_sTooltip, 0x268)
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, m_sText, 0x248)
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, m_bEnableWordWrap, 0x28F)
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, pad, 0x288)
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, m_bEnableToggle, 0x28C)
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, m_nLeadingAdjust, 0x290)
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, m_bUseOutline, 0x28E)
DEFINE_OFFSET_AND_STATIC_ASSERT(ControlText, m_bUseDropShadow, 0x28D)