Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 617 Lines • ▼ Show 20 Lines | int WM_gesture_straightline_modal(struct bContext *C, | ||||
| struct wmOperator *op, | struct wmOperator *op, | ||||
| const struct wmEvent *event); | const struct wmEvent *event); | ||||
| void WM_gesture_straightline_cancel(struct bContext *C, struct wmOperator *op); | void WM_gesture_straightline_cancel(struct bContext *C, struct wmOperator *op); | ||||
| /* Gesture manager API */ | /* Gesture manager API */ | ||||
| struct wmGesture *WM_gesture_new(struct bContext *C, const struct wmEvent *event, int type); | struct wmGesture *WM_gesture_new(struct bContext *C, const struct wmEvent *event, int type); | ||||
| void WM_gesture_end(struct bContext *C, struct wmGesture *gesture); | void WM_gesture_end(struct bContext *C, struct wmGesture *gesture); | ||||
| void WM_gestures_remove(struct bContext *C); | void WM_gestures_remove(struct bContext *C); | ||||
| void WM_gestures_free_all(struct wmWindow *win); | |||||
| bool WM_gesture_is_modal_first(const struct wmGesture *gesture); | bool WM_gesture_is_modal_first(const struct wmGesture *gesture); | ||||
| /* fileselecting support */ | /* fileselecting support */ | ||||
| void WM_event_add_fileselect(struct bContext *C, struct wmOperator *op); | void WM_event_add_fileselect(struct bContext *C, struct wmOperator *op); | ||||
| void WM_event_fileselect_event(struct wmWindowManager *wm, void *ophandle, int eventval); | void WM_event_fileselect_event(struct wmWindowManager *wm, void *ophandle, int eventval); | ||||
| int WM_event_modifier_flag(const struct wmEvent *event); | int WM_event_modifier_flag(const struct wmEvent *event); | ||||
| void WM_event_print(const struct wmEvent *event); | void WM_event_print(const struct wmEvent *event); | ||||
| Show All 36 Lines | |||||
| /* threaded Jobs Manager */ | /* threaded Jobs Manager */ | ||||
| enum { | enum { | ||||
| WM_JOB_PRIORITY = (1 << 0), | WM_JOB_PRIORITY = (1 << 0), | ||||
| WM_JOB_EXCL_RENDER = (1 << 1), | WM_JOB_EXCL_RENDER = (1 << 1), | ||||
| WM_JOB_PROGRESS = (1 << 2), | WM_JOB_PROGRESS = (1 << 2), | ||||
| }; | }; | ||||
| /** Identifying jobs by owner alone is unreliable, this isnt saved, | /** | ||||
| * order can change (keep 0 for 'any'). */ | * Identifying jobs by owner alone is unreliable, this isnt saved, | ||||
| * order can change (keep 0 for 'any'). | |||||
| */ | |||||
| enum { | enum { | ||||
| WM_JOB_TYPE_ANY = 0, | WM_JOB_TYPE_ANY = 0, | ||||
| WM_JOB_TYPE_COMPOSITE, | WM_JOB_TYPE_COMPOSITE, | ||||
| WM_JOB_TYPE_RENDER, | WM_JOB_TYPE_RENDER, | ||||
| WM_JOB_TYPE_RENDER_PREVIEW, /* UI preview */ | WM_JOB_TYPE_RENDER_PREVIEW, /* UI preview */ | ||||
| WM_JOB_TYPE_OBJECT_SIM_OCEAN, | WM_JOB_TYPE_OBJECT_SIM_OCEAN, | ||||
| WM_JOB_TYPE_OBJECT_SIM_FLUID, | WM_JOB_TYPE_OBJECT_SIM_FLUID, | ||||
| WM_JOB_TYPE_OBJECT_BAKE_TEXTURE, | WM_JOB_TYPE_OBJECT_BAKE_TEXTURE, | ||||
| ▲ Show 20 Lines • Show All 161 Lines • Show Last 20 Lines | |||||