#include <icon.h>
Definition at line 34 of file icon.h.
Public Member Functions | |
| Icon (const std::string &filename) | |
| Constructor. | |
| Icon (Image *image) | |
| Constructor, uses an existing Image. | |
| Image * | getImage () const |
| Gets the current Image. | |
| void | setImage (Image *image) |
| Sets the image to display. | |
| void | draw (gcn::Graphics *g) |
| Draws the Icon. | |
Private Attributes | |
| Image * | mImage |
| Icon::Icon | ( | Image * | image | ) |
| Image* Icon::getImage | ( | ) | const [inline] |
| void Icon::setImage | ( | Image * | image | ) |
Image* Icon::mImage [private] |
1.5.5