A Window that can be moved around and resized.
Functions
Getters
string Element:GetTitle()
Returns the current title of the Button.
bool Element:GetDraggable()
Returns whether or not the Window is draggable.
bool Element:GetResizable()
Returns whether or not the Window is resizable.
number Element:GetResizeTolerance()
Returns the tolerance from the edges of the Window that resizing can be triggered.
Setters
void Element:SetTitle(string Text)
Sets the text of the Button.
void Element:SetDraggable(bool Draggable)
Sets whether or not the Window is draggable.
void Element:SetResizable(bool Resizable)
Sets whether or not the Window is resizable.
void Element:SetResizeTolerance(number Tolerance)
Sets the tolerance from the edges of the Window that resizing can be triggered.
Hooks
No additional hooks.
Variables
While you can modify these variables to bypass accessors, it may cause undesired behavior.
m_iTitleBarHeight
: The height of the Window's title bar.
m_bDraggable
: Whether or not the Window is draggable.
m_bResizable
: Whether or not the Window is resizable.
m_iResizeTolerance
: The tolerance from the edges of the Window that resizing can be triggered.
m_Title
: A reference to the Window's title Label.
m_CloseButton
: A reference to the Window's close Button.