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

One menu row. bounds is the row rect within the menu panel. More...

#include <widget_painter.hpp>

Public Attributes

std::string text
bool separator = false
bool highlighted = false
 pointer/keyboard cursor is on this row
bool ticked = false
bool has_submenu = false
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

One menu row. bounds is the row rect within the menu panel.

Member Data Documentation

◆ 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

◆ has_submenu

bool pulp::view::MenuItemPaintState::has_submenu = false

◆ highlighted

bool pulp::view::MenuItemPaintState::highlighted = false

pointer/keyboard cursor is on this row

◆ 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

◆ separator

bool pulp::view::MenuItemPaintState::separator = false

◆ text

std::string pulp::view::MenuItemPaintState::text

◆ ticked

bool pulp::view::MenuItemPaintState::ticked = false

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