#include <uitem.hpp>
Inheritance diagram for ufo::UStringItem:
Public Member Functions | |
UStringItem (const std::string &str) | |
UStringItem (UIcon *i) | |
UStringItem (const std::string &str, UIcon *icon) | |
virtual void | paintItem (UGraphics *g, const URectangle &rect, const UStyleHints *hints, uint32_t state, const UWidget *parent=NULL) |
virtual UDimension | getItemSize (const UDimension &maxSize, const UStyleHints *hints, const UWidget *parent=NULL) const |
virtual std::string | itemToString () const |
virtual void | install (UWidget *parent) |
virtual void | uninstall (UWidget *parent) |
Protected Member Functions | |
virtual std::ostream & | paramString (std::ostream &os) const |
|
Returns the desired item size. Implements ufo::UItem.
|
|
A string representation of the current value. Most items show up only a string. Implements ufo::UItem.
|
|
Paints the item at the specified position with the specified values. Implements ufo::UItem.
|
|
Prints some useful internal data to the ostream os. This method is meant only for debugging purposes. Reimplemented from ufo::UObject.
|