Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::ControlPaintState Struct Reference

State every control hands to its painter. More...

#include <widget_painter.hpp>

Public Attributes

Rect bounds {}
 paint area, LOCAL to the widget (origin 0,0)
bool enabled = true
bool hovered = false
 pointer is over the control
bool pressed = false
 pointer is down on the control
bool focused = false
 control holds keyboard focus

Detailed Description

State every control hands to its painter.

Member Data Documentation

◆ bounds

Rect pulp::view::ControlPaintState::bounds {}

paint area, LOCAL to the widget (origin 0,0)

◆ enabled

bool pulp::view::ControlPaintState::enabled = true

◆ focused

bool pulp::view::ControlPaintState::focused = false

control holds keyboard focus

◆ hovered

bool pulp::view::ControlPaintState::hovered = false

pointer is over the control

◆ pressed

bool pulp::view::ControlPaintState::pressed = false

pointer is down on the control


The documentation for this struct was generated from the following file: