Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | |||||
| void WM_opengl_context_release(void *context); | void WM_opengl_context_release(void *context); | ||||
| /* defines for 'type' WM_window_open_temp */ | /* defines for 'type' WM_window_open_temp */ | ||||
| enum { | enum { | ||||
| WM_WINDOW_RENDER = 1, | WM_WINDOW_RENDER = 1, | ||||
| WM_WINDOW_USERPREFS, | WM_WINDOW_USERPREFS, | ||||
| WM_WINDOW_DRIVERS, | WM_WINDOW_DRIVERS, | ||||
| WM_WINDOW_INFO, | WM_WINDOW_INFO, | ||||
| // WM_WINDOW_FILESEL // UNUSED | WM_WINDOW_FILESEL, | ||||
| }; | }; | ||||
| 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 wmWindow *WM_window_open_temp( | ||||
| struct bContext *C, int x, int y, int sizex, int sizey, int type); | 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); | ||||
| bool WM_stereo3d_enabled(struct wmWindow *win, bool only_fullscreen_test); | bool WM_stereo3d_enabled(struct wmWindow *win, bool only_fullscreen_test); | ||||
| ▲ Show 20 Lines • Show All 317 Lines • ▼ Show 20 Lines | |||||
| /* flags for WM_operator_properties_filesel */ | /* flags for WM_operator_properties_filesel */ | ||||
| #define WM_FILESEL_RELPATH (1 << 0) | #define WM_FILESEL_RELPATH (1 << 0) | ||||
| #define WM_FILESEL_DIRECTORY (1 << 1) | #define WM_FILESEL_DIRECTORY (1 << 1) | ||||
| #define WM_FILESEL_FILENAME (1 << 2) | #define WM_FILESEL_FILENAME (1 << 2) | ||||
| #define WM_FILESEL_FILEPATH (1 << 3) | #define WM_FILESEL_FILEPATH (1 << 3) | ||||
| #define WM_FILESEL_FILES (1 << 4) | #define WM_FILESEL_FILES (1 << 4) | ||||
| /* Show the properties sidebar by default. */ | |||||
| #define WM_FILESEL_SHOW_PROPS (1 << 5) | |||||
| /* operator as a python command (resultuing string must be freed) */ | /* operator as a python command (resultuing string must be freed) */ | ||||
| char *WM_operator_pystring_ex(struct bContext *C, | char *WM_operator_pystring_ex(struct bContext *C, | ||||
| struct wmOperator *op, | struct wmOperator *op, | ||||
| const bool all_args, | const bool all_args, | ||||
| const bool macro_args, | const bool macro_args, | ||||
| struct wmOperatorType *ot, | struct wmOperatorType *ot, | ||||
| struct PointerRNA *opptr); | struct PointerRNA *opptr); | ||||
| ▲ Show 20 Lines • Show All 325 Lines • Show Last 20 Lines | |||||