Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | enum { | ||||
| WM_WINDOW_DRIVERS, | WM_WINDOW_DRIVERS, | ||||
| // 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); | ||||
| /* input method */ | |||||
| #ifdef WITH_IM_OVERTHESPOT | |||||
| bool WM_window_IM_is_spot_needed(wmWindow *win); | |||||
| #endif | |||||
| #if defined(WITH_IM_OVERTHESPOT) || defined(WITH_IM_ONTHESPOT) | |||||
| void WM_window_IM_modal_set (wmWindow *win); | |||||
| void WM_window_IM_modal_unset(wmWindow *win); | |||||
| void WM_window_IM_spot_set (wmWindow *win, int x, int y, int h); | |||||
| void WM_window_IM_begin (wmWindow *win); | |||||
| void WM_window_IM_end (wmWindow *win); | |||||
| #endif | |||||
| 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 452 Lines • ▼ Show 20 Lines | |||||
| float WM_event_ndof_to_axis_angle(const struct wmNDOFMotionData *ndof, float axis[3]); | float WM_event_ndof_to_axis_angle(const struct wmNDOFMotionData *ndof, float axis[3]); | ||||
| void WM_event_ndof_to_quat(const struct wmNDOFMotionData *ndof, float q[4]); | void WM_event_ndof_to_quat(const struct wmNDOFMotionData *ndof, float q[4]); | ||||
| #endif /* WITH_INPUT_NDOF */ | #endif /* WITH_INPUT_NDOF */ | ||||
| float WM_event_tablet_data(const struct wmEvent *event, int *pen_flip, float tilt[2]); | float WM_event_tablet_data(const struct wmEvent *event, int *pen_flip, float tilt[2]); | ||||
| bool WM_event_is_tablet(const struct wmEvent *event); | bool WM_event_is_tablet(const struct wmEvent *event); | ||||
| #ifdef WITH_INPUT_IME | #ifdef WITH_IM_ONTHESPOT | ||||
| bool WM_event_is_ime_switch(const struct wmEvent *event); | bool WM_event_is_im_switch(const struct wmEvent *event); | ||||
| #endif | #endif | ||||
| const char *WM_window_cursor_keymap_status_get(const struct wmWindow *win, int button_index, int type_index); | const char *WM_window_cursor_keymap_status_get(const struct wmWindow *win, int button_index, int type_index); | ||||
| void WM_window_cursor_keymap_status_refresh(struct bContext *C, struct wmWindow *win); | void WM_window_cursor_keymap_status_refresh(struct bContext *C, struct wmWindow *win); | ||||
| void WM_window_status_area_tag_redraw(struct wmWindow *win); | void WM_window_status_area_tag_redraw(struct wmWindow *win); | ||||
| struct ScrArea *WM_window_status_area_find(struct wmWindow *win, struct bScreen *sc); | struct ScrArea *WM_window_status_area_find(struct wmWindow *win, struct bScreen *sc); | ||||
| bool WM_window_modal_keymap_status_draw( | bool WM_window_modal_keymap_status_draw( | ||||
| Show All 28 Lines | |||||