Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_screen.h
| Show All 39 Lines | |||||
| struct uiLayout; | struct uiLayout; | ||||
| struct uiList; | struct uiList; | ||||
| struct wmGizmoMap; | struct wmGizmoMap; | ||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct wmMsgBus; | struct wmMsgBus; | ||||
| struct wmNotifier; | struct wmNotifier; | ||||
| struct wmWindow; | struct wmWindow; | ||||
| struct wmWindowManager; | struct wmWindowManager; | ||||
| struct VideoEdit; | |||||
| /* spacetype has everything stored to get an editor working, it gets initialized via | /* spacetype has everything stored to get an editor working, it gets initialized via | ||||
| * #ED_spacetypes_init() in `editors/space_api/spacetypes.c` */ | * #ED_spacetypes_init() in `editors/space_api/spacetypes.c` */ | ||||
| /* an editor in Blender is a combined ScrArea + SpaceType + SpaceData */ | /* an editor in Blender is a combined ScrArea + SpaceType + SpaceData */ | ||||
| #define BKE_ST_MAXNAME 64 | #define BKE_ST_MAXNAME 64 | ||||
| typedef struct wmSpaceTypeListenerParams { | typedef struct wmSpaceTypeListenerParams { | ||||
| struct wmWindow *window; | struct wmWindow *window; | ||||
| struct ScrArea *area; | struct ScrArea *area; | ||||
| const struct wmNotifier *notifier; | const struct wmNotifier *notifier; | ||||
| const struct Scene *scene; | const struct Scene *scene; | ||||
| } wmSpaceTypeListenerParams; | } wmSpaceTypeListenerParams; | ||||
| typedef struct SpaceType { | typedef struct SpaceType { | ||||
| struct SpaceType *next, *prev; | struct SpaceType *next, *prev; | ||||
| char name[BKE_ST_MAXNAME]; /* for menus */ | char name[BKE_ST_MAXNAME]; /* for menus */ | ||||
| int spaceid; /* unique space identifier */ | int spaceid; /* unique space identifier */ | ||||
| int iconid; /* icon lookup for menus */ | int iconid; /* icon lookup for menus */ | ||||
| /* Initial allocation, after this WM will call init() too. Some editors need | /* Initial allocation, after this WM will call init() too. Some editors need | ||||
| * area and scene data (e.g. frame range) to set their initial scrolling. */ | * area and window->scene data (e.g. frame range) to set their initial scrolling. */ | ||||
| struct SpaceLink *(*create)(const struct ScrArea *area, const struct Scene *scene); | struct SpaceLink *(*create)(const struct wmWindow *win, const struct ScrArea *area); | ||||
| /* not free spacelink itself */ | /* not free spacelink itself */ | ||||
| void (*free)(struct SpaceLink *sl); | void (*free)(struct SpaceLink *sl); | ||||
| /* init is to cope with file load, screen (size) changes, check handlers */ | /* init is to cope with file load, screen (size) changes, check handlers */ | ||||
| void (*init)(struct wmWindowManager *wm, struct ScrArea *area); | void (*init)(struct wmWindowManager *wm, struct ScrArea *area); | ||||
| /* exit is called when the area is hidden or removed */ | /* exit is called when the area is hidden or removed */ | ||||
| void (*exit)(struct wmWindowManager *wm, struct ScrArea *area); | void (*exit)(struct wmWindowManager *wm, struct ScrArea *area); | ||||
| /* Listeners can react to bContext changes */ | /* Listeners can react to bContext changes */ | ||||
| ▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | typedef struct wmRegionListenerParams { | ||||
| const struct Scene *scene; | const struct Scene *scene; | ||||
| } wmRegionListenerParams; | } wmRegionListenerParams; | ||||
| typedef struct wmRegionMessageSubscribeParams { | typedef struct wmRegionMessageSubscribeParams { | ||||
| const struct bContext *context; | const struct bContext *context; | ||||
| struct wmMsgBus *message_bus; | struct wmMsgBus *message_bus; | ||||
| struct WorkSpace *workspace; | struct WorkSpace *workspace; | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| struct VideoEdit *video_edit; | |||||
| struct bScreen *screen; | struct bScreen *screen; | ||||
| struct ScrArea *area; | struct ScrArea *area; | ||||
| struct ARegion *region; | struct ARegion *region; | ||||
| } wmRegionMessageSubscribeParams; | } wmRegionMessageSubscribeParams; | ||||
| typedef struct ARegionType { | typedef struct ARegionType { | ||||
| struct ARegionType *next, *prev; | struct ARegionType *next, *prev; | ||||
| ▲ Show 20 Lines • Show All 413 Lines • Show Last 20 Lines | |||||