70 #ifdef WITH_INPUT_NDOF
71 struct wmNDOFMotionData;
207 const char *filepath,
232 void (*
free)(
void *));
295 const bool postpone);
304 const struct ScrArea *old_area,
307 const struct ARegion *old_region,
327 #ifdef WITH_INPUT_NDOF
329 void WM_ndof_deadzone_set(
float deadzone);
348 const struct
wmEvent *event_to_add,
423 const
short opcontext);
447 const
char *opstring,
451 const
char *opstring,
464 const
char *opstring);
533 #define WM_FILESEL_RELPATH (1 << 0)
535 #define WM_FILESEL_DIRECTORY (1 << 1)
536 #define WM_FILESEL_FILENAME (1 << 2)
537 #define WM_FILESEL_FILEPATH (1 << 3)
538 #define WM_FILESEL_FILES (1 << 4)
540 #define WM_FILESEL_SHOW_PROPS (1 << 5)
546 const bool macro_args,
552 const bool macro_args);
561 const char *classname,
578 #define WM_operatortype_prop_tag(property, tags) \
580 CHECK_TYPE(tags, eOperatorPropTags); \
581 RNA_def_property_tags(prop, tags); \
649 int *mcoords_len))[2];
798 void (*)(
void *,
short int *,
short int *,
float *));
819 void (*draw)(
const struct wmWindow *,
void *),
874 #ifdef WITH_INPUT_NDOF
875 void WM_event_ndof_pan_get(
const struct wmNDOFMotionData *ndof,
877 const bool use_zoom);
878 void WM_event_ndof_rotate_get(
const struct wmNDOFMotionData *ndof,
float r_rot[3]);
880 float WM_event_ndof_to_axis_angle(
const struct wmNDOFMotionData *ndof,
float axis[3]);
881 void WM_event_ndof_to_quat(
const struct wmNDOFMotionData *ndof,
float q[4]);
890 #ifdef WITH_INPUT_IME
891 bool WM_event_is_ime_switch(
const struct wmEvent *event);
898 double *r_pass_delay,
899 bool *r_exit_on_event);
931 #ifdef WITH_XR_OPENXR
940 float r_viewmat[4][4],
#define ATTR_NONNULL(...)
void BLI_kdtree_nd_() int BLI_kdtree_nd_() int BLI_kdtree_nd_() int BLI_kdtree_nd_() ATTR_WARN_UNUSED_RESULT
void BLI_kdtree_nd_() free(KDTree *tree)
size_t ATTR_PRINTF_FORMAT(3, 4)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble y1
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble GLdouble x2
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
void WM_menutype_freelink(struct MenuType *mt)
void WM_job_main_thread_lock_acquire(struct wmJob *job)
struct MenuType * WM_menutype_find(const char *idname, bool quiet)
bool WM_operator_check_ui_enabled(const struct bContext *C, const char *idname)
void WM_gesture_end(struct wmWindow *win, struct wmGesture *gesture)
void WM_operator_properties_gesture_box_ex(struct wmOperatorType *ot, bool deselect, bool extend)
struct uiListType * WM_uilisttype_find(const char *idname, bool quiet)
bool WM_jobs_has_running(struct wmWindowManager *wm)
void WM_operator_properties_mouse_select(struct wmOperatorType *ot)
void WM_drag_add_local_ID(struct wmDrag *drag, struct ID *id, struct ID *from_parent)
struct wmEventHandler_Keymap * WM_event_add_keymap_handler_priority(ListBase *handlers, wmKeyMap *keymap, int priority)
void WM_operator_properties_reset(struct wmOperator *op)
bool WM_event_is_tablet(const struct wmEvent *event)
struct WorkSpaceLayout * WM_window_get_active_layout(const struct wmWindow *win) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
void WM_operator_properties_clear(struct PointerRNA *ptr)
void WM_generic_user_data_free(struct wmGenericUserData *wm_userdata)
bool WM_window_is_temp_screen(const struct wmWindow *win) ATTR_WARN_UNUSED_RESULT
void WM_operatortype_last_properties_clear_all(void)
int WM_menu_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_cursor_modal_set(struct wmWindow *win, int val)
void WM_window_set_active_screen(struct wmWindow *win, struct WorkSpace *workspace, struct bScreen *screen) ATTR_NONNULL(1)
bool write_crash_blend(void)
void WM_drag_free_imported_drag_ID(struct Main *bmain, struct wmDrag *drag, struct wmDropBox *drop)
Free asset ID imported for cancelled drop.
bool WM_operator_py_idname_ok_or_report(struct ReportList *reports, const char *classname, const char *idname)
void WM_draw_cb_exit(struct wmWindow *win, void *handle)
bool WM_operator_pystring_abbreviate(char *str, int str_len_max)
void WM_main_playanim(int argc, const char **argv)
int WM_event_drag_threshold(const struct wmEvent *event)
struct wmDragAsset * WM_drag_get_asset_data(const struct wmDrag *drag, int idcode)
void WM_init(struct bContext *C, int argc, const char **argv)
struct ViewLayer * WM_windows_view_layer_get_from_screen(const struct wmWindowManager *wm, const struct bScreen *screen) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
int WM_operator_call_notest(struct bContext *C, struct wmOperator *op)
int WM_gesture_straightline_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_window_set_active_workspace(struct bContext *C, struct wmWindow *win, struct WorkSpace *workspace) ATTR_NONNULL(1)
void WM_operatortype_props_advanced_end(struct wmOperatorType *ot)
void WM_operator_properties_gesture_box(struct wmOperatorType *ot)
int WM_operator_confirm_message(struct bContext *C, struct wmOperator *op, const char *message)
int WM_gesture_lines_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
int WM_gesture_circle_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
int WM_operator_props_popup(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void * WM_jobs_customdata_get(struct wmJob *)
void WM_menu_name_call(struct bContext *C, const char *menu_name, short context)
bool WM_operator_last_properties_init(struct wmOperator *op)
void * WM_opengl_context_create(void)
void WM_clipboard_text_set(const char *buf, bool selection)
char * WM_operatortype_description(struct bContext *C, struct wmOperatorType *ot, struct PointerRNA *properties)
void WM_gesture_circle_cancel(struct bContext *C, struct wmOperator *op)
@ WM_HANDLER_ACCEPT_DBL_CLICK
void * WM_jobs_customdata(struct wmWindowManager *wm, void *owner)
@ WM_JOB_TYPE_DPAINT_BAKE
@ WM_JOB_TYPE_SEQ_BUILD_PROXY
@ WM_JOB_TYPE_OBJECT_BAKE
@ WM_JOB_TYPE_QUADRIFLOW_REMESH
@ WM_JOB_TYPE_RENDER_PREVIEW
@ WM_JOB_TYPE_FSMENU_BOOKMARK_VALIDATE
@ WM_JOB_TYPE_CLIP_BUILD_PROXY
@ WM_JOB_TYPE_TRACE_IMAGE
@ WM_JOB_TYPE_CLIP_PREFETCH
@ WM_JOB_TYPE_SEQ_BUILD_PREVIEW
@ WM_JOB_TYPE_OBJECT_SIM_OCEAN
@ WM_JOB_TYPE_STUDIOLIGHT
@ WM_JOB_TYPE_CLIP_SOLVE_CAMERA
@ WM_JOB_TYPE_FILESEL_READDIR
@ WM_JOB_TYPE_CLIP_TRACK_MARKERS
@ WM_JOB_TYPE_SHADER_COMPILATION
@ WM_JOB_TYPE_OBJECT_SIM_FLUID
@ WM_JOB_TYPE_OBJECT_BAKE_TEXTURE
void WM_report_banners_cancel(struct Main *bmain)
wmKeyMap * WM_event_get_keymap_from_handler(wmWindowManager *wm, struct wmEventHandler_Keymap *handler)
struct ARegion *(* wmTooltipInitFn)(struct bContext *C, struct ARegion *region, int *pass, double *r_pass_delay, bool *r_exit_on_event)
void WM_event_remove_keymap_handler(ListBase *handlers, wmKeyMap *keymap)
void WM_operatortype_iter(struct GHashIterator *ghi)
void WM_set_locked_interface(struct wmWindowManager *wm, bool lock)
void WM_window_set_active_layout(struct wmWindow *win, struct WorkSpace *workspace, struct WorkSpaceLayout *layout) ATTR_NONNULL(1)
bool WM_window_is_fullscreen(const struct wmWindow *win)
void WM_jobs_kill_all_except(struct wmWindowManager *wm, void *owner)
int WM_operator_confirm(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_jobs_timer(struct wmJob *, double timestep, unsigned int note, unsigned int endnote)
void WM_operator_type_modal_from_exec_for_object_edit_coords(struct wmOperatorType *ot)
bool WM_paint_cursor_end(struct wmPaintCursor *handle)
ID * WM_operator_drop_load_path(struct bContext *C, struct wmOperator *op, const short idcode)
bool WM_jobs_test(struct wmWindowManager *wm, void *owner, int job_type)
int WM_operator_properties_select_random_seed_increment_get(wmOperator *op)
void WM_operator_last_properties_ensure(struct wmOperatorType *ot, struct PointerRNA *ptr)
bool WM_operator_properties_checker_interval_test(const struct CheckerIntervalParams *op_params, int depth)
void WM_cursor_set(struct wmWindow *win, int curs)
void WM_init_state_normal_set(void)
int WM_operator_name_call(struct bContext *C, const char *opstring, short context, struct PointerRNA *properties)
int WM_operator_call_py(struct bContext *C, struct wmOperatorType *ot, short context, struct PointerRNA *properties, struct ReportList *reports, const bool is_undo)
void WM_main_add_notifier(unsigned int type, void *reference)
int WM_userdef_event_map(int kmitype)
int WM_operator_name_call_with_properties(struct bContext *C, const char *opstring, short context, struct IDProperty *properties)
bool WM_operator_is_repeat(const struct bContext *C, const struct wmOperator *op)
void WM_jobs_delay_start(struct wmJob *, double delay_time)
bool WM_window_modal_keymap_status_draw(struct bContext *C, struct wmWindow *win, struct uiLayout *layout)
void WM_autosave_init(struct wmWindowManager *wm)
void WM_operator_handlers_clear(wmWindowManager *wm, struct wmOperatorType *ot)
void WM_paneltype_init(void)
char * WM_clipboard_text_get_firstline(bool selection, int *r_len)
uint * WM_window_pixels_read(struct wmWindowManager *wm, struct wmWindow *win, int r_size[2])
int WM_operator_ui_popup(struct bContext *C, struct wmOperator *op, int width)
void WM_opengl_context_activate(void *context)
char * WM_operatortype_description_or_name(struct bContext *C, struct wmOperatorType *ot, struct PointerRNA *properties)
void WM_event_drag_image(struct wmDrag *, struct ImBuf *, float scale, int sx, int sy)
int WM_gesture_box_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_operator_properties_use_cursor_init(struct wmOperatorType *ot)
void WM_main(struct bContext *C) ATTR_NORETURN
int WM_operator_filesel(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_event_print(const struct wmEvent *event)
void WM_cursor_time(struct wmWindow *win, int nr)
const char * WM_init_state_app_template_get(void)
bool WM_paneltype_add(struct PanelType *pt)
bool WM_operator_poll_context(struct bContext *C, struct wmOperatorType *ot, short context)
void WM_event_add_fileselect(struct bContext *C, struct wmOperator *op)
void WM_cursor_compatible_xy(wmWindow *win, int *x, int *y)
void WM_window_rect_calc(const struct wmWindow *win, struct rcti *r_rect)
struct wmEventHandler_Keymap * WM_event_add_keymap_handler_dynamic(ListBase *handlers, wmEventHandler_KeymapDynamicFn *keymap_fn, void *user_data)
struct WorkSpace * WM_window_get_active_workspace(const struct wmWindow *win) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
void WM_progress_set(struct wmWindow *win, float progress)
void WM_windows_scene_data_sync(const ListBase *win_lb, struct Scene *scene) ATTR_NONNULL()
bool WM_operator_poll(struct bContext *C, struct wmOperatorType *ot)
void WM_event_add_notifier(const struct bContext *C, unsigned int type, void *reference)
void WM_operatortype_append_macro_ptr(void(*opfunc)(struct wmOperatorType *, void *), void *userdata)
void * WM_jobs_customdata_from_type(struct wmWindowManager *wm, int job_type)
void WM_operator_region_active_win_set(struct bContext *C)
void WM_operator_free_all_after(wmWindowManager *wm, struct wmOperator *op)
void WM_operator_properties_select_action(struct wmOperatorType *ot, int default_action, bool hide_gui)
void WM_operator_properties_select_all(struct wmOperatorType *ot)
bool WM_event_is_mouse_drag(const struct wmEvent *event)
bool WM_jobs_is_running(struct wmJob *)
void WM_operator_properties_select_action_simple(struct wmOperatorType *ot, int default_action, bool hide_gui)
void WM_window_status_area_tag_redraw(struct wmWindow *win)
void WM_report_banner_show(void)
void WM_uilisttype_freelink(struct uiListType *ult)
bool WM_operator_check_ui_empty(struct wmOperatorType *ot)
const char * WM_window_cursor_keymap_status_get(const struct wmWindow *win, int button_index, int type_index)
void(* wm_jobs_start_callback)(void *custom_data, short *stop, short *do_update, float *progress)
bool WM_event_is_modal_tweak_exit(const struct wmEvent *event, int tweak_event)
void wmGetProjectionMatrix(float mat[4][4], const struct rcti *winrct)
void WM_gesture_straightline_cancel(struct bContext *C, struct wmOperator *op)
int WM_operator_call(struct bContext *C, struct wmOperator *op)
struct wmTimer * WM_event_add_timer_notifier(struct wmWindowManager *wm, struct wmWindow *win, unsigned int type, double timestep)
void WM_operator_properties_create(struct PointerRNA *ptr, const char *opstring)
void WM_event_remove_timer(struct wmWindowManager *wm, struct wmWindow *win, struct wmTimer *timer)
void(* wmUIHandlerRemoveFunc)(struct bContext *C, void *userdata)
void WM_operator_properties_select_operation_simple(struct wmOperatorType *ot)
void WM_operatortype_append(void(*opfunc)(struct wmOperatorType *))
void WM_menutype_iter(struct GHashIterator *ghi)
bool WM_event_drag_test(const struct wmEvent *event, const int prev_xy[2])
struct wmKeyMap *() wmEventHandler_KeymapDynamicFn(wmWindowManager *wm, struct wmEventHandler_Keymap *handler) ATTR_WARN_UNUSED_RESULT
void wmOrtho2(float x1, float x2, float y1, float y2)
int WM_event_absolute_delta_y(const struct wmEvent *event)
void WM_paint_cursor_tag_redraw(struct wmWindow *win, struct ARegion *region)
void WM_jobs_kill_all(struct wmWindowManager *wm)
void WM_operator_properties_select_walk_direction(struct wmOperatorType *ot)
char * WM_prop_pystring_assign(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int index)
void WM_event_tablet_data_default_set(struct wmTabletData *tablet_data)
void WM_opengl_context_release(void *context)
int WM_enum_search_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_exit_ex(struct bContext *C, const bool do_python)
bool WM_gesture_is_modal_first(const struct wmGesture *gesture)
void WM_event_set_keymap_handler_post_callback(struct wmEventHandler_Keymap *handler, void(keymap_tag)(wmKeyMap *keymap, wmKeyMapItem *kmi, void *user_data), void *user_data)
void WM_init_splash(struct bContext *C)
void WM_operator_properties_filesel(struct wmOperatorType *ot, int filter, short type, short action, short flag, short display, short sort)
int WM_gesture_circle_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
char * WM_operator_pystring_ex(struct bContext *C, struct wmOperator *op, const bool all_args, const bool macro_args, struct wmOperatorType *ot, struct PointerRNA *opptr)
bool WM_cursor_set_from_tool(struct wmWindow *win, const ScrArea *area, const ARegion *region)
void WM_report(ReportType type, const char *message)
int WM_gesture_straightline_active_side_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
bool WM_operator_properties_default(struct PointerRNA *ptr, const bool do_update)
int WM_operator_smooth_viewtx_get(const struct wmOperator *op)
bool WM_recover_last_session(struct bContext *C, struct ReportList *reports)
int WM_operator_repeat_last(struct bContext *C, struct wmOperator *op)
void wmPartialViewport(rcti *drawrct, const rcti *winrct, const rcti *partialrct)
bool WM_operator_filesel_ensure_ext_imtype(wmOperator *op, const struct ImageFormatData *im_format)
void WM_init_state_app_template_set(const char *app_template)
struct ID * WM_drag_get_local_ID_from_event(const struct wmEvent *event, short idcode)
void WM_operator_properties_gesture_straightline(struct wmOperatorType *ot, int cursor)
void WM_lib_reload(struct Library *lib, struct bContext *C, struct ReportList *reports)
void WM_event_add_notifier_ex(struct wmWindowManager *wm, const struct wmWindow *win, unsigned int type, void *reference)
void WM_operator_properties_generic_select(struct wmOperatorType *ot)
void WM_gesture_lines_cancel(struct bContext *C, struct wmOperator *op)
struct wmOperatorType * WM_operatortype_find(const char *idname, bool quiet)
void WM_event_remove_area_handler(struct ListBase *handlers, void *area)
struct ID * WM_drag_get_local_ID(const struct wmDrag *drag, short idcode)
int WM_operator_redo_popup(struct bContext *C, struct wmOperator *op)
void WM_tooltip_timer_init(struct bContext *C, struct wmWindow *win, struct ScrArea *area, struct ARegion *region, wmTooltipInitFn init)
void WM_init_native_pixels(bool do_it)
void WM_init_state_maximized_set(void)
void WM_operatortype_remove_ptr(struct wmOperatorType *ot)
void WM_window_set_dpi(const wmWindow *win)
bool WM_event_is_last_mousemove(const struct wmEvent *event)
struct Scene * WM_window_get_active_scene(const struct wmWindow *win) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
void WM_jobs_customdata_set(struct wmJob *, void *customdata, void(*free)(void *))
double WM_tooltip_time_closed(void)
struct wmEventHandler_Op * WM_event_add_modal_handler(struct bContext *C, struct wmOperator *op)
void wmOrtho2_pixelspace(const float x, const float y)
void WM_operator_properties_free(struct PointerRNA *ptr)
void WM_redraw_windows(struct bContext *C)
void WM_menutype_free(void)
void WM_cursor_wait(bool val)
struct ID * WM_file_append_datablock(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, struct View3D *v3d, const char *filepath, const short id_code, const char *id_name)
void WM_window_set_active_view_layer(struct wmWindow *win, struct ViewLayer *view_layer) ATTR_NONNULL(1)
bool WM_uilisttype_add(struct uiListType *ult)
void WM_operator_properties_select_operation(struct wmOperatorType *ot)
void WM_cursor_modal_restore(struct wmWindow *win)
void WM_tooltip_init(struct bContext *C, struct wmWindow *win)
struct ID * WM_drag_get_local_ID_or_import_from_asset(const struct wmDrag *drag, int idcode)
void WM_draw_region_viewport_bind(struct ARegion *region)
void WM_script_tag_reload(void)
int WM_gesture_box_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_cursor_grab_disable(struct wmWindow *win, const int mouse_ungrab_xy[2])
struct wmDropBox * WM_dropbox_add(ListBase *lb, const char *idname, bool(*poll)(struct bContext *, struct wmDrag *, const struct wmEvent *event, const char **), void(*copy)(struct wmDrag *, struct wmDropBox *), void(*cancel)(struct Main *, struct wmDrag *, struct wmDropBox *))
void WM_tooltip_timer_init_ex(struct bContext *C, struct wmWindow *win, struct ScrArea *area, struct ARegion *region, wmTooltipInitFn init, double delay)
void struct wmEvent struct wmEvent * wm_event_add(struct wmWindow *win, const struct wmEvent *event_to_add) ATTR_NONNULL(1
void WM_drag_data_free(int dragtype, void *poin)
void * WM_draw_cb_activate(struct wmWindow *win, void(*draw)(const struct wmWindow *, void *), void *customdata)
char * WM_clipboard_text_get(bool selection, int *r_len)
struct wmGenericCallback * WM_generic_callback_steal(struct wmGenericCallback *callback)
int WM_gesture_lasso_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
struct wmDrag * WM_event_start_drag(struct bContext *C, int icon, int type, void *poin, double value, unsigned int flags)
void WM_generic_callback_free(struct wmGenericCallback *callback)
void WM_drag_free_list(struct ListBase *lb)
char * WM_operator_pystring(struct bContext *C, struct wmOperator *op, const bool all_args, const bool macro_args)
void WM_window_cursor_keymap_status_refresh(struct bContext *C, struct wmWindow *win)
void WM_event_remove_timer_notifier(struct wmWindowManager *wm, struct wmWindow *win, struct wmTimer *timer)
struct wmKeyMap * WM_event_get_keymap_from_toolsystem(struct wmWindowManager *wm, struct wmEventHandler_Keymap *handler)
struct WorkSpace * WM_windows_workspace_get_from_screen(const wmWindowManager *wm, const struct bScreen *screen) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
struct Scene * WM_windows_scene_get_from_screen(const struct wmWindowManager *wm, const struct bScreen *screen) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
void WM_jobs_kill_type(struct wmWindowManager *wm, void *owner, int job_type)
bool WM_stereo3d_enabled(struct wmWindow *win, bool only_fullscreen_test)
void WM_operatortype_append_ptr(void(*opfunc)(struct wmOperatorType *, void *), void *userdata)
void WM_gestures_remove(struct wmWindow *win)
struct wmEventHandler_UI * WM_event_add_ui_handler(const struct bContext *C, ListBase *handlers, wmUIHandlerFunc handle_fn, wmUIHandlerRemoveFunc remove_fn, void *user_data, const char flag)
void WM_file_tag_modified(void)
char * WM_jobs_name(struct wmWindowManager *wm, void *owner)
double WM_jobs_starttime(struct wmWindowManager *wm, void *owner)
void WM_file_autoexec_init(const char *filepath)
struct wmPaintCursor * WM_paint_cursor_activate(short space_type, short region_type, bool(*poll)(struct bContext *C), void(*draw)(struct bContext *C, int, int, void *customdata), void *customdata)
int WM_operator_props_popup_call(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_draw_region_free(struct ARegion *region, bool hide)
ListBase * WM_dropboxmap_find(const char *idname, int spaceid, int regionid)
void WM_operator_free(struct wmOperator *op)
float WM_jobs_progress(struct wmWindowManager *wm, void *owner)
void WM_operator_bl_idname(char *to, const char *from)
void WM_operator_type_set(struct wmOperator *op, struct wmOperatorType *ot)
void WM_drag_free(struct wmDrag *drag)
struct PanelType * WM_paneltype_find(const char *idname, bool quiet)
int WM_event_modifier_flag(const struct wmEvent *event)
int WM_menu_invoke_ex(struct bContext *C, struct wmOperator *op, int opcontext)
struct ViewLayer * WM_window_get_active_view_layer(const struct wmWindow *win) ATTR_NONNULL(1) ATTR_WARN_UNUSED_RESULT
void WM_operator_properties_create_ptr(struct PointerRNA *ptr, struct wmOperatorType *ot)
int WM_window_pixels_x(const struct wmWindow *win)
bool(* EventHandlerPoll)(const ARegion *region, const struct wmEvent *event)
void WM_operatortype_props_advanced_begin(struct wmOperatorType *ot)
void WM_init_opengl(void)
void WM_window_set_active_scene(struct Main *bmain, struct bContext *C, struct wmWindow *win, struct Scene *scene_new) ATTR_NONNULL()
void WM_event_timer_sleep(struct wmWindowManager *wm, struct wmWindow *win, struct wmTimer *timer, bool do_sleep)
void WM_reportf(ReportType type, const char *format,...) ATTR_PRINTF_FORMAT(2
bool WM_window_is_maximized(const struct wmWindow *win)
void WM_init_state_size_set(int stax, int stay, int sizx, int sizy)
void WM_opengl_context_dispose(void *context)
int WM_gesture_straightline_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_gesture_lasso_cancel(struct bContext *C, struct wmOperator *op)
void WM_operator_properties_border_to_rcti(struct wmOperator *op, struct rcti *rect)
struct wmEventHandler_Keymap * WM_event_add_keymap_handler_poll(ListBase *handlers, wmKeyMap *keymap, EventHandlerPoll poll)
void WM_main_remap_editor_id_reference(struct ID *old_id, struct ID *new_id)
bool WM_window_find_under_cursor(const wmWindowManager *wm, const wmWindow *win_ignore, const wmWindow *win, const int mval[2], wmWindow **r_win, int r_mval[2])
bool WM_jobs_is_stopped(wmWindowManager *wm, void *owner)
void WM_operator_properties_gesture_box_zoom(struct wmOperatorType *ot)
int WM_gesture_lines_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_jobs_stop(struct wmWindowManager *wm, void *owner, void *startjob)
void WM_event_remove_ui_handler(ListBase *handlers, wmUIHandlerFunc handle_fn, wmUIHandlerRemoveFunc remove_fn, void *user_data, const bool postpone)
void WM_tooltip_clear(struct bContext *C, struct wmWindow *win)
bool WM_event_drag_test_with_delta(const struct wmEvent *event, const int delta[2])
void WM_init_tablet_api(void)
int(* wmUIHandlerFunc)(struct bContext *C, const struct wmEvent *event, void *userdata)
void WM_menutype_init(void)
void WM_event_modal_handler_area_replace(wmWindow *win, const struct ScrArea *old_area, struct ScrArea *new_area)
void WM_jobs_callbacks(struct wmJob *, wm_jobs_start_callback startjob, void(*initjob)(void *), void(*update)(void *), void(*endjob)(void *))
struct wmWindow * WM_window_open(struct bContext *C, const char *title, int x, int y, int sizex, int sizey, int space_type, bool dialog, bool temp, WindowAlignment alignment)
int WM_operator_props_popup_confirm(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_exit(struct bContext *C) ATTR_NORETURN
Main exit function to close Blender ordinarily.
void WM_event_remove_handlers(struct bContext *C, ListBase *handlers)
void WM_operator_stack_clear(struct wmWindowManager *wm)
void wmOrtho2_region_pixelspace(const struct ARegion *region)
bool WM_region_use_viewport(struct ScrArea *area, struct ARegion *region)
int WM_enum_search_invoke_previews(struct bContext *C, struct wmOperator *op, short prv_cols, short prv_rows)
void WM_operator_properties_gesture_circle(struct wmOperatorType *ot)
const int(* WM_gesture_lasso_path_to_array(struct bContext *C, struct wmOperator *op, int *mcoords_len))[2]
void WM_main_remove_notifier_reference(const void *reference)
void WM_cursor_grab_enable(struct wmWindow *win, int wrap, bool hide, int bounds[4])
struct bScreen * WM_window_get_active_screen(const struct wmWindow *win) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
int WM_operator_repeat(struct bContext *C, struct wmOperator *op)
void WM_operator_properties_confirm_or_exec(struct wmOperatorType *ot)
bool WM_file_read(struct bContext *C, const char *filepath, struct ReportList *reports)
void WM_operator_properties_border_to_rctf(struct wmOperator *op, rctf *rect)
void WM_window_pixel_sample_read(const wmWindowManager *wm, const wmWindow *win, const int pos[2], float r_col[3])
int WM_gesture_straightline_oneshot_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_operator_properties_gesture_lasso(struct wmOperatorType *ot)
void struct wmEvent * wm_event_add_ex(struct wmWindow *win, const struct wmEvent *event_to_add, const struct wmEvent *event_to_add_after) ATTR_NONNULL(1
void WM_operator_properties_checker_interval(struct wmOperatorType *ot, bool nth_can_disable)
void WM_uilisttype_free(void)
void WM_paneltype_remove(struct PanelType *pt)
void WM_cursor_warp(struct wmWindow *win, int x, int y)
void WM_window_ensure_active_view_layer(struct wmWindow *win) ATTR_NONNULL(1)
bool WM_menutype_add(struct MenuType *mt)
struct wmEventHandler_Keymap * WM_event_add_keymap_handler_v2d_mask(ListBase *handlers, wmKeyMap *keymap)
void WM_check(struct bContext *C)
void wmWindowViewport(struct wmWindow *win)
struct wmEventHandler_Dropbox * WM_event_add_dropbox_handler(ListBase *handlers, ListBase *dropboxes)
void wmViewport(const struct rcti *winrct)
int WM_operator_name_call_ptr(struct bContext *C, struct wmOperatorType *ot, short context, struct PointerRNA *properties)
void WM_window_screen_rect_calc(const struct wmWindow *win, struct rcti *r_rect)
const char * WM_operatortype_name(struct wmOperatorType *ot, struct PointerRNA *properties)
void WM_paint_cursor_remove_by_type(struct wmWindowManager *wm, void *draw_fn, void(*free)(void *))
IDProperty * WM_operator_last_properties_ensure_idprops(struct wmOperatorType *ot)
void WM_operator_properties_checker_interval_from_op(struct wmOperator *op, struct CheckerIntervalParams *op_params)
const char * WM_context_member_from_ptr(struct bContext *C, const struct PointerRNA *ptr)
struct wmOperatorType * WM_operatortype_append_macro(const char *idname, const char *name, const char *description, int flag)
float WM_event_tablet_data(const struct wmEvent *event, int *pen_flip, float tilt[2])
bool WM_menutype_poll(struct bContext *C, struct MenuType *mt)
void WM_operator_py_idname(char *to, const char *from)
void WM_tooltip_timer_clear(struct bContext *C, struct wmWindow *win)
void WM_tooltip_immediate_init(struct bContext *C, struct wmWindow *win, struct ScrArea *area, struct ARegion *region, wmTooltipInitFn init)
int WM_generic_select_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
void WM_operator_properties_alloc(struct PointerRNA **ptr, struct IDProperty **properties, const char *opstring)
void WM_init_state_start_with_console_set(bool value)
bool WM_operator_repeat_check(const struct bContext *C, struct wmOperator *op)
void WM_progress_clear(struct wmWindow *win)
void WM_event_modal_handler_region_replace(wmWindow *win, const struct ARegion *old_region, struct ARegion *new_region)
void struct wmEvent struct wmEvent void wm_event_init_from_window(struct wmWindow *win, struct wmEvent *event)
int WM_userdef_event_type_from_keymap_type(int kmitype)
struct wmEventHandler_Keymap * WM_event_add_keymap_handler(ListBase *handlers, wmKeyMap *keymap)
void WM_gesture_box_cancel(struct bContext *C, struct wmOperator *op)
void WM_job_main_thread_lock_release(struct wmJob *job)
struct wmKeyMap * WM_event_get_keymap_from_toolsystem_fallback(struct wmWindowManager *wm, struct wmEventHandler_Keymap *handler)
void WM_operator_properties_border(struct wmOperatorType *ot)
bool WM_operator_last_properties_store(struct wmOperator *op)
void WM_jobs_start(struct wmWindowManager *wm, struct wmJob *)
int WM_operator_confirm_or_exec(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
struct GPUViewport * WM_draw_region_get_bound_viewport(struct ARegion *region)
int WM_operator_props_dialog_popup(struct bContext *C, struct wmOperator *op, int width)
struct wmOperatorTypeMacro * WM_operatortype_macro_define(struct wmOperatorType *ot, const char *idname)
wmKeyMapItem * WM_event_match_keymap_item(struct bContext *C, wmKeyMap *keymap, const struct wmEvent *event)
struct wmGesture * WM_gesture_new(struct wmWindow *window, const struct ARegion *region, const struct wmEvent *event, int type)
void WM_event_free_ui_handler_all(struct bContext *C, ListBase *handlers, wmUIHandlerFunc handle_fn, wmUIHandlerRemoveFunc remove_fn)
wmOperator * WM_operator_last_redo(const struct bContext *C)
void WM_init_state_fullscreen_set(void)
void WM_jobs_kill(struct wmWindowManager *wm, void *owner, void(*)(void *, short int *, short int *, float *))
void WM_operator_properties_gesture_box_select(struct wmOperatorType *ot)
struct wmEvent * WM_event_add_simulate(struct wmWindow *win, const struct wmEvent *event_to_add)
void WM_init_window_focus_set(bool do_it)
void WM_reinit_gizmomap_all(struct Main *bmain)
void WM_draw_region_viewport_ensure(struct ARegion *region, short space_type)
void WM_operator_properties_select_random(struct wmOperatorType *ot)
void WM_gestures_free_all(struct wmWindow *win)
int WM_window_pixels_y(const struct wmWindow *win)
struct wmTimer * WM_event_add_timer(struct wmWindowManager *wm, struct wmWindow *win, int event_type, double timestep)
int WM_gesture_lasso_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
struct ScrArea * WM_window_status_area_find(struct wmWindow *win, struct bScreen *screen)
struct GPUViewport * WM_draw_region_get_viewport(struct ARegion *region)
int WM_event_absolute_delta_x(const struct wmEvent *event)
void WM_draw_region_viewport_unbind(struct ARegion *region)
bool WM_operator_winactive(struct bContext *C)
bool WM_drag_is_ID_type(const struct wmDrag *drag, int idcode)
int WM_operator_call_ex(struct bContext *C, struct wmOperator *op, const bool store)
struct wmJob * WM_jobs_get(struct wmWindowManager *wm, struct wmWindow *win, void *owner, const char *name, int flag, int job_type)
void WM_operator_view3d_unit_defaults(struct bContext *C, struct wmOperator *op)
void WM_uilisttype_init(void)
void WM_operator_properties_sanitize(struct PointerRNA *ptr, const bool no_context)
bool WM_operatortype_remove(const char *idname)
void WM_tooltip_refresh(struct bContext *C, struct wmWindow *win)
int WM_operator_confirm_message_ex(struct bContext *C, struct wmOperator *op, const char *title, const int icon, const char *message, const short opcontext)
void WM_event_fileselect_event(struct wmWindowManager *wm, void *ophandle, int eventval)
void WM_paneltype_clear(void)
@ WIN_ALIGN_LOCATION_CENTER
@ WIN_ALIGN_PARENT_CENTER
void WM_event_add_mousemove(wmWindow *win)
wmKeyMapItem * WM_event_match_keymap_item_from_handlers(struct bContext *C, struct wmWindowManager *wm, struct ListBase *handlers, const struct wmEvent *event)
int WM_generic_select_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event)
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
void sort(btMatrix3x3 &U, btVector3 &sigma, btMatrix3x3 &V, int t)
Helper function of 3X3 SVD for sorting singular values.
std::string id_name(void *id)
DEGForeachIDComponentCallback callback
DO_INLINE void filter(lfVector *V, fmatrix3x3 *S)
static void area(int d1, int d2, int e1, int e2, float weights[2])
static GPUContext * wrap(Context *ctx)
static void update(bNodeTree *ntree)
static void copy(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node)
struct SELECTID_Context context
char idname[BKE_ST_MAXNAME]
char idname[BKE_ST_MAXNAME]
bool(* poll)(struct bContext *, struct wmDrag *, const wmEvent *, const char **)
void(* cancel)(struct Main *, struct wmDrag *, struct wmDropBox *)
wmUIHandlerRemoveFunc remove_fn
wmUIHandlerFunc handle_fn
wm_jobs_start_callback startjob
struct IDProperty * properties
void(* draw)(bContext *C, int, int, void *customdata)
bool(* poll)(struct bContext *C)
static ListBase dropboxes
wmXrSessionState * WM_xr_session_state_handle_get(const wmXrData *xr)
void WM_xr_session_base_pose_reset(wmXrData *xr)
bool WM_xr_session_state_viewer_pose_matrix_info_get(const wmXrData *xr, float r_viewmat[4][4], float *r_focal_len)
bool WM_xr_session_is_ready(const wmXrData *xr)
bool WM_xr_session_state_viewer_pose_location_get(const wmXrData *xr, float r_location[3])
bool WM_xr_session_exists(const wmXrData *xr)
bool WM_xr_session_state_viewer_pose_rotation_get(const wmXrData *xr, float r_rotation[4])