| public |
Inheritance Graph
graph BT
Icon
Icon --> Component
click Icon "classGUI_1_1Icon"
click Component "classGUI_1_1Component"
Description
| A rectangular part of an Image . Icon | > Component | —> Image |
Public Functions
| Icon( GUI_Manager & gui, const Geometry::Vec2 & pos, Util::WeakPointer < ImageData > imageData, const Geometry::Rect & imageRect, flag_t flags) | |
| Icon( GUI_Manager & gui, const Geometry::Rect & r, flag_t flags) | |
| ~Icon() | |
| void | setImageData( Util::WeakPointer < ImageData > newImage) |
| void | setImageRect(const Geometry::Rect & newImageRect) |
| ImageData * | getImageData() const |
| Geometry::Rect | getImageRect() const |
Documentation
function
GUI::Icon::Icon
| public |
| Icon( | GUI_Manager & | gui, |
| const Geometry::Vec2 & | pos, | |
| Util::WeakPointer < ImageData > | imageData, | |
| const Geometry::Rect & | imageRect, | |
| flag_t | flags | |
| ) |
Defined in GUI/Components/Icon.h:27
function
GUI::Icon::Icon
| public |
| Icon( | GUI_Manager & | gui, |
| const Geometry::Rect & | r, | |
| flag_t | flags | |
| ) |
Defined in GUI/Components/Icon.h:28
function
GUI::Icon::~Icon
| public | virtual |
| ~Icon( | ) |
Defined in GUI/Components/Icon.h:29
function
GUI::Icon::setImageData
| public | inline |
| void setImageData( | Util::WeakPointer < ImageData > | newImage ) |
Defined in GUI/Components/Icon.h:31
function
GUI::Icon::setImageRect
| public | inline |
| void setImageRect( | const Geometry::Rect & | newImageRect ) |
Defined in GUI/Components/Icon.h:32
function
GUI::Icon::getImageData
| public | const | inline |
| ImageData * getImageData( | ) const |
Defined in GUI/Components/Icon.h:34
function
GUI::Icon::getImageRect
| public | const | inline |
| Geometry::Rect getImageRect( | ) const |
Defined in GUI/Components/Icon.h:35