Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
| struct wmDrag; | struct wmDrag; | ||||
| struct ImBuf; | struct ImBuf; | ||||
| struct ImageFormatData; | struct ImageFormatData; | ||||
| struct ARegion; | struct ARegion; | ||||
| struct ScrArea; | struct ScrArea; | ||||
| struct Main; | struct Main; | ||||
| struct bToolDef; | struct bToolDef; | ||||
| struct ViewLayer; | struct ViewLayer; | ||||
| struct GPUViewport; | |||||
| #ifdef WITH_INPUT_NDOF | #ifdef WITH_INPUT_NDOF | ||||
| struct wmNDOFMotionData; | struct wmNDOFMotionData; | ||||
| #endif | #endif | ||||
| typedef struct wmJob wmJob; | typedef struct wmJob wmJob; | ||||
| typedef struct wmManipulator wmManipulator; | typedef struct wmManipulator wmManipulator; | ||||
| typedef struct wmManipulatorMap wmManipulatorMap; | typedef struct wmManipulatorMap wmManipulatorMap; | ||||
| ▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | enum { | ||||
| WM_WINDOW_USERPREFS, | WM_WINDOW_USERPREFS, | ||||
| // WM_WINDOW_FILESEL // UNUSED | // WM_WINDOW_FILESEL // UNUSED | ||||
| }; | }; | ||||
| struct wmWindow *WM_window_open(struct bContext *C, const struct rcti *rect); | struct wmWindow *WM_window_open(struct bContext *C, const struct rcti *rect); | ||||
| struct wmWindow *WM_window_open_temp(struct bContext *C, int x, int y, int sizex, int sizey, int type); | struct wmWindow *WM_window_open_temp(struct bContext *C, int x, int y, int sizex, int sizey, int type); | ||||
| void WM_window_set_dpi(wmWindow *win); | void WM_window_set_dpi(wmWindow *win); | ||||
| /* returns true if draw method is triple buffer */ | |||||
| bool WM_is_draw_triple(struct wmWindow *win); | |||||
| bool WM_stereo3d_enabled(struct wmWindow *win, bool only_fullscreen_test); | bool WM_stereo3d_enabled(struct wmWindow *win, bool only_fullscreen_test); | ||||
| /* files */ | /* files */ | ||||
| void WM_file_autoexec_init(const char *filepath); | void WM_file_autoexec_init(const char *filepath); | ||||
| bool WM_file_read(struct bContext *C, const char *filepath, struct ReportList *reports); | bool WM_file_read(struct bContext *C, const char *filepath, struct ReportList *reports); | ||||
| void WM_autosave_init(struct wmWindowManager *wm); | void WM_autosave_init(struct wmWindowManager *wm); | ||||
| void WM_recover_last_session(struct bContext *C, struct ReportList *reports); | void WM_recover_last_session(struct bContext *C, struct ReportList *reports); | ||||
| ▲ Show 20 Lines • Show All 404 Lines • ▼ Show 20 Lines | void WM_progress_clear(struct wmWindow *win); | ||||
| /* Draw (for screenshot) */ | /* Draw (for screenshot) */ | ||||
| void *WM_draw_cb_activate( | void *WM_draw_cb_activate( | ||||
| struct wmWindow *win, | struct wmWindow *win, | ||||
| void (*draw)(const struct wmWindow *, void *), | void (*draw)(const struct wmWindow *, void *), | ||||
| void *customdata); | void *customdata); | ||||
| void WM_draw_cb_exit(struct wmWindow *win, void *handle); | void WM_draw_cb_exit(struct wmWindow *win, void *handle); | ||||
| void WM_redraw_windows(struct bContext *C); | void WM_redraw_windows(struct bContext *C); | ||||
| /* Region drawing */ | |||||
| void WM_draw_region_free(struct ARegion *ar); | |||||
| struct GPUViewport *WM_draw_region_get_viewport(struct ARegion *ar, int view); | |||||
| struct GPUViewport *WM_draw_region_get_bound_viewport(struct ARegion *ar); | |||||
| void WM_main_playanim(int argc, const char **argv); | void WM_main_playanim(int argc, const char **argv); | ||||
| /* debugging only, convenience function to write on crash */ | /* debugging only, convenience function to write on crash */ | ||||
| bool write_crash_blend(void); | bool write_crash_blend(void); | ||||
| /* Lock the interface for any communication */ | /* Lock the interface for any communication */ | ||||
| void WM_set_locked_interface(struct wmWindowManager *wm, bool lock); | void WM_set_locked_interface(struct wmWindowManager *wm, bool lock); | ||||
| Show All 39 Lines | |||||