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

Metadata for one command. More...

#include <command_registry.hpp>

Public Attributes

CommandID id = kInvalidCommandID
std::string name
 User-facing display name ("Open File…").
std::string category
 Group ("File", "Edit", "View") for the editor.
KeyCode default_key = KeyCode::unknown
std::uint16_t default_modifiers = 0
bool enabled = true
 False = greyed out / not dispatched.

Detailed Description

Metadata for one command.

Used by KeyMappingEditor to render the list of rebindable actions and by the registry for display/debug.

Member Data Documentation

◆ category

std::string pulp::view::CommandInfo::category

Group ("File", "Edit", "View") for the editor.

◆ default_key

KeyCode pulp::view::CommandInfo::default_key = KeyCode::unknown

◆ default_modifiers

std::uint16_t pulp::view::CommandInfo::default_modifiers = 0

◆ enabled

bool pulp::view::CommandInfo::enabled = true

False = greyed out / not dispatched.

◆ id

CommandID pulp::view::CommandInfo::id = kInvalidCommandID

◆ name

std::string pulp::view::CommandInfo::name

User-facing display name ("Open File…").


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