|
FifeGUI 0.2.0
A C++ GUI library designed for games.
|
#include <size.hpp>
Public Member Functions | |
| int | getHeight () const |
| int | getWidth () const |
| Size & | operator= (Size &&)=default |
| Size & | operator= (Size const &)=default |
| void | setHeight (int height) |
| void | setWidth (int width) |
| Size (int width=0, int height=0) | |
| Size (Size &&)=default | |
| Size (Size const &)=default | |
|
explicit |
Constructor initializes size values.
| width | Width of size. |
| height | Height of size. |
Definition at line 9 of file size.cpp.
Referenced by operator=(), operator=(), Size(), and Size().
| int fcn::Size::getHeight | ( | ) | const |
Definition at line 16 of file size.cpp.
Referenced by fcn::ScrollArea::adjustSize(), operator=(), and fcn::ScrollArea::resizeToContent().
| int fcn::Size::getWidth | ( | ) | const |
Definition at line 11 of file size.cpp.
Referenced by fcn::ScrollArea::adjustSize(), operator=(), and fcn::ScrollArea::resizeToContent().
| void fcn::Size::setHeight | ( | int | height | ) |
Sets the height of size.
| height | Desired height. |
Definition at line 26 of file size.cpp.
Referenced by operator=().
| void fcn::Size::setWidth | ( | int | width | ) |
Sets the width of size.
| width | Desired width. |
Definition at line 21 of file size.cpp.
Referenced by operator=().