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
 

Detailed Description

Definition at line 12 of file command_palette.h.

Member Data Documentation

◆ name

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

Definition at line 13 of file command_palette.h.

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

◆ category

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

Definition at line 14 of file command_palette.h.

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

◆ description

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

Definition at line 15 of file command_palette.h.

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

◆ shortcut

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

Definition at line 16 of file command_palette.h.

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

◆ callback

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

Definition at line 17 of file command_palette.h.

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

◆ usage_count

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

Definition at line 18 of file command_palette.h.

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

◆ last_used_ms

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

Definition at line 19 of file command_palette.h.


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