mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 10:43:15 +02:00
* fixed a bug in hierarchal shematics where a loop (e.g. same file included at different points in the hierarchy) would cause infinite memory use. * added a edit footprint hotkey to eeschema, since it seems I'm always editing '0603' '0402' etc. on the common components, and it was difficult to edit this information before.
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/***************/
|
|
/* 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_EDIT_PIN,
|
|
HK_MOVE_PIN,
|
|
HK_DELETE_PIN,
|
|
HK_UNDO,
|
|
HK_REDO,
|
|
HK_MOVEBLOCK_TO_DRAGBLOCK,
|
|
HK_ROTATE_COMPONENT,
|
|
HK_EDIT_COMPONENT_VALUE,
|
|
HK_EDIT_COMPONENT_FOOTPRINT,
|
|
HK_MIRROR_X_COMPONENT,
|
|
HK_MIRROR_Y_COMPONENT,
|
|
HK_ORIENT_NORMAL_COMPONENT,
|
|
HK_MOVE_COMPONENT,
|
|
HK_DRAG_COMPONENT,
|
|
HK_ADD_NEW_COMPONENT,
|
|
HK_BEGIN_WIRE
|
|
};
|
|
|
|
// List of hotkey descriptors for eeschema
|
|
extern struct Ki_HotkeyInfoSectionDescriptor s_Eeschema_Hokeys_Descr[];
|
|
// List of hotkey descriptors for the schematic editor only
|
|
extern struct Ki_HotkeyInfoSectionDescriptor s_Schematic_Hokeys_Descr[];
|
|
// List of hotkey descriptors for the lib editor only
|
|
extern struct Ki_HotkeyInfoSectionDescriptor s_Libedit_Hokeys_Descr[];
|
|
|
|
#endif // KOTKEYS_H
|