Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_windowmanager_types.h
| Show First 20 Lines • Show All 306 Lines • ▼ Show 20 Lines | typedef struct wmKeyMap { | ||||
| struct wmKeyMap *next, *prev; | struct wmKeyMap *next, *prev; | ||||
| ListBase items; | ListBase items; | ||||
| ListBase diff_items; | ListBase diff_items; | ||||
| char idname[64]; /* global editor keymaps, or for more per space/region */ | char idname[64]; /* global editor keymaps, or for more per space/region */ | ||||
| short spaceid; /* same IDs as in DNA_space_types.h */ | short spaceid; /* same IDs as in DNA_space_types.h */ | ||||
| short regionid; /* see above */ | short regionid; /* see above */ | ||||
| char bl_origin[64]; /* optional, see: #wmBLOrigin */ | |||||
| short flag; /* general flags */ | short flag; /* general flags */ | ||||
| short kmi_id; /* last kmi id */ | short kmi_id; /* last kmi id */ | ||||
| /* runtime */ | /* runtime */ | ||||
| /** Verify if enabled in the current context, use #WM_keymap_poll instead of direct calls. */ | /** Verify if enabled in the current context, use #WM_keymap_poll instead of direct calls. */ | ||||
| int (*poll)(struct bContext *); | int (*poll)(struct bContext *); | ||||
| /** For modal, #EnumPropertyItem for now. */ | /** For modal, #EnumPropertyItem for now. */ | ||||
| ▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines | |||||