|
| virtual | ~WidgetPainter ()=default |
| virtual bool | paint_rotary (canvas::Canvas &canvas, const RotaryPaintState &state, View &source) |
| virtual bool | paint_linear (canvas::Canvas &canvas, const LinearPaintState &state, View &source) |
| virtual bool | paint_button_background (canvas::Canvas &canvas, const ButtonPaintState &state, View &source) |
| virtual bool | paint_button_text (canvas::Canvas &canvas, const ButtonPaintState &state, View &source) |
| virtual bool | paint_combo_box (canvas::Canvas &canvas, const ComboBoxPaintState &state, View &source) |
| virtual bool | paint_scroll_bar (canvas::Canvas &canvas, const LinearPaintState &state, View &source) |
| virtual bool | paint_menu_background (canvas::Canvas &canvas, const MenuBackgroundPaintState &state, View &source) |
| virtual bool | paint_menu_item (canvas::Canvas &canvas, const MenuItemPaintState &state, View &source) |
| virtual bool | paint_menu_section_header (canvas::Canvas &canvas, const MenuHeaderPaintState &state, View &source) |
| virtual bool | paint_text_field_background (canvas::Canvas &canvas, const TextFieldPaintState &state, View &source) |
| virtual bool | paint_text_field_outline (canvas::Canvas &canvas, const TextFieldPaintState &state, View &source) |
| virtual bool | paint_caret (canvas::Canvas &canvas, const CaretPaintState &state, View &source) |
Install on a View to supply the pixels for the controls in its subtree.
Every hook defaults to declining (false), which leaves the widget's stock rendering in place, so a delegate only implements what it restyles.
source is the widget being painted; a delegate can read its named colors (source.resolve_color(...)) or downcast it for richer state.