#include <Size.h>
Public Member Functions | |
Size (int width=0, int height=0) | |
Construct a new Size object. | |
int | getWidth () const |
Return the size width. | |
void | setWidth (int value) |
Set the size width. | |
int | getHeight () const |
Return the size height. | |
void | setHeight (int value) |
Set the size height. | |
void | setSize (int width, int height) |
Set size. |
GUI::Size::Size | ( | int | width = 0 , |
|
int | height = 0 | |||
) |
int GUI::Size::getHeight | ( | ) | const |
Return the size height.
int GUI::Size::getWidth | ( | ) | const |
Return the size width.
void GUI::Size::setHeight | ( | int | value | ) |
Set the size height.
value | the new size height |
void GUI::Size::setSize | ( | int | width, | |
int | height | |||
) |
Set size.
width | the new size width | |
height | the new size height |
void GUI::Size::setWidth | ( | int | value | ) |
Set the size width.
value | the new size width |