Parent struct for every object that has borders. More...
#include <Objects.hpp>
Public Member Functions | |
OBJECT_BORDERS () | |
Default constructor. More... | |
virtual void | setBorders (unsigned int leftBorder=0, unsigned int topBorder=0, unsigned int rightBorder=0, unsigned int bottomBorder=0)=0 |
Changes the size of the borders. More... | |
virtual Vector4u | getBorders () const |
Returns the size of the borders as a tgui::Vector4u. More... | |
Parent struct for every object that has borders.
tgui::OBJECT_BORDERS::OBJECT_BORDERS | ( | ) |
Default constructor.
|
virtual |
Returns the size of the borders as a tgui::Vector4u.
The first element will be the size of the left border, the seconds is the size of the top border, the third is the size of the right border and the the last constains the size of the bottom border.
|
pure virtual |
Changes the size of the borders.
Implemented in tgui::ListBox, tgui::EditBox, tgui::ComboBox, tgui::ChatBox, tgui::TextBox, and tgui::ChildWindow.