Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| bool WM_window_is_temp_screen(const struct wmWindow *win) ATTR_WARN_UNUSED_RESULT; | bool WM_window_is_temp_screen(const struct wmWindow *win) ATTR_WARN_UNUSED_RESULT; | ||||
| void *WM_opengl_context_create(void); | void *WM_opengl_context_create(void); | ||||
| void WM_opengl_context_dispose(void *context); | void WM_opengl_context_dispose(void *context); | ||||
| void WM_opengl_context_activate(void *context); | void WM_opengl_context_activate(void *context); | ||||
| void WM_opengl_context_release(void *context); | void WM_opengl_context_release(void *context); | ||||
| struct wmWindow *WM_window_open(struct bContext *C, const struct rcti *rect); | /* WM_window_open alignment */ | ||||
| struct wmWindow *WM_window_open_temp(struct bContext *C, | typedef enum WindowAlignment { | ||||
| const char *title, | WIN_ALIGN_ABSOLUTE = 0, | ||||
| int x, | WIN_ALIGN_LOCATION_CENTER, | ||||
| int y, | WIN_ALIGN_PARENT_CENTER, | ||||
| int sizex, | } WindowAlignment; | ||||
| int sizey, | |||||
| int space_type, | struct wmWindow *WM_window_open(struct bContext *C, | ||||
| bool dialog); | const char *title, | ||||
| int x, | |||||
| int y, | |||||
| int sizex, | |||||
| int sizey, | |||||
| int space_type, | |||||
| bool dialog, | |||||
| bool temp, | |||||
| WindowAlignment alignment); | |||||
| void WM_window_set_dpi(const wmWindow *win); | void WM_window_set_dpi(const 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); | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||