Icon Class Reference
#include <Icon.h>
Public Member Functions | |
Icon (const std::string name, double width, double heigth) | |
const std::string & | name () const |
double | width () const |
double | height () const |
Constructor & Destructor Documentation
◆ Icon()
Icon::Icon | ( | const std::string | name, |
double | width, | ||
double | heigth | ||
) |
Member Function Documentation
◆ height()
double Icon::height | ( | ) | const |
- Returns
- the heigth in px of the icon
◆ name()
const std::string & Icon::name | ( | ) | const |
- Returns
- the UTF-8 encoded string with the icon name, without extension
◆ width()
double Icon::width | ( | ) | const |
- Returns
- the width in px of the icon
The documentation for this class was generated from the following file: