Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/wm_window.h
| Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
| bool wm_window_get_swap_interval(wmWindow *win, int *intervalOut); | bool wm_window_get_swap_interval(wmWindow *win, int *intervalOut); | ||||
| void wm_get_cursor_position (wmWindow *win, int *x, int *y); | void wm_get_cursor_position (wmWindow *win, int *x, int *y); | ||||
| void wm_cursor_position_from_ghost (wmWindow *win, int *x, int *y); | void wm_cursor_position_from_ghost (wmWindow *win, int *x, int *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); | ||||
| void wm_window_testbreak (void); | void wm_window_testbreak (void); | ||||
| #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_duplicate_exec(bContext *C, struct wmOperator *op); | int wm_window_duplicate_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); | ||||
| /* Initial (unmaximized) size to start with for | /* Initial (unmaximized) size to start with for | ||||
| * systems that can't find it for themselves (X11). | * systems that can't find it for themselves (X11). | ||||
| * Clamped by real desktop limits */ | * Clamped by real desktop limits */ | ||||
| #define WM_WIN_INIT_SIZE_X 1800 | #define WM_WIN_INIT_SIZE_X 1800 | ||||
| #define WM_WIN_INIT_SIZE_Y 1000 | #define WM_WIN_INIT_SIZE_Y 1000 | ||||
| #define WM_WIN_INIT_PAD 40 | #define WM_WIN_INIT_PAD 40 | ||||
| #endif /* __WM_WINDOW_H__ */ | #endif /* __WM_WINDOW_H__ */ | ||||