Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_api/spacetypes.c
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
| #include "ED_uvedit.h" | #include "ED_uvedit.h" | ||||
| #include "ED_lattice.h" | #include "ED_lattice.h" | ||||
| #include "ED_mball.h" | #include "ED_mball.h" | ||||
| #include "ED_logic.h" | #include "ED_logic.h" | ||||
| #include "ED_clip.h" | #include "ED_clip.h" | ||||
| #include "ED_mask.h" | #include "ED_mask.h" | ||||
| #include "ED_sequencer.h" | #include "ED_sequencer.h" | ||||
| #include "ED_gizmo_library.h" | #include "ED_gizmo_library.h" | ||||
| #include "ED_transform.h" | |||||
| #include "io_ops.h" | #include "io_ops.h" | ||||
| /* only call once on startup, storage is global in BKE kernel listbase */ | /* only call once on startup, storage is global in BKE kernel listbase */ | ||||
| void ED_spacetypes_init(void) | void ED_spacetypes_init(void) | ||||
| { | { | ||||
| const ListBase *spacetypes; | const ListBase *spacetypes; | ||||
| SpaceType *type; | SpaceType *type; | ||||
| ▲ Show 20 Lines • Show All 132 Lines • ▼ Show 20 Lines | void ED_spacetypes_keymap(wmKeyConfig *keyconf) | ||||
| ED_keymap_metaball(keyconf); | ED_keymap_metaball(keyconf); | ||||
| ED_keymap_paint(keyconf); | ED_keymap_paint(keyconf); | ||||
| ED_keymap_mask(keyconf); | ED_keymap_mask(keyconf); | ||||
| ED_keymap_marker(keyconf); | ED_keymap_marker(keyconf); | ||||
| ED_keymap_view2d(keyconf); | ED_keymap_view2d(keyconf); | ||||
| ED_keymap_ui(keyconf); | ED_keymap_ui(keyconf); | ||||
| ED_keymap_transform(keyconf); | |||||
| spacetypes = BKE_spacetypes_list(); | spacetypes = BKE_spacetypes_list(); | ||||
| for (stype = spacetypes->first; stype; stype = stype->next) { | for (stype = spacetypes->first; stype; stype = stype->next) { | ||||
| if (stype->keymap) | if (stype->keymap) | ||||
| stype->keymap(keyconf); | stype->keymap(keyconf); | ||||
| for (atype = stype->regiontypes.first; atype; atype = atype->next) { | for (atype = stype->regiontypes.first; atype; atype = atype->next) { | ||||
| if (atype->keymap) | if (atype->keymap) | ||||
| atype->keymap(keyconf); | atype->keymap(keyconf); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines | |||||