diff --git a/eeschema/hotkeys.h b/eeschema/hotkeys.h index c5c0a30141..59a642b20b 100644 --- a/eeschema/hotkeys.h +++ b/eeschema/hotkeys.h @@ -1,35 +1,35 @@ -/***************/ -/* 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_NEXT_SEARCH, - HK_DELETE, - HK_REPEAT_LAST, - HK_MOVEBLOCK_TO_DRAGBLOCK, - HK_ROTATE_COMPONENT, - HK_MIRROR_X_COMPONENT, - HK_MIRROR_Y_COMPONENT, - HK_ORIENT_NORMAL_COMPONENT, - HK_MOVE_COMPONENT, - HK_ADD_NEW_COMPONENT, - HK_BEGIN_WIRE -}; - -// List of hotkey descriptors for schematic -extern Ki_HotkeyInfo* s_Schematic_Hotkey_List[]; -// List of hotkey descriptors for libray editor -extern Ki_HotkeyInfo* s_LibEdit_Hotkey_List[]; - -#endif // KOTKEYS_H +/***************/ +/* 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_NEXT_SEARCH, + HK_DELETE, + HK_REPEAT_LAST, + HK_MOVEBLOCK_TO_DRAGBLOCK, + HK_ROTATE_COMPONENT, + HK_MIRROR_X_COMPONENT, + HK_MIRROR_Y_COMPONENT, + HK_ORIENT_NORMAL_COMPONENT, + HK_MOVE_COMPONENT, + HK_ADD_NEW_COMPONENT, + HK_BEGIN_WIRE +}; + +// List of hotkey descriptors for schematic +extern Ki_HotkeyInfo* s_Schematic_Hotkey_List[]; +// List of hotkey descriptors for libray editor +extern Ki_HotkeyInfo* s_LibEdit_Hotkey_List[]; + +#endif // KOTKEYS_H diff --git a/pcbnew/hotkeys.h b/pcbnew/hotkeys.h index 973617affa..c315e61c25 100644 --- a/pcbnew/hotkeys.h +++ b/pcbnew/hotkeys.h @@ -1,45 +1,45 @@ -/***************/ -/* 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, - HK_LOCK_UNLOCK_FOOTPRINT, - HK_ADD_VIA, HK_END_TRACK, - HK_SAVE_BOARD, HK_LOAD_BOARD, - HK_SWITCH_UNITS, HK_SWITCH_TRACK_DISPLAY_MODE, - 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, - HK_SWITCH_LAYER_TO_INNER6 -}; - -// List of hotkey descriptors for pcbnew -extern Ki_HotkeyInfo* s_board_edit_Hotkey_List[]; -// List of hotkey descriptors for the module editor -extern Ki_HotkeyInfo* s_module_edit_Hotkey_List[]; - -#endif // KOTKEYS_H +/***************/ +/* 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, + HK_LOCK_UNLOCK_FOOTPRINT, + HK_ADD_VIA, HK_END_TRACK, + HK_SAVE_BOARD, HK_LOAD_BOARD, + HK_SWITCH_UNITS, HK_SWITCH_TRACK_DISPLAY_MODE, + 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, + HK_SWITCH_LAYER_TO_INNER6 +}; + +// List of hotkey descriptors for pcbnew +extern Ki_HotkeyInfo* s_board_edit_Hotkey_List[]; +// List of hotkey descriptors for the module editor +extern Ki_HotkeyInfo* s_module_edit_Hotkey_List[]; + +#endif // KOTKEYS_H