Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_screen.h
| Show All 31 Lines | |||||
| struct SpaceLink; | struct SpaceLink; | ||||
| struct WorkSpace; | struct WorkSpace; | ||||
| struct WorkSpaceInstanceHook; | struct WorkSpaceInstanceHook; | ||||
| struct bContext; | struct bContext; | ||||
| struct bScreen; | struct bScreen; | ||||
| struct rcti; | struct rcti; | ||||
| struct uiBlock; | struct uiBlock; | ||||
| struct uiLayout; | struct uiLayout; | ||||
| struct VideoEdit; | |||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct wmMsgSubscribeKey; | struct wmMsgSubscribeKey; | ||||
| struct wmMsgSubscribeValue; | struct wmMsgSubscribeValue; | ||||
| struct wmNotifier; | struct wmNotifier; | ||||
| struct wmOperatorType; | struct wmOperatorType; | ||||
| struct wmRegionListenerParams; | struct wmRegionListenerParams; | ||||
| struct wmRegionMessageSubscribeParams; | struct wmRegionMessageSubscribeParams; | ||||
| struct wmSpaceTypeListenerParams; | struct wmSpaceTypeListenerParams; | ||||
| ▲ Show 20 Lines • Show All 255 Lines • ▼ Show 20 Lines | |||||
| * \warning Do NOT call in area/region queues! | * \warning Do NOT call in area/region queues! | ||||
| * \returns if screen changing was successful. | * \returns if screen changing was successful. | ||||
| */ | */ | ||||
| bool ED_screen_change(struct bContext *C, struct bScreen *screen); | bool ED_screen_change(struct bContext *C, struct bScreen *screen); | ||||
| void ED_screen_scene_change(struct bContext *C, | void ED_screen_scene_change(struct bContext *C, | ||||
| struct wmWindow *win, | struct wmWindow *win, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| bool refresh_toolsystem); | bool refresh_toolsystem); | ||||
| void ED_screen_video_edit_change(struct bContext *C, | |||||
| struct wmWindow *win, | |||||
| struct VideoEdit *video_edit); | |||||
| /** | /** | ||||
| * Called in wm_event_system.c. sets state vars in screen, cursors. | * Called in wm_event_system.c. sets state vars in screen, cursors. | ||||
| * event type is mouse move. | * event type is mouse move. | ||||
| */ | */ | ||||
| void ED_screen_set_active_region(struct bContext *C, struct wmWindow *win, const int xy[2]); | void ED_screen_set_active_region(struct bContext *C, struct wmWindow *win, const int xy[2]); | ||||
| void ED_screen_exit(struct bContext *C, struct wmWindow *window, struct bScreen *screen); | void ED_screen_exit(struct bContext *C, struct wmWindow *window, struct bScreen *screen); | ||||
| /** | /** | ||||
| * redraws: uses defines from `stime->redraws` | * redraws: uses defines from `stime->redraws` | ||||
| ▲ Show 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | |||||
| */ | */ | ||||
| int ED_screen_animation_play(struct bContext *C, int sync, int mode); | int ED_screen_animation_play(struct bContext *C, int sync, int mode); | ||||
| /** | /** | ||||
| * Find window that owns the animation timer. | * Find window that owns the animation timer. | ||||
| */ | */ | ||||
| bScreen *ED_screen_animation_playing(const struct wmWindowManager *wm); | bScreen *ED_screen_animation_playing(const struct wmWindowManager *wm); | ||||
| bScreen *ED_screen_animation_no_scrub(const struct wmWindowManager *wm); | bScreen *ED_screen_animation_no_scrub(const struct wmWindowManager *wm); | ||||
| /** | |||||
| * \note The info that this uses is updated in #ED_refresh_viewport_fps, | |||||
| * which currently gets called during #SCREEN_OT_animation_step. | |||||
| */ | |||||
| void ED_scene_draw_fps(const struct Scene *scene, int xoffset, int *yoffset); | |||||
| void ED_video_edit_draw_fps(const struct VideoEdit *video_edit, int xoffset, int *yoffset); | |||||
| /* screen keymaps */ | /* screen keymaps */ | ||||
| /* called in spacetypes.c */ | /* called in spacetypes.c */ | ||||
| void ED_operatortypes_screen(void); | void ED_operatortypes_screen(void); | ||||
| /* called in spacetypes.c */ | /* called in spacetypes.c */ | ||||
| void ED_keymap_screen(struct wmKeyConfig *keyconf); | void ED_keymap_screen(struct wmKeyConfig *keyconf); | ||||
| /** | /** | ||||
| * Workspace key-maps. | * Workspace key-maps. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 212 Lines • Show Last 20 Lines | |||||