#include <uimageicon.hpp>
Inheritance diagram for ufo::UImageIcon:
Public Member Functions | |
UImageIcon (const std::string &fileName) | |
UImageIcon (UImage *image) | |
virtual void | paintIcon (UGraphics *g, const URectangle &rect, const UStyleHints *hints, uint32_t widgetState=0) |
virtual UDimension | getIconSize () const |
|
Creates an image icon with an image using the given file name.
|
|
Creates an icon displaying the given image.
|
|
Implements ufo::UIcon.
|
|
Paints this icon on the given graphics object. If the size of the rectangle is empty or invalid, the actual icon size is used. Furthermore, the icon may ignore given sizes.
Implements ufo::UIcon.
|