A push / toggle button.
More...
#include <widget_painter.hpp>
A push / toggle button.
background is the color the widget itself would have used, offered so a skin can tint rather than replace it.
◆ background
◆ bounds
| Rect pulp::view::ControlPaintState::bounds {} |
|
inherited |
paint area, LOCAL to the widget (origin 0,0)
◆ enabled
| bool pulp::view::ControlPaintState::enabled = true |
|
inherited |
◆ focused
| bool pulp::view::ControlPaintState::focused = false |
|
inherited |
control holds keyboard focus
◆ hovered
| bool pulp::view::ControlPaintState::hovered = false |
|
inherited |
pointer is over the control
◆ pressed
| bool pulp::view::ControlPaintState::pressed = false |
|
inherited |
pointer is down on the control
◆ text
| std::string pulp::view::ButtonPaintState::text |
◆ toggled
| bool pulp::view::ButtonPaintState::toggled = false |
The documentation for this struct was generated from the following file: