Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/wm_window.h
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
| void wm_window_swap_buffers(wmWindow *win); | void wm_window_swap_buffers(wmWindow *win); | ||||
| void wm_window_set_swap_interval(wmWindow *win, int interval); | void wm_window_set_swap_interval(wmWindow *win, int interval); | ||||
| bool wm_window_get_swap_interval(wmWindow *win, int *intervalOut); | bool wm_window_get_swap_interval(wmWindow *win, int *intervalOut); | ||||
| void wm_cursor_position_get(wmWindow *win, int *r_x, int *r_y); | void wm_cursor_position_get(wmWindow *win, int *r_x, int *r_y); | ||||
| void wm_cursor_position_from_ghost(wmWindow *win, int *r_x, int *r_y); | void wm_cursor_position_from_ghost(wmWindow *win, int *r_x, int *r_y); | ||||
| void wm_cursor_position_to_ghost(wmWindow *win, int *x, int *y); | void wm_cursor_position_to_ghost(wmWindow *win, int *x, int *y); | ||||
| #ifdef WITH_INPUT_IME | |||||
| void wm_window_IME_begin(wmWindow *win, int x, int y, int w, int h, bool complete); | |||||
| void wm_window_IME_end(wmWindow *win); | |||||
| #endif | |||||
| /* *************** window operators ************** */ | /* *************** window operators ************** */ | ||||
| int wm_window_close_exec(bContext *C, struct wmOperator *op); | int wm_window_close_exec(bContext *C, struct wmOperator *op); | ||||
| int wm_window_fullscreen_toggle_exec(bContext *C, struct wmOperator *op); | int wm_window_fullscreen_toggle_exec(bContext *C, struct wmOperator *op); | ||||
| void wm_quit_with_optional_confirmation_prompt(bContext *C, wmWindow *win) ATTR_NONNULL(); | void wm_quit_with_optional_confirmation_prompt(bContext *C, wmWindow *win) ATTR_NONNULL(); | ||||
| int wm_window_new_exec(bContext *C, struct wmOperator *op); | int wm_window_new_exec(bContext *C, struct wmOperator *op); | ||||
| int wm_window_new_main_exec(bContext *C, struct wmOperator *op); | int wm_window_new_main_exec(bContext *C, struct wmOperator *op); | ||||
| void wm_test_autorun_revert_action_set(struct wmOperatorType *ot, struct PointerRNA *ptr); | void wm_test_autorun_revert_action_set(struct wmOperatorType *ot, struct PointerRNA *ptr); | ||||
| void wm_test_autorun_warning(bContext *C); | void wm_test_autorun_warning(bContext *C); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||