105 const char *contexts[],
106 const char *category_override);
114 const char *contexts[],
115 const char *category_override);
150 const char *text_array[],
267 #define ED_screen_areas_iter(win, screen, area_name) \
268 for (ScrArea *area_name = ED_screen_areas_iter_first(win, screen); area_name != NULL; \
269 area_name = ED_screen_areas_iter_next(screen, area_name))
270 #define ED_screen_verts_iter(win, screen, vert_name) \
271 for (ScrVert *vert_name = (win)->global_areas.vertbase.first ? \
272 (win)->global_areas.vertbase.first : \
273 (screen)->vertbase.first; \
275 vert_name = (vert_name == (win)->global_areas.vertbase.last) ? (screen)->vertbase.first : \
310 bool refresh_toolsystem);
638 struct ARegion *region,
int num_segments,
const int *points,
int sfra,
int efra);
661 const int event_xy[2],
#define ATTR_NONNULL(...)
struct Depsgraph Depsgraph
bool ED_operator_editmesh_region_view3d(struct bContext *C)
void ED_region_exit(struct bContext *C, struct ARegion *region)
void ED_region_info_draw(struct ARegion *region, const char *text, float fill_color[4], bool full_redraw)
ARegion * ED_area_find_region_xy_visual(const ScrArea *area, int regiontype, const int event_xy[2])
bool ED_operator_spreadsheet_active(struct bContext *C)
void ED_region_grid_draw(struct ARegion *region, float zoomx, float zoomy, float x0, float y0)
void ED_area_tag_redraw(ScrArea *area)
bool ED_operator_editcurve_3d(struct bContext *C)
void ED_screen_do_listen(struct bContext *C, struct wmNotifier *note)
bool ED_region_overlap_isect_y(const ARegion *region, int event_y)
void ED_area_update_region_sizes(struct wmWindowManager *wm, struct wmWindow *win, struct ScrArea *area)
void ED_region_do_layout(struct bContext *C, struct ARegion *region)
struct bUserMenu * ED_screen_user_menu_ensure(struct bContext *C)
bScreen * ED_screen_animation_no_scrub(const struct wmWindowManager *wm)
bool ED_area_has_shared_border(struct ScrArea *a, struct ScrArea *b)
void ED_screen_global_areas_sync(struct wmWindow *win)
float ED_region_blend_alpha(struct ARegion *region)
void ED_region_header(const struct bContext *C, struct ARegion *region)
void ED_region_pixelspace(const struct ARegion *region)
bool ED_operator_posemode(struct bContext *C)
bool ED_operator_file_active(struct bContext *C)
void ED_region_visibility_change_update(struct bContext *C, struct ScrArea *area, struct ARegion *region)
bool ED_operator_asset_browsing_active(struct bContext *C)
void ED_region_tag_redraw_partial(struct ARegion *region, const struct rcti *rct, bool rebuild)
void ED_region_tag_redraw_cursor(struct ARegion *region)
bool ED_region_overlap_isect_x(const ARegion *region, int event_x)
void ED_operatortypes_screen(void)
bool ED_operator_editsurfcurve(struct bContext *C)
bool ED_operator_sequencer_active(struct bContext *C)
void ED_screen_full_prevspace(struct bContext *C, ScrArea *area)
bool ED_region_panel_category_gutter_isect_xy(const ARegion *region, const int event_xy[2])
bool ED_region_overlap_isect_xy_with_margin(const ARegion *region, const int event_xy[2], int margin)
bool ED_operator_areaactive(struct bContext *C)
void ED_screen_exit(struct bContext *C, struct wmWindow *window, struct bScreen *screen)
void ED_workspace_scene_data_sync(struct WorkSpaceInstanceHook *hook, Scene *scene) ATTR_NONNULL()
bUserMenu ** ED_screen_user_menus_find(const struct bContext *C, uint *r_len)
void ED_region_image_metadata_panel_draw(struct ImBuf *ibuf, struct uiLayout *layout)
bool ED_operator_node_active(struct bContext *C)
int ED_area_global_size_y(const ScrArea *area)
void ED_region_do_msg_notify_tag_redraw(struct bContext *C, struct wmMsgSubscribeKey *msg_key, struct wmMsgSubscribeValue *msg_val)
bool ED_operator_posemode_local(struct bContext *C)
struct WorkSpaceLayout * ED_workspace_layout_add(struct Main *bmain, struct WorkSpace *workspace, struct wmWindow *win, const char *name) ATTR_NONNULL()
bool ED_operator_image_active(struct bContext *C)
void ED_screens_init(struct Main *bmain, struct wmWindowManager *wm)
bool ED_operator_scene(struct bContext *C)
void ED_region_visibility_change_update_animated(struct bContext *C, struct ScrArea *area, struct ARegion *region)
void ED_region_cursor_set(struct wmWindow *win, struct ScrArea *area, struct ARegion *region)
bool ED_operator_editcurve(struct bContext *C)
int ED_region_snap_size_test(const struct ARegion *region)
bool ED_operator_object_active_editable_mesh(struct bContext *C)
void ED_area_do_mgs_subscribe_for_tool_ui(const struct wmRegionMessageSubscribeParams *params)
bool ED_operator_screenactive(struct bContext *C)
bool ED_operator_object_active_local_editable(struct bContext *C)
void ED_operatortypes_workspace(void)
int ED_area_global_min_size_y(const ScrArea *area)
bool ED_operator_posemode_context(struct bContext *C)
bool ED_region_overlap_isect_any_xy(const ScrArea *area, const int event_xy[2])
void ED_area_do_msg_notify_tag_refresh(struct bContext *C, struct wmMsgSubscribeKey *msg_key, struct wmMsgSubscribeValue *msg_val)
void ED_region_tag_redraw_editor_overlays(struct ARegion *region)
void ED_screen_user_menu_register(void)
void ED_screen_animation_timer_update(struct bScreen *screen, int redraws)
int ED_region_generic_tools_region_snap_size(const struct ARegion *region, int size, int axis)
bool ED_operator_graphedit_active(struct bContext *C)
ScrArea * ED_screen_temp_space_open(struct bContext *C, const char *title, int x, int y, int sizex, int sizey, eSpace_Type space_type, int display_type, bool dialog)
ScrArea * ED_screen_areas_iter_next(const bScreen *screen, const ScrArea *area)
const char * ED_area_region_search_filter_get(const struct ScrArea *area, const struct ARegion *region)
bool ED_operator_buttons_active(struct bContext *C)
bool ED_operator_editmball(struct bContext *C)
void ED_area_status_text(ScrArea *area, const char *str)
Scene * ED_screen_scene_find_with_window(const struct bScreen *screen, const struct wmWindowManager *wm, struct wmWindow **r_window)
void ED_area_prevspace(struct bContext *C, ScrArea *area)
void ED_region_remove(struct bContext *C, struct ScrArea *area, struct ARegion *region)
bool ED_operator_outliner_active_no_editobject(struct bContext *C)
bool ED_screen_stereo3d_required(const struct bScreen *screen, const struct Scene *scene)
void ED_area_tag_redraw_no_rebuild(ScrArea *area)
struct bUserMenuItem_Prop * ED_screen_user_menu_item_find_prop(struct ListBase *lb, const char *context_data_path, const char *prop_id, int prop_index)
void ED_screens_footer_tools_menu_create(struct bContext *C, struct uiLayout *layout, void *arg)
void ED_region_tag_refresh_ui(struct ARegion *region)
int ED_area_global_max_size_y(const ScrArea *area)
void ED_region_generic_tools_region_message_subscribe(const struct wmRegionMessageSubscribeParams *params)
ScrArea * ED_area_offscreen_create(struct wmWindow *win, eSpace_Type space_type)
bool ED_operator_animview_active(struct bContext *C)
void ED_region_toggle_hidden(struct bContext *C, struct ARegion *region)
void ED_region_do_listen(struct wmRegionListenerParams *params)
bool ED_operator_editsurfcurve_region_view3d(struct bContext *C)
void ED_screen_scene_change(struct bContext *C, struct wmWindow *win, struct Scene *scene, bool refresh_toolsystem)
struct bUserMenuItem_Menu * ED_screen_user_menu_item_find_menu(struct ListBase *lb, const struct MenuType *mt)
void ED_screen_animation_timer(struct bContext *C, int redraws, int sync, int enable)
bool ED_operator_object_active_editable_ex(struct bContext *C, const Object *ob)
bool ED_operator_editmesh_auto_smooth(struct bContext *C)
bool ED_operator_screenactive_nobackground(struct bContext *C)
void ED_screens_header_tools_menu_create(struct bContext *C, struct uiLayout *layout, void *arg)
struct WorkSpaceLayout * ED_workspace_screen_change_ensure_unused_layout(struct Main *bmain, struct WorkSpace *workspace, struct WorkSpaceLayout *layout_new, const struct WorkSpaceLayout *layout_fallback_base, struct wmWindow *win) ATTR_NONNULL()
int ED_area_headersize(void)
void ED_screen_user_menu_item_remove(struct ListBase *lb, struct bUserMenuItem *umi)
void ED_region_panels(const struct bContext *C, struct ARegion *region)
bool ED_operator_editmesh_view3d(struct bContext *C)
ScrArea * ED_area_find_under_cursor(const struct bContext *C, int spacetype, const int xy[2])
void ED_screens_navigation_bar_tools_menu_create(struct bContext *C, struct uiLayout *layout, void *arg)
bool ED_area_is_global(const ScrArea *area)
int ED_screen_animation_play(struct bContext *C, int sync, int mode)
void ED_region_tag_redraw_no_rebuild(struct ARegion *region)
bool ED_operator_file_browsing_active(struct bContext *C)
bool ED_operator_object_active_local_editable_posemode_exclusive(struct bContext *C)
void ED_refresh_viewport_fps(struct bContext *C)
bool ED_operator_object_active_editable(struct bContext *C)
void ED_region_panels_ex(const struct bContext *C, struct ARegion *region, const char *contexts[])
bScreen * ED_screen_state_maximized_create(struct bContext *C)
bool ED_operator_regionactive(struct bContext *C)
void ED_region_cache_draw_curfra_label(int framenr, float x, float y)
void ED_region_panels_draw(const struct bContext *C, struct ARegion *region)
void ED_screen_user_menu_item_add_operator(struct ListBase *lb, const char *ui_name, const struct wmOperatorType *ot, const struct IDProperty *prop, wmOperatorCallContext opcontext)
struct WorkSpaceLayout * ED_workspace_layout_duplicate(struct Main *bmain, struct WorkSpace *workspace, const struct WorkSpaceLayout *layout_old, struct wmWindow *win) ATTR_NONNULL()
bool ED_operator_console_active(struct bContext *C)
bool ED_operator_camera_poll(struct bContext *C)
struct bUserMenuItem_Op * ED_screen_user_menu_item_find_operator(struct ListBase *lb, const struct wmOperatorType *ot, struct IDProperty *prop, wmOperatorCallContext opcontext)
Scene * ED_screen_scene_find(const struct bScreen *screen, const struct wmWindowManager *wm)
void ED_region_visible_rect_calc(struct ARegion *region, struct rcti *rect)
bool ED_operator_outliner_active(struct bContext *C)
bool ED_operator_uvedit_space_image(struct bContext *C)
void ED_region_floating_init(struct ARegion *region)
bool ED_operator_editable_mesh(struct bContext *C)
bool ED_workspace_change(struct WorkSpace *workspace_new, struct bContext *C, struct wmWindowManager *wm, struct wmWindow *win) ATTR_NONNULL()
Change the active workspace.
bool ED_region_property_search(const struct bContext *C, struct ARegion *region, struct ListBase *paneltypes, const char *contexts[], const char *category_override)
bool ED_operator_info_active(struct bContext *C)
void ED_keymap_screen(struct wmKeyConfig *keyconf)
void ED_region_info_draw_multiline(ARegion *region, const char *text_array[], float fill_color[4], bool full_redraw)
void ED_area_do_mgs_subscribe_for_tool_header(const struct wmRegionMessageSubscribeParams *params)
bool ED_region_is_overlap(int spacetype, int regiontype)
bool ED_region_snap_size_apply(struct ARegion *region, int snap_flag)
bool ED_operator_editarmature(struct bContext *C)
void ED_spacetypes_keymap(struct wmKeyConfig *keyconf)
struct ARegionType * ED_area_type_hud(int space_type)
bool ED_operator_node_editable(struct bContext *C)
void ED_update_for_newframe(struct Main *bmain, struct Depsgraph *depsgraph)
void ED_region_message_subscribe(struct wmRegionMessageSubscribeParams *params)
ScrArea * ED_screen_full_newspace(struct bContext *C, ScrArea *area, int type)
void ED_region_cache_draw_background(struct ARegion *region)
void ED_area_exit(struct bContext *C, struct ScrArea *area)
struct AZone * ED_area_azones_update(ScrArea *area, const int mouse_xy[2])
bool ED_workspace_layout_delete(struct WorkSpace *workspace, struct WorkSpaceLayout *layout_old, struct bContext *C) ATTR_NONNULL()
void ED_area_tag_redraw_regiontype(ScrArea *area, int type)
bScreen * ED_screen_animation_playing(const struct wmWindowManager *wm)
void ED_region_header_layout(const struct bContext *C, struct ARegion *region)
void ED_region_cache_draw_cached_segments(struct ARegion *region, int num_segments, const int *points, int sfra, int efra)
struct WorkSpace * ED_workspace_duplicate(struct WorkSpace *workspace_old, struct Main *bmain, struct wmWindow *win)
void ED_screen_draw_edges(struct wmWindow *win)
void ED_region_do_draw(struct bContext *C, struct ARegion *region)
void ED_region_panels_init(struct wmWindowManager *wm, struct ARegion *region)
bool ED_region_overlap_isect_xy(const ARegion *region, const int event_xy[2])
void ED_screen_set_active_region(struct bContext *C, struct wmWindow *win, const int xy[2])
bool ED_operator_uvmap(struct bContext *C)
void ED_region_tag_redraw(struct ARegion *region)
bool ED_operator_editlattice(struct bContext *C)
void ED_region_header_init(struct ARegion *region)
bool ED_region_overlap_isect_x_with_margin(const ARegion *region, int event_x, int margin)
bool ED_operator_uvedit(struct bContext *C)
void ED_area_tag_refresh(ScrArea *area)
void ED_screen_refresh(struct wmWindowManager *wm, struct wmWindow *win)
bool ED_operator_view3d_active(struct bContext *C)
struct ScrArea * ED_screen_state_toggle(struct bContext *C, struct wmWindow *win, struct ScrArea *area, short state)
bool ED_operator_editmesh(struct bContext *C)
bool ED_operator_nla_active(struct bContext *C)
void ED_region_panels_layout_ex(const struct bContext *C, struct ARegion *region, struct ListBase *paneltypes, const char *contexts[], const char *category_override)
int ED_area_footersize(void)
struct WorkSpace * ED_workspace_add(struct Main *bmain, const char *name) ATTR_NONNULL()
void ED_area_newspace(struct bContext *C, ScrArea *area, int type, bool skip_region_exit)
bool ED_operator_object_active_local_editable_ex(struct bContext *C, const Object *ob)
void ED_region_search_filter_update(const struct ScrArea *area, struct ARegion *region)
void ED_screen_user_menu_item_add_prop(ListBase *lb, const char *ui_name, const char *context_data_path, const char *prop_id, int prop_index)
bool ED_operator_sequencer_active_editable(struct bContext *C)
void ED_area_do_listen(struct wmSpaceTypeListenerParams *params)
bool ED_region_panel_category_gutter_calc_rect(const ARegion *region, rcti *r_region_gutter)
void ED_area_offscreen_free(struct wmWindowManager *wm, struct wmWindow *win, struct ScrArea *area)
bool ED_operator_objectmode(struct bContext *C)
void ED_area_type_hud_clear(struct wmWindowManager *wm, ScrArea *area_keep)
bool ED_operator_objectmode_poll_msg(struct bContext *C)
void ED_area_do_refresh(struct bContext *C, ScrArea *area)
void ED_screen_ensure_updated(struct wmWindowManager *wm, struct wmWindow *win, struct bScreen *screen)
bool ED_operator_screen_mainwinactive(struct bContext *C)
void ED_screen_preview_render(const struct bScreen *screen, int size_x, int size_y, unsigned int *r_rect) ATTR_NONNULL()
bool ED_workspace_delete(struct WorkSpace *workspace, struct Main *bmain, struct bContext *C, struct wmWindowManager *wm) ATTR_NONNULL()
struct wmWindow * ED_screen_window_find(const struct bScreen *screen, const struct wmWindowManager *wm)
bool ED_operator_editsurf(struct bContext *C)
ScrArea * ED_screen_area_find_with_spacedata(const bScreen *screen, const struct SpaceLink *sl, bool only_visible)
bool ED_operator_scene_editable(struct bContext *C)
ScrArea * ED_screen_areas_iter_first(const struct wmWindow *win, const bScreen *screen)
bool ED_operator_object_active(struct bContext *C)
void ED_area_init(struct wmWindowManager *wm, struct wmWindow *win, struct ScrArea *area)
void ED_area_swapspace(struct bContext *C, ScrArea *sa1, ScrArea *sa2)
void ED_region_panels_layout(const struct bContext *C, struct ARegion *region)
bool ED_operator_editfont(struct bContext *C)
void ED_screen_user_menu_item_add_menu(struct ListBase *lb, const char *ui_name, const struct MenuType *mt)
bool ED_region_contains_xy(const struct ARegion *region, const int event_xy[2])
bool ED_region_overlap_isect_y_with_margin(const ARegion *region, int event_y, int margin)
void ED_screen_full_restore(struct bContext *C, ScrArea *area)
void ED_region_update_rect(struct ARegion *region)
void ED_area_type_hud_ensure(struct bContext *C, struct ScrArea *area)
bool ED_operator_posemode_exclusive(struct bContext *C)
bool ED_operator_region_view3d_active(struct bContext *C)
bool ED_workspace_layout_cycle(struct WorkSpace *workspace, short direction, struct bContext *C) ATTR_NONNULL()
void ED_region_header_draw(const struct bContext *C, struct ARegion *region)
int ED_region_global_size_y(void)
bool ED_operator_object_active_editable_font(struct bContext *C)
void ED_workspace_status_text(struct bContext *C, const char *str)
void ED_screen_global_areas_refresh(struct wmWindow *win)
void ED_screen_restore_temp_type(struct bContext *C, ScrArea *area)
bool ED_operator_action_active(struct bContext *C)
bool ED_screen_change(struct bContext *C, struct bScreen *screen)
Change the active screen.
int ED_area_header_switchbutton(const struct bContext *C, struct uiBlock *block, int yco)
@ SPACE_CONTEXT_CYCLE_NEXT
@ SPACE_CONTEXT_CYCLE_PREV
const rcti * ED_region_visible_rect(ARegion *region)
int ED_screen_area_active(const struct bContext *C)
_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
_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
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
const Depsgraph * depsgraph
static void area(int d1, int d2, int e1, int e2, float weights[2])
static const pxr::TfToken b("b", pxr::TfToken::Immortal)