2007-08-30 14:57:35 +00:00
|
|
|
/***************/
|
|
|
|
/* hotkeys.h */
|
|
|
|
/***************/
|
|
|
|
#ifndef KOTKEYS_H
|
|
|
|
#define KOTKEYS_H
|
|
|
|
|
|
|
|
#include "hotkeys_basic.h"
|
|
|
|
|
|
|
|
enum hotkey_id_commnand {
|
|
|
|
HK_NOT_FOUND = 0,
|
|
|
|
HK_RESET_LOCAL_COORD,
|
|
|
|
HK_HELP,
|
|
|
|
HK_ZOOM_IN,
|
|
|
|
HK_ZOOM_OUT,
|
|
|
|
HK_ZOOM_REDRAW,
|
|
|
|
HK_ZOOM_CENTER,
|
|
|
|
HK_DELETE,
|
|
|
|
HK_BACK_SPACE,
|
|
|
|
HK_ROTATE_FOOTPRINT,
|
|
|
|
HK_MOVE_FOOTPRINT,
|
|
|
|
HK_DRAG_FOOTPRINT,
|
|
|
|
HK_FLIP_FOOTPRINT,
|
2007-09-19 15:29:50 +00:00
|
|
|
HK_GET_AND_MOVE_FOOTPRINT,
|
2007-08-30 14:57:35 +00:00
|
|
|
HK_LOCK_UNLOCK_FOOTPRINT,
|
|
|
|
HK_ADD_VIA, HK_END_TRACK,
|
|
|
|
HK_SAVE_BOARD, HK_LOAD_BOARD,
|
2007-09-10 04:51:01 +00:00
|
|
|
HK_SWITCH_UNITS,
|
|
|
|
HK_SWITCH_TRACK_DISPLAY_MODE,
|
2007-08-30 14:57:35 +00:00
|
|
|
HK_FIND_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,
|
2007-09-06 11:52:26 +00:00
|
|
|
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
|
2007-08-30 14:57:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// List of hotkey descriptors for pcbnew
|
2007-09-06 11:52:26 +00:00
|
|
|
extern struct Ki_HotkeyInfoSectionDescriptor s_Pcbnew_Editor_Hokeys_Descr[];
|
|
|
|
// List of hotkey descriptors for the board editor only
|
|
|
|
extern struct Ki_HotkeyInfoSectionDescriptor s_Board_Editor_Hokeys_Descr[];
|
|
|
|
// List of hotkey descriptors for the footprint editor only
|
|
|
|
extern struct Ki_HotkeyInfoSectionDescriptor s_Module_Editor_Hokeys_Descr[];
|
2007-08-30 14:57:35 +00:00
|
|
|
|
|
|
|
#endif // KOTKEYS_H
|