#include <ubasicstyle.hpp>
Inheritance diagram for ufo::UBasicStyle:
Public Member Functions | |
virtual void | paintComponent (UGraphics *g, ComponentElement elem, const URectangle &rect, const UStyleHints *hints, const UWidgetModel *model, UWidget *w=NULL) |
virtual void | paintPrimitive (UGraphics *g, PrimitiveElement elem, const URectangle &rect, const UStyleHints *hints, uint32_t widgetState) |
virtual void | paintBorder (UGraphics *g, uint32_t borderType, const URectangle &rect, const UStyleHints *hints, uint32_t widgetState) |
virtual UInsets | getBorderInsets (ComponentElement elem, const UStyleHints *hints) |
virtual UInsets | getInsets (ComponentElement elem, const UStyleHints *hints, const UWidgetModel *model, UWidget *w=NULL) |
virtual SubControls | getSubControlAt (ComponentElement elem, const URectangle &rect, const UStyleHints *hints, const UWidgetModel *model, const UPoint &pos, UWidget *w=NULL) |
virtual URectangle | getSubControlBounds (ComponentElement elem, const URectangle &rect, const UStyleHints *hints, const UWidgetModel *model, SubControls subElem, UWidget *w=NULL) |
virtual UDimension | getSizeFromContents (ComponentElement elem, const UDimension &contentsSize, const UStyleHints *hints, const UWidgetModel *model, UWidget *w=NULL) |
virtual void | paintCompound (UGraphics *g, const UStyleHints *hints, const std::string &text, UIcon *icon, const URectangle &rect, uint32_t widgetState, int acceleratorIndex=-1) |
virtual UDimension | getCompoundPreferredSize (const UStyleHints *hints, const std::string &text, UIcon *icon) |
virtual void | layoutCompound (const UStyleHints *hints, const std::string &text, UIcon *icon, const URectangle &viewRect, URectangle *textRect, URectangle *iconRect) |
virtual void | install (UWidget *w) |
virtual void | uninstall (UWidget *w) |
|
Implements ufo::UStyle.
|
|
Implements ufo::UStyle.
|
|
Implements ufo::UStyle.
|
|
May return a slightly enlarged dimension to add space for focus, styled borders or icons. Implements ufo::UStyle.
|
|
Implements ufo::UStyle.
|
|
Implements ufo::UStyle.
|
|
Stub method. Configures a widget to be used with this style. Not yet implementd. Implements ufo::UStyle.
|
|
Lays out an icon with text. Implements ufo::UStyle.
|
|
Paints a border. Implements ufo::UStyle.
|
|
Paints a component of a widget resp. the whole widget. For most components, this is only a call to paintModelBackground and paintModel. Implements ufo::UStyle.
|
|
Paints an icon with text. Implements ufo::UStyle.
|
|
Paints a primitive element like arrows and frames. Implements ufo::UStyle.
|