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 34 of file hotkey_store.h.

Constructor & Destructor Documentation

◆ HOTKEY() [1/2]

HOTKEY::HOTKEY ( )
inline

Definition at line 39 of file hotkey_store.h.

39 :
40 m_EditKeycode( 0 )
41 { }
int m_EditKeycode
Definition: hotkey_store.h:37

◆ HOTKEY() [2/2]

HOTKEY::HOTKEY ( TOOL_ACTION aAction)
inline

Definition at line 43 of file hotkey_store.h.

43 :
44 m_EditKeycode( aAction->GetHotKey() )
45 {
46 m_Actions.push_back( aAction );
47 }
int GetHotKey() const
Return the hotkey keycode which initiates the action.
Definition: tool_action.h:111
std::vector< TOOL_ACTION * > m_Actions
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: