#include <uicon.hpp>
Inheritance diagram for ufo::UIcon:
Public Member Functions | |
virtual void | paintIcon (UGraphics *g, const URectangle &rect, const UStyleHints *hints, uint32_t widgetState=0)=0 |
void | paintIcon (UGraphics *g, int x, int y, const UStyleHints *hints, uint32_t widgetState=0) |
virtual UDimension | getIconSize () const =0 |
|
Implemented in ufo::UImageIcon, and ufo::UXBMIcon.
|
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
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.
Implemented in ufo::UImageIcon, and ufo::UXBMIcon.
|