2010-01-17 20:25:10 +00:00
|
|
|
/**
|
2010-12-14 15:56:30 +00:00
|
|
|
* @file pcbnew/hotkeys.h
|
2010-01-17 20:25:10 +00:00
|
|
|
* PCBNew hotkeys
|
|
|
|
*/
|
|
|
|
#ifndef _PCBNEW_KOTKEYS_H
|
|
|
|
#define _PCBNEW_HOTKEYS_H
|
2007-08-30 14:57:35 +00:00
|
|
|
|
|
|
|
#include "hotkeys_basic.h"
|
|
|
|
|
2010-02-14 18:14:33 +00:00
|
|
|
// List of hot keys id.
|
|
|
|
// see also enum common_hotkey_id_commnand in hotkeys_basic.h
|
|
|
|
// for shared hotkeys id
|
2007-08-30 14:57:35 +00:00
|
|
|
enum hotkey_id_commnand {
|
2010-02-14 18:14:33 +00:00
|
|
|
HK_DELETE = HK_COMMON_END,
|
2007-08-30 14:57:35 +00:00
|
|
|
HK_BACK_SPACE,
|
2010-08-12 19:41:13 +00:00
|
|
|
HK_ROTATE_ITEM,
|
|
|
|
HK_MOVE_ITEM,
|
2010-08-17 10:41:44 +00:00
|
|
|
HK_DRAG_ITEM,
|
2007-08-30 14:57:35 +00:00
|
|
|
HK_FLIP_FOOTPRINT,
|
2009-12-02 09:59:49 +00:00
|
|
|
HK_GET_AND_MOVE_FOOTPRINT,
|
2007-08-30 14:57:35 +00:00
|
|
|
HK_LOCK_UNLOCK_FOOTPRINT,
|
2009-12-03 12:28:04 +00:00
|
|
|
HK_ADD_NEW_TRACK,
|
2008-01-12 20:31:56 +00:00
|
|
|
HK_ADD_VIA,
|
2009-12-02 09:59:49 +00:00
|
|
|
HK_ADD_MICROVIA,
|
2010-06-16 15:01:45 +00:00
|
|
|
HK_SWITCH_TRACK_POSTURE,
|
2009-12-02 09:59:49 +00:00
|
|
|
HK_END_TRACK,
|
2007-08-30 14:57:35 +00:00
|
|
|
HK_SAVE_BOARD, HK_LOAD_BOARD,
|
2007-09-10 04:51:01 +00:00
|
|
|
HK_SWITCH_UNITS,
|
2009-06-19 20:13:22 +00:00
|
|
|
HK_SWITCH_TRACK_DISPLAY_MODE,
|
2007-08-30 14:57:35 +00:00
|
|
|
HK_FIND_ITEM,
|
2010-08-10 18:34:26 +00:00
|
|
|
HK_EDIT_ITEM,
|
2007-08-30 14:57:35 +00:00
|
|
|
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,
|
2007-09-06 11:52:26 +00:00
|
|
|
HK_SWITCH_LAYER_TO_INNER6,
|
2009-06-19 20:13:22 +00:00
|
|
|
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
|
2007-08-30 14:57:35 +00:00
|
|
|
};
|
|
|
|
|
2010-11-24 15:10:33 +00:00
|
|
|
// Full list of hotkey descriptors for borad editor and footprint editor
|
|
|
|
extern struct Ki_HotkeyInfoSectionDescriptor g_Pcbnew_Editor_Hokeys_Descr[];
|
2009-12-02 09:59:49 +00:00
|
|
|
|
2007-09-06 11:52:26 +00:00
|
|
|
// List of hotkey descriptors for the board editor only
|
2010-11-24 15:10:33 +00:00
|
|
|
extern struct Ki_HotkeyInfoSectionDescriptor g_Board_Editor_Hokeys_Descr[];
|
2009-12-02 09:59:49 +00:00
|
|
|
|
2007-09-06 11:52:26 +00:00
|
|
|
// List of hotkey descriptors for the footprint editor only
|
2010-11-24 15:10:33 +00:00
|
|
|
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[];
|
|
|
|
|
2007-08-30 14:57:35 +00:00
|
|
|
|
2010-01-17 20:25:10 +00:00
|
|
|
#endif /* _PCBNEW_HOTKEYS_H_ */
|