75 lines
2.1 KiB
C
75 lines
2.1 KiB
C
/**
|
|
* @file hotkeys.h
|
|
* PCBNew hotkeys
|
|
*/
|
|
#ifndef _PCBNEW_KOTKEYS_H
|
|
#define _PCBNEW_HOTKEYS_H
|
|
|
|
#include "hotkeys_basic.h"
|
|
|
|
// List of hot keys id.
|
|
// see also enum common_hotkey_id_commnand in hotkeys_basic.h
|
|
// for shared hotkeys id
|
|
enum hotkey_id_commnand {
|
|
HK_DELETE = HK_COMMON_END,
|
|
HK_BACK_SPACE,
|
|
HK_ROTATE_ITEM,
|
|
HK_MOVE_ITEM,
|
|
HK_DRAG_ITEM,
|
|
HK_FLIP_FOOTPRINT,
|
|
HK_GET_AND_MOVE_FOOTPRINT,
|
|
HK_LOCK_UNLOCK_FOOTPRINT,
|
|
HK_ADD_NEW_TRACK,
|
|
HK_ADD_VIA,
|
|
HK_ADD_MICROVIA,
|
|
HK_SWITCH_TRACK_POSTURE,
|
|
HK_END_TRACK,
|
|
HK_SAVE_BOARD, HK_LOAD_BOARD,
|
|
HK_SWITCH_UNITS,
|
|
HK_SWITCH_TRACK_DISPLAY_MODE,
|
|
HK_FIND_ITEM,
|
|
HK_EDIT_ITEM,
|
|
HK_SWITCH_LAYER_TO_COPPER,
|
|
HK_SWITCH_LAYER_TO_COMPONENT,
|
|
HK_SWITCH_LAYER_TO_NEXT,
|
|
HK_SWITCH_LAYER_TO_PREVIOUS,
|
|
HK_SWITCH_LAYER_TO_INNER1,
|
|
HK_SWITCH_LAYER_TO_INNER2,
|
|
HK_SWITCH_LAYER_TO_INNER3,
|
|
HK_SWITCH_LAYER_TO_INNER4,
|
|
HK_SWITCH_LAYER_TO_INNER5,
|
|
HK_SWITCH_LAYER_TO_INNER6,
|
|
HK_SWITCH_LAYER_TO_INNER7,
|
|
HK_SWITCH_LAYER_TO_INNER8,
|
|
HK_SWITCH_LAYER_TO_INNER9,
|
|
HK_SWITCH_LAYER_TO_INNER10,
|
|
HK_SWITCH_LAYER_TO_INNER11,
|
|
HK_SWITCH_LAYER_TO_INNER12,
|
|
HK_SWITCH_LAYER_TO_INNER13,
|
|
HK_SWITCH_LAYER_TO_INNER14,
|
|
HK_ADD_MODULE,
|
|
HK_SLIDE_TRACK
|
|
};
|
|
|
|
// Full list of hotkey descriptors for borad editor and footprint editor
|
|
extern struct Ki_HotkeyInfoSectionDescriptor g_Pcbnew_Editor_Hokeys_Descr[];
|
|
|
|
// List of hotkey descriptors for the board editor only
|
|
extern struct Ki_HotkeyInfoSectionDescriptor g_Board_Editor_Hokeys_Descr[];
|
|
|
|
// List of hotkey descriptors for the footprint editor only
|
|
extern struct Ki_HotkeyInfoSectionDescriptor g_Module_Editor_Hokeys_Descr[];
|
|
|
|
// List of common hotkey descriptors
|
|
// used in hotkeys_board_editor.cpp and hotkeys_module_editor.cpp
|
|
extern Ki_HotkeyInfo* common_Hotkey_List[];
|
|
// List of hotkey descriptors for pcbnew
|
|
// used in hotkeys_board_editor.cpp
|
|
extern Ki_HotkeyInfo* board_edit_Hotkey_List[];
|
|
// List of hotkey descriptors for the module editor
|
|
// used in hotkeys_module_editor.cpp
|
|
extern Ki_HotkeyInfo* module_edit_Hotkey_List[];
|
|
|
|
|
|
#endif /* _PCBNEW_HOTKEYS_H_ */
|