yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::CommandEntry Struct Reference

#include <command_palette.h>

Public Attributes

std::string name
 
std::string category
 
std::string description
 
std::string shortcut
 
std::function< void()> callback
 
int usage_count = 0
 
int64_t last_used_ms = 0
 
std::string provider_id
 

Detailed Description

Definition at line 50 of file command_palette.h.

Member Data Documentation

◆ name

std::string yaze::editor::CommandEntry::name

◆ category

std::string yaze::editor::CommandEntry::category

Definition at line 52 of file command_palette.h.

Referenced by yaze::editor::CommandPalette::AddCommand().

◆ description

std::string yaze::editor::CommandEntry::description

Definition at line 53 of file command_palette.h.

Referenced by yaze::editor::CommandPalette::AddCommand().

◆ shortcut

std::string yaze::editor::CommandEntry::shortcut

Definition at line 54 of file command_palette.h.

Referenced by yaze::editor::CommandPalette::AddCommand().

◆ callback

std::function<void()> yaze::editor::CommandEntry::callback

◆ usage_count

int yaze::editor::CommandEntry::usage_count = 0

Definition at line 56 of file command_palette.h.

◆ last_used_ms

int64_t yaze::editor::CommandEntry::last_used_ms = 0

Definition at line 57 of file command_palette.h.

◆ provider_id

std::string yaze::editor::CommandEntry::provider_id

Provider attribution. Empty means the entry was added directly (not through a registered CommandProvider) and cannot be selectively refreshed.

Definition at line 60 of file command_palette.h.

Referenced by yaze::editor::CommandPalette::AddCommand().


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