KiCad PCB EDA Suite
HOTKEY Struct Reference

#include <hotkey_store.h>

Public Member Functions

 HOTKEY ()
 
 HOTKEY (TOOL_ACTION *aAction)
 

Public Attributes

std::vector< TOOL_ACTION * > m_Actions
 
int m_EditKeycode
 

Detailed Description

Definition at line 33 of file hotkey_store.h.

Constructor & Destructor Documentation

◆ HOTKEY() [1/2]

HOTKEY::HOTKEY ( )
inline

Definition at line 38 of file hotkey_store.h.

38  :
39  m_EditKeycode( 0 )
40  { }
int m_EditKeycode
Definition: hotkey_store.h:36

◆ HOTKEY() [2/2]

HOTKEY::HOTKEY ( TOOL_ACTION aAction)
inline

Definition at line 42 of file hotkey_store.h.

42  :
43  m_EditKeycode( aAction->GetHotKey() )
44  {
45  m_Actions.push_back( aAction );
46  }
std::vector< TOOL_ACTION * > m_Actions
Definition: hotkey_store.h:35
int GetHotKey() const
Function GetHotKey() Returns the hotkey keycode which initiates the action.
Definition: tool_action.h:90
int m_EditKeycode
Definition: hotkey_store.h:36

References m_Actions.

Member Data Documentation

◆ m_Actions

◆ m_EditKeycode


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