Blender
V3.3
|
#include <math.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_dlrbTree.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_curve_types.h"
#include "DNA_lattice_types.h"
#include "DNA_mask_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meta_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
#include "DNA_workspace_types.h"
#include "BKE_context.h"
#include "BKE_editmesh.h"
#include "BKE_fcurve.h"
#include "BKE_global.h"
#include "BKE_icons.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#include "BKE_mask.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "BKE_screen.h"
#include "BKE_sound.h"
#include "BKE_workspace.h"
#include "WM_api.h"
#include "WM_types.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "ED_anim_api.h"
#include "ED_armature.h"
#include "ED_clip.h"
#include "ED_fileselect.h"
#include "ED_image.h"
#include "ED_keyframes_keylist.h"
#include "ED_mesh.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_screen_types.h"
#include "ED_sequencer.h"
#include "ED_undo.h"
#include "ED_util.h"
#include "ED_view3d.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "RNA_prototypes.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "GPU_capabilities.h"
#include "screen_intern.h"
Go to the source code of this file.
Classes | |
struct | sActionzoneData |
struct | sAreaSwapData |
struct | sAreaMoveData |
struct | sAreaSplitData |
struct | RegionMoveData |
struct | sAreaJoinData |
struct | RegionAlphaInfo |
Macros | |
#define | KM_MODAL_CANCEL 1 |
#define | KM_MODAL_APPLY 2 |
#define | KM_MODAL_SNAP_ON 3 |
#define | KM_MODAL_SNAP_OFF 4 |
Region Alpha Blending Operator | |
Implementation NOTE: a disappearing region needs at least 1 last draw with 100% back-buffer texture over it - then triple buffer will clear it entirely. This because flag RGN_FLAG_HIDDEN is set in end - region doesn't draw at all then. | |
#define | TIMEOUT 0.1f |
#define | TIMESTEP (1.0f / 60.0f) |
typedef struct RegionAlphaInfo | RegionAlphaInfo |
float | ED_region_blend_alpha (ARegion *region) |
static void | region_blend_end (bContext *C, ARegion *region, const bool is_running) |
void | ED_region_visibility_change_update_animated (bContext *C, ScrArea *area, ARegion *region) |
static int | region_blend_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *event) |
static void | SCREEN_OT_region_blend (wmOperatorType *ot) |
Swap Area Operator | |
typedef struct sAreaSwapData | sAreaSwapData |
static bool | area_swap_init (wmOperator *op, const wmEvent *event) |
static void | area_swap_exit (bContext *C, wmOperator *op) |
static void | area_swap_cancel (bContext *C, wmOperator *op) |
static int | area_swap_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
static int | area_swap_modal (bContext *C, wmOperator *op, const wmEvent *event) |
static int | area_swap_exec (bContext *C, wmOperator *op) |
static void | SCREEN_OT_area_swap (wmOperatorType *ot) |
Move Area Edge Operator | |
typedef struct sAreaMoveData | sAreaMoveData |
static void | area_move_set_limits (wmWindow *win, bScreen *screen, const eScreenAxis dir_axis, int *bigger, int *smaller, bool *use_bigger_smaller_snap) |
static bool | area_move_init (bContext *C, wmOperator *op) |
static int | area_snap_calc_location (const bScreen *screen, const enum AreaMoveSnapType snap_type, const int delta, const int origval, const eScreenAxis dir_axis, const int bigger, const int smaller) |
static void | area_move_apply_do (const bContext *C, int delta, const int origval, const eScreenAxis dir_axis, const int bigger, const int smaller, const enum AreaMoveSnapType snap_type) |
static void | area_move_apply (bContext *C, wmOperator *op) |
static void | area_move_exit (bContext *C, wmOperator *op) |
static int | area_move_exec (bContext *C, wmOperator *op) |
static int | area_move_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
static void | area_move_cancel (bContext *C, wmOperator *op) |
static int | area_move_modal (bContext *C, wmOperator *op, const wmEvent *event) |
static void | SCREEN_OT_area_move (wmOperatorType *ot) |
Scale Region Edge Operator | |
typedef struct RegionMoveData | RegionMoveData |
static int | area_max_regionsize (ScrArea *area, ARegion *scalear, AZEdge edge) |
static bool | is_split_edge (const int alignment, const AZEdge edge) |
static void | region_scale_exit (wmOperator *op) |
static int | region_scale_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
static void | region_scale_validate_size (RegionMoveData *rmd) |
static void | region_scale_toggle_hidden (bContext *C, RegionMoveData *rmd) |
static int | region_scale_modal (bContext *C, wmOperator *op, const wmEvent *event) |
static void | region_scale_cancel (bContext *UNUSED(C), wmOperator *op) |
static void | SCREEN_OT_region_scale (wmOperatorType *ot) |
Screen Join-Area Operator | |
typedef struct sAreaJoinData | sAreaJoinData |
static void | area_join_draw_cb (const struct wmWindow *UNUSED(win), void *userdata) |
static bool | area_join_init (bContext *C, wmOperator *op, ScrArea *sa1, ScrArea *sa2) |
static bool | area_join_apply (bContext *C, wmOperator *op) |
static void | area_join_exit (bContext *C, wmOperator *op) |
static int | area_join_exec (bContext *C, wmOperator *op) |
static int | area_join_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
static void | area_join_cancel (bContext *C, wmOperator *op) |
static int | area_join_modal (bContext *C, wmOperator *op, const wmEvent *event) |
static void | SCREEN_OT_area_join (wmOperatorType *ot) |
Space Context Cycle Operator | |
static const EnumPropertyItem | space_context_cycle_direction [] |
static bool | space_context_cycle_poll (bContext *C) |
static void | context_cycle_prop_get (bScreen *screen, const ScrArea *area, PointerRNA *r_ptr, PropertyRNA **r_prop) |
static int | space_context_cycle_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
static void | SCREEN_OT_space_context_cycle (wmOperatorType *ot) |
#define KM_MODAL_APPLY 2 |
Definition at line 83 of file screen_ops.c.
#define KM_MODAL_CANCEL 1 |
Definition at line 82 of file screen_ops.c.
#define KM_MODAL_SNAP_OFF 4 |
Definition at line 85 of file screen_ops.c.
#define KM_MODAL_SNAP_ON 3 |
Definition at line 84 of file screen_ops.c.
#define TIMEOUT 0.1f |
Definition at line 5308 of file screen_ops.c.
#define TIMESTEP (1.0f / 60.0f) |
Definition at line 5309 of file screen_ops.c.
typedef struct RegionAlphaInfo RegionAlphaInfo |
typedef struct RegionMoveData RegionMoveData |
typedef struct sActionzoneData sActionzoneData |
typedef struct sAreaJoinData sAreaJoinData |
typedef struct sAreaMoveData sAreaMoveData |
typedef struct sAreaSplitData sAreaSplitData |
typedef struct sAreaSwapData sAreaSwapData |
|
static |
Definition at line 987 of file screen_ops.c.
References AZONE_AREA, AZONE_FULLSCREEN, C, CTX_wm_window(), wmOperator::customdata, EVT_ACTIONZONE_AREA, EVT_ACTIONZONE_FULLSCREEN, EVT_ACTIONZONE_REGION, KM_NOTHING, NULL, type, wm_event_add(), and wm_event_init_from_window().
Referenced by actionzone_invoke(), and actionzone_modal().
Definition at line 723 of file screen_ops.c.
References blender::compositor::area(), bScreen::areabase, BLI_rcti_isect_pt_v(), C, CTX_wm_window(), wmWindow::eventstate, LISTBASE_FOREACH, WM_window_get_active_screen(), xy, and wmEvent::xy.
Referenced by SCREEN_OT_actionzone().
|
static |
Definition at line 1166 of file screen_ops.c.
References actionzone_exit().
Referenced by SCREEN_OT_actionzone().
|
static |
Definition at line 979 of file screen_ops.c.
References wmOperator::customdata, G, G_TRANSFORM_WM, and MEM_SAFE_FREE.
Referenced by actionzone_cancel(), actionzone_invoke(), actionzone_modal(), and area_dupli_invoke().
|
static |
Definition at line 1013 of file screen_ops.c.
References actionzone_apply(), actionzone_exit(), sActionzoneData::az, AZONE_AREA, AZONE_FULLSCREEN, AZONE_REGION, AZONE_REGION_SCROLL, BLI_assert, C, CTX_wm_screen(), wmOperator::customdata, ELEM, G, G_TRANSFORM_WM, MEM_callocN, sActionzoneData::modifier, NULL, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_int_get(), sActionzoneData::sa1, screen_actionzone_area(), screen_actionzone_find_xy(), AZone::type, WM_event_add_modal_handler(), sActionzoneData::x, wmEvent::xy, and sActionzoneData::y.
Referenced by SCREEN_OT_actionzone().
|
static |
Definition at line 1047 of file screen_ops.c.
References blender::math::abs(), actionzone_apply(), actionzone_exit(), blender::compositor::area(), AREAMAP_FROM_SCREEN, sActionzoneData::az, AZONE_AREA, BKE_screen_find_area_xy(), BLI_assert, C, CTX_wm_screen(), CTX_wm_window(), wmOperator::customdata, ED_area_actionzone_find_xy(), EVT_ESCKEY, sActionzoneData::gesture_dir, LEFTMOUSE, max_ii(), sActionzoneData::modifier, MOUSEMOVE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, sActionzoneData::sa1, sActionzoneData::sa2, SCREEN_DIR_E, SCREEN_DIR_IS_VERTICAL, SCREEN_DIR_N, SCREEN_DIR_S, SCREEN_DIR_W, screen_geom_area_map_find_active_scredge(), SPACE_TYPE_ANY, AZone::type, wmEvent::type, WM_CURSOR_CROSS, WM_CURSOR_E_ARROW, WM_CURSOR_EDIT, WM_CURSOR_H_SPLIT, WM_CURSOR_N_ARROW, WM_CURSOR_S_ARROW, WM_cursor_set(), WM_CURSOR_STOP, WM_CURSOR_SWAP_AREA, WM_CURSOR_V_SPLIT, WM_CURSOR_W_ARROW, WM_window_screen_rect_calc(), sActionzoneData::x, wmEvent::xy, and sActionzoneData::y.
Referenced by SCREEN_OT_actionzone().
|
static |
Definition at line 794 of file screen_ops.c.
References AZone::alpha, View2D::alpha_hor, View2D::alpha_vert, blender::compositor::area(), AREA_FLAG_ACTIONZONES_UPDATE, AZ_SCROLL_HOR, AZ_SCROLL_VERT, AZONE_AREA, azone_clipped_rect_calc(), AZONE_FULLSCREEN, AZONE_REGION, AZONE_REGION_SCROLL, AZONEFADEIN, AZONEFADEOUT, AZONESPOTW, BLI_assert, BLI_rcti_isect_pt_v(), BLI_rcti_length_x(), BLI_rcti_length_y(), CLAMP, AZone::direction, ED_area_tag_redraw(), ED_area_tag_redraw_no_rebuild(), ED_region_tag_redraw_no_rebuild(), float(), fullscreen_click_rcti_init(), View2D::hor, IS_EQF, AZone::next, NULL, AZone::rect, AZone::region, square_i(), AZone::type, UI_view2d_mouse_in_scrollers_ex(), ARegion::v2d, V2D_SCROLL_HORIZONTAL, V2D_SCROLL_VERTICAL, View2D::vert, ARegion::winrct, AZone::x1, AZone::x2, rcti::xmin, xy, AZone::y1, AZone::y2, and rcti::ymin.
Referenced by ED_area_actionzone_find_xy(), ED_area_azones_update(), and screen_actionzone_find_xy().
|
static |
Definition at line 1452 of file screen_ops.c.
References blender::compositor::area(), bScreen::areabase, BKE_report(), BLI_findindex(), C, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window_set(), NA_EDITED, NC_SCREEN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, screen_area_close(), and WM_event_add_notifier().
Referenced by SCREEN_OT_area_close().
Definition at line 1480 of file screen_ops.c.
References blender::compositor::area(), area_getorientation(), bScreen::areabase, C, CTX_wm_area(), CTX_wm_screen(), ED_area_is_global(), ED_operator_areaactive(), and LISTBASE_FOREACH.
Referenced by SCREEN_OT_area_close().
|
static |
Definition at line 1382 of file screen_ops.c.
References actionzone_exit(), blender::compositor::area(), bScreen::areabase, BKE_report(), C, CTX_wm_area(), wmEvent::customdata, ED_area_data_copy(), ED_area_tag_redraw(), ListBase::first, NA_EDITED, NC_SCREEN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::reports, RPT_ERROR, sActionzoneData::sa1, SPACE_EMPTY, WIN_ALIGN_ABSOLUTE, WM_event_add_notifier(), WM_window_get_active_screen(), and WM_window_open().
Referenced by SCREEN_OT_area_dupli().
Definition at line 2131 of file screen_ops.c.
References blender::compositor::area(), BKE_screen_find_edge(), NULL, ScrArea::v1, ScrArea::v2, ScrArea::v3, and ScrArea::v4.
Referenced by area_split_apply().
|
static |
Definition at line 3406 of file screen_ops.c.
References C, CTX_wm_area(), CTX_wm_area_set(), CTX_wm_region_set(), CTX_wm_screen(), wmOperator::customdata, sAreaJoinData::dir, if(), NULL, sAreaJoinData::sa1, sAreaJoinData::sa2, screen_area_join(), and SCREEN_DIR_NONE.
Referenced by area_join_exec(), and area_join_modal().
|
static |
Definition at line 3486 of file screen_ops.c.
References area_join_exit(), C, NC_WINDOW, NULL, and WM_event_add_notifier().
Referenced by area_join_modal(), and SCREEN_OT_area_join().
Definition at line 3368 of file screen_ops.c.
References wmOperator::customdata, sAreaJoinData::dir, sAreaJoinData::sa1, sAreaJoinData::sa2, SCREEN_DIR_NONE, and screen_draw_join_highlight().
Referenced by area_join_init().
|
static |
Definition at line 3444 of file screen_ops.c.
References area_join_apply(), area_join_exit(), area_join_init(), C, NULL, OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by SCREEN_OT_area_join().
|
static |
Definition at line 3425 of file screen_ops.c.
References BKE_screen_remove_double_scredges(), BKE_screen_remove_unused_scredges(), BKE_screen_remove_unused_scrverts(), C, CTX_wm_screen(), CTX_wm_window(), wmOperator::customdata, sAreaJoinData::draw_callback, if(), MEM_freeN, NULL, and WM_draw_cb_exit().
Referenced by area_join_cancel(), area_join_exec(), and area_join_modal().
|
static |
Definition at line 3380 of file screen_ops.c.
References area_join_draw_cb(), C, CTX_wm_window(), wmOperator::customdata, sAreaJoinData::dir, sAreaJoinData::draw_callback, MEM_callocN, NULL, wmOperator::ptr, RNA_int_get_array(), sAreaJoinData::sa1, sAreaJoinData::sa2, screen_area_edge_from_cursor(), SCREEN_DIR_NONE, and WM_draw_cb_activate().
Referenced by area_join_exec(), area_join_invoke(), and area_join_modal().
|
static |
Definition at line 3457 of file screen_ops.c.
References area_join_init(), C, EVT_ACTIONZONE_AREA, sActionzoneData::modifier, NULL, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, sActionzoneData::sa1, sActionzoneData::sa2, wmEvent::type, and WM_event_add_modal_handler().
Referenced by SCREEN_OT_area_join().
|
static |
Definition at line 3494 of file screen_ops.c.
References blender::compositor::area(), area_getorientation(), area_join_apply(), area_join_cancel(), area_join_exit(), area_join_init(), BKE_screen_find_area_xy(), C, CTX_wm_screen(), CTX_wm_window(), wmOperator::customdata, sAreaJoinData::dir, ED_area_tag_redraw(), EVT_ESCKEY, KM_RELEASE, LEFTMOUSE, MOUSEMOVE, NA_EDITED, NC_SCREEN, NC_WINDOW, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, RIGHTMOUSE, sAreaJoinData::sa1, sAreaJoinData::sa2, SCREEN_DIR_E, SCREEN_DIR_N, SCREEN_DIR_NONE, SCREEN_DIR_S, SCREEN_DIR_W, SPACE_TYPE_ANY, wmEvent::type, wmEvent::val, WM_CURSOR_E_ARROW, WM_CURSOR_N_ARROW, WM_CURSOR_S_ARROW, WM_cursor_set(), WM_CURSOR_STOP, WM_CURSOR_W_ARROW, WM_event_add_notifier(), and wmEvent::xy.
Referenced by SCREEN_OT_area_join().
Definition at line 2590 of file screen_ops.c.
References AE_LEFT_TO_TOPRIGHT, AE_RIGHT_TO_TOPLEFT, ARegion::alignment, blender::compositor::area(), BLI_rcti_size_x(), BLI_rcti_size_y(), ELEM, LISTBASE_FOREACH, ARegion::prev, RGN_ALIGN_BOTTOM, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, RGN_SPLIT_PREV, RGN_TYPE_FOOTER, RGN_TYPE_HEADER, RGN_TYPE_TOOL_HEADER, UI_DPI_FAC, ARegion::winx, and ARegion::winy.
Referenced by region_scale_invoke().
|
static |
Definition at line 1879 of file screen_ops.c.
References area_move_apply_do(), sAreaMoveData::bigger, C, wmOperator::customdata, sAreaMoveData::dir_axis, sAreaMoveData::origval, wmOperator::ptr, RNA_int_get(), sAreaMoveData::smaller, and sAreaMoveData::snap_type.
Referenced by area_move_cancel(), area_move_exec(), and area_move_modal().
|
static |
Definition at line 1802 of file screen_ops.c.
References blender::math::abs(), blender::compositor::area(), area_snap_calc_location(), BKE_icon_changed(), BLI_assert, C, CLAMP, CTX_wm_screen(), CTX_wm_window(), bScreen::do_refresh, ED_area_is_global(), ED_area_tag_redraw(), ED_area_tag_redraw_no_rebuild(), ED_screen_areas_iter, ED_screen_global_areas_sync(), ED_screen_verts_iter, height, ID::icon_id, bScreen::id, NA_EDITED, NC_SCREEN, NULL, round_fl_to_int(), SCREEN_AXIS_V, screen_geom_area_height(), UI_DPI_FAC, v1, and WM_event_add_notifier().
Referenced by area_move_apply(), and area_split_modal().
|
static |
Definition at line 1927 of file screen_ops.c.
References area_move_apply(), area_move_exit(), C, wmOperator::ptr, and RNA_int_set().
Referenced by area_move_modal(), and SCREEN_OT_area_move().
|
static |
Definition at line 1898 of file screen_ops.c.
References area_move_apply(), area_move_exit(), area_move_init(), C, OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by SCREEN_OT_area_move().
|
static |
Definition at line 1887 of file screen_ops.c.
References BKE_screen_remove_double_scredges(), BKE_screen_remove_double_scrverts(), C, CTX_wm_screen(), wmOperator::customdata, G, G_TRANSFORM_WM, and MEM_SAFE_FREE.
Referenced by area_move_cancel(), area_move_exec(), and area_move_modal().
|
static |
Definition at line 1666 of file screen_ops.c.
References area_move_set_limits(), sAreaMoveData::bigger, C, CTX_wm_screen(), CTX_wm_window(), wmOperator::customdata, sAreaMoveData::dir_axis, ED_screen_verts_iter, MEM_callocN, NULL, sAreaMoveData::origval, wmOperator::ptr, RNA_int_get(), SCREEN_AXIS_H, SCREEN_AXIS_V, screen_geom_edge_is_horizontal(), screen_geom_find_active_scredge(), screen_geom_select_connected_edge(), sAreaMoveData::smaller, sAreaMoveData::snap_type, v1, ScrEdge::v1, ScrVert::vec, x, vec2s::x, y, and vec2s::y.
Referenced by area_move_exec(), and area_move_invoke().
|
static |
Definition at line 1911 of file screen_ops.c.
References area_move_init(), C, G, G_TRANSFORM_WM, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_int_set(), WM_event_add_modal_handler(), and wmEvent::xy.
Referenced by SCREEN_OT_area_move().
|
static |
Definition at line 1936 of file screen_ops.c.
References area_move_apply(), area_move_cancel(), area_move_exit(), C, wmOperator::customdata, sAreaMoveData::dir_axis, EVT_MODAL_MAP, KM_MODAL_APPLY, KM_MODAL_CANCEL, KM_MODAL_SNAP_OFF, KM_MODAL_SNAP_ON, MOUSEMOVE, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_int_get(), RNA_int_set(), SCREEN_AXIS_V, sAreaMoveData::snap_type, wmEvent::type, wmEvent::val, x, wmEvent::xy, and y.
Referenced by SCREEN_OT_area_move().
|
static |
Definition at line 1566 of file screen_ops.c.
References blender::compositor::area(), bScreen::areabase, ScrAreaMap::areabase, AREAMINX, BLI_assert, ED_area_global_max_size_y(), ED_area_global_min_size_y(), ED_area_headersize(), wmWindow::global_areas, LISTBASE_FOREACH, max_ii(), min_ii(), NULL, SCREEN_AXIS_H, screen_geom_area_height(), screen_geom_area_width(), WM_window_rect_calc(), rcti::xmax, rcti::xmin, y1, rcti::ymax, and rcti::ymin.
Referenced by area_move_init(), and area_split_invoke().
|
static |
Definition at line 1708 of file screen_ops.c.
References blender::math::abs(), AREAGRID, ARRAY_SIZE, BLI_assert, CLAMP, ELEM, float(), IN_RANGE_INCL, LISTBASE_FOREACH, round_fl_to_int(), SCREEN_AXIS_V, v1, v2, and bScreen::vertbase.
Referenced by area_move_apply_do(), and area_split_modal().
|
static |
Definition at line 2058 of file screen_ops.c.
References blender::compositor::area(), AREAMINX, ED_area_headersize(), SCREEN_AXIS_H, and SCREEN_AXIS_V.
Referenced by area_split_apply(), area_split_draw_cb(), and area_split_preview_update_cursor().
|
static |
Definition at line 2159 of file screen_ops.c.
References area_findsharededge(), area_split(), area_split_allowed(), BKE_icon_changed(), C, CTX_wm_screen(), CTX_wm_window(), wmOperator::customdata, ED_area_tag_redraw(), ED_screen_verts_iter, ScrVert::editflag, ID::icon_id, bScreen::id, NA_EDITED, sAreaSplitData::narea, NC_SCREEN, sAreaSplitData::nedge, NULL, sAreaSplitData::origval, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), sAreaSplitData::sarea, SCREEN_AXIS_H, ScrEdge::v1, ScrEdge::v2, ScrVert::vec, WM_event_add_notifier(), vec2s::x, and vec2s::y.
Referenced by area_split_exec(), area_split_invoke(), and area_split_modal().
|
static |
Definition at line 2400 of file screen_ops.c.
References area_split_exit(), C, CTX_wm_area(), CTX_wm_area_set(), CTX_wm_region_set(), CTX_wm_screen(), wmOperator::customdata, if(), sAreaSplitData::narea, NULL, sAreaSplitData::previewmode, sAreaSplitData::sarea, and screen_area_join().
Referenced by area_split_modal(), and SCREEN_OT_area_split().
Definition at line 2074 of file screen_ops.c.
References area_split_allowed(), wmOperator::customdata, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), sAreaSplitData::sarea, and screen_draw_split_preview().
Referenced by area_split_invoke().
|
static |
Definition at line 2388 of file screen_ops.c.
References area_split_apply(), area_split_exit(), area_split_init(), C, OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by SCREEN_OT_area_split().
|
static |
Definition at line 2206 of file screen_ops.c.
References BKE_screen_remove_double_scredges(), BKE_screen_remove_double_scrverts(), C, CTX_wm_screen(), CTX_wm_window(), wmOperator::customdata, sAreaSplitData::draw_callback, ED_area_tag_redraw(), G, G_TRANSFORM_WM, if(), MEM_freeN, NA_EDITED, sAreaSplitData::narea, NC_SCREEN, NULL, sAreaSplitData::sarea, WM_cursor_modal_restore(), WM_draw_cb_exit(), and WM_event_add_notifier().
Referenced by area_split_cancel(), area_split_exec(), and area_split_modal().
|
static |
Definition at line 2100 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), wmOperator::customdata, MEM_callocN, NULL, sAreaSplitData::origmin, sAreaSplitData::origsize, wmOperator::ptr, RNA_enum_get(), sAreaSplitData::sarea, and SCREEN_AXIS_V.
Referenced by area_split_exec(), and area_split_invoke().
|
static |
Definition at line 2249 of file screen_ops.c.
References blender::compositor::area(), area_move_set_limits(), area_split_apply(), area_split_draw_cb(), area_split_init(), area_split_menu_init(), area_split_preview_update_cursor(), AREAMAP_FROM_SCREEN, sActionzoneData::az, sAreaSplitData::bigger, BLI_assert, C, copy_v2_v2_int(), CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), wmOperator::customdata, sAreaSplitData::draw_callback, EVT_ACTIONZONE_AREA, float(), G, G_TRANSFORM_WM, sActionzoneData::gesture_dir, if(), is_left(), sActionzoneData::modifier, NULL, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, sAreaSplitData::previewmode, wmOperator::ptr, RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_float_set(), RNA_property_int_get_array(), RNA_property_is_set(), RNA_struct_find_property(), sActionzoneData::sa1, sActionzoneData::sa2, SCREEN_AXIS_H, SCREEN_AXIS_V, SCREEN_DIR_IS_VERTICAL, screen_geom_area_map_find_active_scredge(), screen_geom_edge_is_horizontal(), SCREENNORMAL, sAreaSplitData::smaller, bScreen::state, wmEvent::type, ScrArea::v1, ScrVert::vec, ScrArea::winx, ScrArea::winy, WM_draw_cb_activate(), WM_event_add_modal_handler(), WM_window_rect_calc(), vec2s::x, wmEvent::xy, and vec2s::y.
Referenced by SCREEN_OT_area_split().
|
static |
Definition at line 2088 of file screen_ops.c.
References C, CTX_wm_area(), wmOperator::customdata, MEM_callocN, and sAreaSplitData::sarea.
Referenced by area_split_invoke().
|
static |
Definition at line 2419 of file screen_ops.c.
References blender::compositor::area(), area_move_apply_do(), area_snap_calc_location(), area_split_apply(), area_split_cancel(), area_split_exit(), area_split_preview_update_cursor(), sAreaSplitData::bigger, BKE_screen_find_area_xy(), C, CTX_wm_screen(), wmOperator::customdata, sAreaSplitData::delta, bScreen::do_draw, sAreaSplitData::do_snap, ED_area_tag_redraw(), EVT_ESCKEY, EVT_LEFTCTRLKEY, EVT_RIGHTCTRLKEY, EVT_TABKEY, float(), if(), KM_PRESS, KM_RELEASE, LEFTMOUSE, MIDDLEMOUSE, MOUSEMOVE, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, sAreaSplitData::origmin, sAreaSplitData::origsize, sAreaSplitData::origval, sAreaSplitData::previewmode, wmOperator::ptr, RIGHTMOUSE, RNA_float_set(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_struct_find_property(), sAreaSplitData::sarea, SCREEN_AXIS_H, SCREEN_AXIS_V, sAreaSplitData::smaller, SPACE_TYPE_ANY, wmEvent::type, wmEvent::val, and wmEvent::xy.
Referenced by SCREEN_OT_area_split().
|
static |
Definition at line 2235 of file screen_ops.c.
References area_split_allowed(), C, CTX_wm_window(), wmOperator::customdata, wmOperator::ptr, RNA_enum_get(), sAreaSplitData::sarea, SCREEN_AXIS_H, WM_CURSOR_H_SPLIT, WM_cursor_set(), WM_CURSOR_STOP, and WM_CURSOR_V_SPLIT.
Referenced by area_split_invoke(), and area_split_modal().
|
static |
Definition at line 1286 of file screen_ops.c.
References area_swap_exit(), and C.
Referenced by area_swap_modal(), and SCREEN_OT_area_swap().
|
static |
Definition at line 1341 of file screen_ops.c.
References C, ED_area_swapspace(), NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get_array(), and screen_area_edge_from_cursor().
Referenced by SCREEN_OT_area_swap().
|
static |
Definition at line 1280 of file screen_ops.c.
References C, CTX_wm_window(), wmOperator::customdata, MEM_SAFE_FREE, and WM_cursor_modal_restore().
Referenced by area_swap_cancel(), and area_swap_modal().
|
static |
Definition at line 1264 of file screen_ops.c.
References wmOperator::customdata, MEM_callocN, NULL, sActionzoneData::sa1, sAreaSwapData::sa1, sActionzoneData::sa2, and sAreaSwapData::sa2.
Referenced by area_swap_invoke().
|
static |
Definition at line 1291 of file screen_ops.c.
References area_swap_init(), C, CTX_wm_window(), OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, WM_cursor_modal_set(), WM_CURSOR_SWAP_AREA, and WM_event_add_modal_handler().
Referenced by SCREEN_OT_area_swap().
|
static |
Definition at line 1304 of file screen_ops.c.
References area_swap_cancel(), area_swap_exit(), C, CTX_wm_window(), wmOperator::customdata, ED_area_find_under_cursor(), ED_area_swapspace(), ED_area_tag_redraw(), EVT_ESCKEY, KM_RELEASE, LEFTMOUSE, MOUSEMOVE, NA_EDITED, NC_SCREEN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, sActionzoneData::sa1, sActionzoneData::sa2, SPACE_TYPE_ANY, wmEvent::type, wmEvent::val, WM_cursor_set(), WM_CURSOR_STOP, WM_CURSOR_SWAP_AREA, WM_event_add_notifier(), and wmEvent::xy.
Referenced by SCREEN_OT_area_swap().
Definition at line 2907 of file screen_ops.c.
References blender::compositor::area(), bScreen::areabase, BLI_rctf_size_x(), C, RenderData::cfra, CTX_data_scene(), CTX_wm_manager(), CTX_wm_screen(), ELEM, LISTBASE_FOREACH, Scene::r, bScreen::redraws_flag, RGN_TYPE_PREVIEW, RGN_TYPE_WINDOW, scene, SPACE_ACTION, SPACE_CLIP, SPACE_GRAPH, SPACE_NLA, SPACE_SEQ, TIME_FOLLOW, w(), wmWindowManager::windows, and WM_window_get_active_screen().
Referenced by frame_jump_exec(), frame_offset_exec(), keyframe_jump_exec(), and marker_jump_exec().
Definition at line 750 of file screen_ops.c.
References AE_BOTTOM_TO_TOPLEFT, AE_LEFT_TO_TOPRIGHT, AE_RIGHT_TO_TOPLEFT, AE_TOP_TO_BOTTOMRIGHT, AZONE_REGION, AZone::edge, ARegion::flag, View2D::keeptot, max_ii(), min_ii(), ARegion::overlap, AZone::rect, AZone::region, RGN_FLAG_HIDDEN, RGN_FLAG_TOO_SMALL, View2D::tot, AZone::type, UI_REGION_OVERLAP_MARGIN, UI_view2d_view_to_region_x(), UI_view2d_view_to_region_y(), ARegion::v2d, V2D_KEEPTOT_STRICT, ARegion::winrct, rcti::xmax, rctf::xmax, rcti::xmin, rctf::xmin, rcti::ymax, rctf::ymax, rcti::ymin, and rctf::ymin.
Referenced by area_actionzone_refresh_xy().
Definition at line 5752 of file screen_ops.c.
References wmDrag::path, wmDropBox::ptr, and RNA_string_set().
Referenced by ED_keymap_screen().
|
static |
Definition at line 5742 of file screen_ops.c.
References ELEM, wmDrag::icon, wmDrag::type, and WM_DRAG_PATH.
Referenced by ED_keymap_screen().
|
static |
Helper to get the correct RNA pointer/property pair for changing the display context of active space type in area.
Definition at line 5531 of file screen_ops.c.
References blender::compositor::area(), BLI_assert, bScreen::id, NULL, RNA_pointer_create(), RNA_struct_find_property(), SPACE_PROPERTIES, and SPACE_USERPREF.
Referenced by space_context_cycle_invoke().
|
static |
Definition at line 5114 of file screen_ops.c.
References ACHANNEL_SETFLAG_CLEAR, ANIM_anim_channels_select_set(), ANIM_animdata_get_context(), ANIM_set_active_channel(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_NODUPLIS, ANIMTYPE_FCURVE, BKE_fcurve_find_by_rna_context_ui(), BKE_report(), C, CTX_wm_area(), CTX_wm_window(), bAnimContext::data, bAnimContext::datatype, ED_drivers_editor_init(), wmWindow::eventstate, FCURVE_ACTIVE, FCURVE_SELECTED, filter(), FCurve::flag, IFACE_, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::reports, RPT_ERROR, SPACE_GRAPH, UI_context_active_but_prop_get(), UI_DPI_FAC, WIN_ALIGN_LOCATION_CENTER, and WM_window_open().
Referenced by SCREEN_OT_drivers_editor_show().
Definition at line 969 of file screen_ops.c.
References blender::compositor::area(), area_actionzone_refresh_xy(), and xy.
Referenced by actionzone_modal(), ED_screen_area_active(), and screen_cursor_set().
Definition at line 974 of file screen_ops.c.
References blender::compositor::area(), area_actionzone_refresh_xy(), and xy.
Referenced by ED_area_update_region_sizes(), ED_screen_set_active_region(), and wm_event_do_handlers().
void ED_keymap_screen | ( | wmKeyConfig * | keyconf | ) |
Definition at line 5758 of file screen_ops.c.
References blend_file_drop_copy(), blend_file_drop_poll(), keymap_modal_set(), NULL, UI_drop_color_copy(), UI_drop_color_poll(), WM_dropbox_add(), WM_dropboxmap_find(), and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
Definition at line 364 of file screen_ops.c.
References Object::mode, OB_HIDE_VIEWPORT, OB_MODE_EDIT, and Object::visibility_flag.
Referenced by ED_operator_object_active(), ED_operator_object_active_editable_ex(), ED_operator_object_active_editable_font(), and ED_operator_object_active_editable_mesh().
Definition at line 297 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_ACTION.
Referenced by action_layer_next_poll(), action_layer_prev_poll(), action_new_poll(), ACTION_OT_clean(), ACTION_OT_clickselect(), ACTION_OT_copy(), ACTION_OT_delete(), ACTION_OT_duplicate(), ACTION_OT_easing_type(), ACTION_OT_extrapolation_type(), ACTION_OT_handle_type(), ACTION_OT_interpolation_type(), ACTION_OT_keyframe_insert(), ACTION_OT_keyframe_type(), ACTION_OT_mirror(), ACTION_OT_paste(), ACTION_OT_previewrange_set(), ACTION_OT_sample(), ACTION_OT_select_all(), ACTION_OT_select_box(), ACTION_OT_select_circle(), ACTION_OT_select_column(), ACTION_OT_select_lasso(), ACTION_OT_select_leftright(), ACTION_OT_select_less(), ACTION_OT_select_linked(), ACTION_OT_select_more(), ACTION_OT_snap(), ACTION_OT_view_all(), ACTION_OT_view_frame(), ACTION_OT_view_selected(), action_pushdown_poll(), action_stash_create_poll(), action_unlink_poll(), and actkeys_framejump_poll().
Generic for any view2d which uses anim_ops.
Definition at line 240 of file screen_ops.c.
References C, CTX_wm_operator_poll_msg_set(), CTX_wm_space_data(), ED_operator_areaactive(), ELEM, SPACE_ACTION, SPACE_GRAPH, SPACE_NLA, SPACE_SEQ, and SpaceLink::spacetype.
Referenced by ANIM_OT_previewrange_clear(), and ANIM_OT_previewrange_set().
Definition at line 105 of file screen_ops.c.
References C, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), and NULL.
Referenced by ANIM_OT_keyframe_clear_v3d(), ANIM_OT_keyframe_delete_v3d(), ANIM_OT_keyframe_insert_menu(), ANIM_OT_keying_set_active_set(), area_close_poll(), delete_orientation_poll(), ED_operator_animview_active(), ed_spacetype_test(), region_flip_poll(), region_toggle_poll(), screen_maximize_area_poll(), SCREEN_OT_area_dupli(), SCREEN_OT_header_toggle_menus(), SCREEN_OT_region_scale(), and TRANSFORM_OT_create_orientation().
Definition at line 284 of file screen_ops.c.
References C, CTX_wm_space_file(), ED_fileselect_is_asset_browser(), ed_spacetype_test(), and SPACE_FILE.
Referenced by asset_library_refresh_exec(), and asset_library_refresh_poll().
Definition at line 302 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_PROPERTIES.
Referenced by BUTTONS_OT_clear_filter(), BUTTONS_OT_context_menu(), BUTTONS_OT_start_filter(), and BUTTONS_OT_toggle_pin().
Definition at line 662 of file screen_ops.c.
References C, CTX_data_pointer_get_type(), PointerRNA::data, ID_IS_LINKED, and NULL.
Referenced by VIEW3D_OT_background_image_remove().
Definition at line 359 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_CONSOLE.
Referenced by CONSOLE_OT_clear(), CONSOLE_OT_clear_line(), CONSOLE_OT_copy(), CONSOLE_OT_delete(), CONSOLE_OT_history_append(), CONSOLE_OT_history_cycle(), CONSOLE_OT_indent(), CONSOLE_OT_indent_or_autocomplete(), CONSOLE_OT_insert(), CONSOLE_OT_move(), CONSOLE_OT_paste(), CONSOLE_OT_scrollback_append(), CONSOLE_OT_select_set(), CONSOLE_OT_select_word(), and CONSOLE_OT_unindent().
Definition at line 427 of file screen_ops.c.
References C, ED_mesh_context(), ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, mesh, and NULL.
Referenced by MESH_OT_customdata_custom_splitnormals_add(), and MESH_OT_customdata_custom_splitnormals_clear().
Definition at line 466 of file screen_ops.c.
References C, CTX_data_edit_object(), Object::data, NULL, OB_ARMATURE, and Object::type.
Referenced by armature_layers_poll(), ARMATURE_OT_align(), ARMATURE_OT_autoside_names(), ARMATURE_OT_bone_layers(), ARMATURE_OT_bone_primitive_add(), ARMATURE_OT_calculate_roll(), ARMATURE_OT_click_extrude(), ARMATURE_OT_delete(), ARMATURE_OT_dissolve(), ARMATURE_OT_duplicate(), ARMATURE_OT_extrude(), ARMATURE_OT_fill(), ARMATURE_OT_flip_names(), ARMATURE_OT_hide(), ARMATURE_OT_parent_clear(), ARMATURE_OT_parent_set(), ARMATURE_OT_reveal(), ARMATURE_OT_roll_clear(), ARMATURE_OT_select_all(), ARMATURE_OT_select_hierarchy(), ARMATURE_OT_select_less(), ARMATURE_OT_select_linked(), ARMATURE_OT_select_mirror(), ARMATURE_OT_select_more(), ARMATURE_OT_select_similar(), ARMATURE_OT_separate(), ARMATURE_OT_shortest_path_pick(), ARMATURE_OT_split(), ARMATURE_OT_subdivide(), ARMATURE_OT_switch_direction(), ARMATURE_OT_symmetrize(), armature_select_linked_pick_poll(), and ED_keymap_armature().
Definition at line 606 of file screen_ops.c.
References C, CTX_data_edit_object(), Object::data, NULL, OB_CURVES_LEGACY, and Object::type.
Referenced by CURVE_OT_de_select_first(), CURVE_OT_de_select_last(), CURVE_OT_decimate(), CURVE_OT_dissolve_verts(), CURVE_OT_draw(), CURVE_OT_handle_type_set(), CURVE_OT_normals_make_consistent(), CURVE_OT_select_next(), CURVE_OT_select_previous(), CURVE_OT_spline_type_set(), CURVE_OT_tilt_clear(), and CURVE_OT_vertex_add().
Definition at line 615 of file screen_ops.c.
References C, CTX_data_edit_object(), CU_3D, Object::data, Curve::editnurb, Curve::flag, NULL, OB_CURVES_LEGACY, return(), and Object::type.
Referenced by TRANSFORM_OT_tilt().
Definition at line 635 of file screen_ops.c.
References C, CTX_data_edit_object(), Object::data, NULL, OB_FONT, and Object::type.
Referenced by ED_keymap_curve(), FONT_OT_case_set(), FONT_OT_case_toggle(), FONT_OT_change_character(), FONT_OT_change_spacing(), FONT_OT_delete(), FONT_OT_line_break(), FONT_OT_move(), FONT_OT_move_select(), FONT_OT_select_all(), FONT_OT_style_set(), FONT_OT_style_toggle(), FONT_OT_text_copy(), FONT_OT_text_cut(), FONT_OT_text_insert(), FONT_OT_text_paste(), and FONT_OT_text_paste_from_file().
Definition at line 644 of file screen_ops.c.
References C, CTX_data_edit_object(), Object::data, NULL, OB_LATTICE, and Object::type.
Referenced by ED_keymap_lattice(), hook_op_edit_poll(), LATTICE_OT_flip(), LATTICE_OT_select_all(), LATTICE_OT_select_less(), LATTICE_OT_select_mirror(), LATTICE_OT_select_more(), LATTICE_OT_select_random(), LATTICE_OT_select_ungrouped(), make_regular_poll(), and vertex_parent_set_poll().
Definition at line 653 of file screen_ops.c.
References C, CTX_data_edit_object(), Object::data, NULL, OB_MBALL, and Object::type.
Referenced by ED_keymap_metaball(), MBALL_OT_delete_metaelems(), MBALL_OT_duplicate_metaelems(), MBALL_OT_hide_metaelems(), MBALL_OT_reveal_metaelems(), MBALL_OT_select_all(), MBALL_OT_select_random_metaelems(), and MBALL_OT_select_similar().
Definition at line 433 of file screen_ops.c.
References BKE_editmesh_from_object(), C, CTX_data_edit_object(), NULL, OB_MESH, and Object::type.
Referenced by ED_keymap_mesh(), ED_operator_editmesh_region_view3d(), ED_operator_editmesh_view3d(), edbm_select_ungrouped_poll(), edbm_separate_exec(), EDBM_view3d_poll(), hook_op_edit_poll(), MESH_OT_average_normals(), MESH_OT_beautify_fill(), MESH_OT_bevel(), MESH_OT_bisect(), MESH_OT_blend_from_shape(), MESH_OT_bridge_edge_loops(), MESH_OT_colors_reverse(), MESH_OT_colors_rotate(), MESH_OT_decimate(), MESH_OT_delete(), MESH_OT_delete_edgeloop(), MESH_OT_delete_loose(), MESH_OT_dissolve_degenerate(), MESH_OT_dissolve_edges(), MESH_OT_dissolve_faces(), MESH_OT_dissolve_limited(), MESH_OT_dissolve_mode(), MESH_OT_dissolve_verts(), MESH_OT_duplicate(), MESH_OT_edge_collapse(), MESH_OT_edge_face_add(), MESH_OT_edge_rotate(), MESH_OT_edge_split(), MESH_OT_edges_select_sharp(), MESH_OT_extrude_context(), MESH_OT_extrude_edges_indiv(), MESH_OT_extrude_faces_indiv(), MESH_OT_extrude_region(), MESH_OT_extrude_repeat(), MESH_OT_extrude_verts_indiv(), MESH_OT_face_make_planar(), MESH_OT_face_split_by_edges(), MESH_OT_faces_select_linked_flat(), MESH_OT_faces_shade_flat(), MESH_OT_faces_shade_smooth(), MESH_OT_fill(), MESH_OT_fill_grid(), MESH_OT_fill_holes(), MESH_OT_flip_normals(), MESH_OT_hide(), MESH_OT_inset(), MESH_OT_intersect(), MESH_OT_intersect_boolean(), MESH_OT_loop_multi_select(), MESH_OT_loop_to_region(), MESH_OT_mark_seam(), MESH_OT_mark_sharp(), MESH_OT_merge(), MESH_OT_merge_normals(), MESH_OT_mod_weighted_strength(), MESH_OT_normals_make_consistent(), MESH_OT_normals_tools(), MESH_OT_offset_edge_loops(), MESH_OT_point_normals(), MESH_OT_poke(), MESH_OT_quads_convert_to_tris(), MESH_OT_region_to_loop(), MESH_OT_remove_doubles(), MESH_OT_reveal(), MESH_OT_screw(), MESH_OT_select_all(), MESH_OT_select_axis(), MESH_OT_select_face_by_sides(), MESH_OT_select_interior_faces(), MESH_OT_select_less(), MESH_OT_select_linked(), MESH_OT_select_linked_pick(), MESH_OT_select_loose(), MESH_OT_select_mirror(), MESH_OT_select_mode(), MESH_OT_select_more(), MESH_OT_select_non_manifold(), MESH_OT_select_nth(), MESH_OT_select_random(), MESH_OT_select_similar(), MESH_OT_select_similar_region(), MESH_OT_set_normals_from_faces(), MESH_OT_shape_propagate_to_all(), MESH_OT_shortest_path_select(), MESH_OT_smooth_normals(), MESH_OT_solidify(), MESH_OT_sort_elements(), MESH_OT_spin(), MESH_OT_split(), MESH_OT_split_normals(), MESH_OT_subdivide(), MESH_OT_subdivide_edgering(), MESH_OT_symmetrize(), MESH_OT_symmetry_snap(), MESH_OT_tris_convert_to_quads(), MESH_OT_unsubdivide(), MESH_OT_uvs_reverse(), MESH_OT_uvs_rotate(), MESH_OT_vert_connect(), MESH_OT_vert_connect_concave(), MESH_OT_vert_connect_nonplanar(), MESH_OT_vert_connect_path(), MESH_OT_vertices_smooth(), MESH_OT_vertices_smooth_laplacian(), MESH_OT_wireframe(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_vert_crease(), and vertex_parent_set_poll().
Definition at line 457 of file screen_ops.c.
References BKE_editmesh_from_object(), C, CTX_data_edit_object(), Object::data, ME_AUTOSMOOTH, NULL, OB_MESH, and Object::type.
Definition at line 447 of file screen_ops.c.
References C, CTX_wm_operator_poll_msg_set(), CTX_wm_region_view3d(), and ED_operator_editmesh().
Referenced by MESH_OT_dupli_extrude_cursor(), MESH_OT_edgering_select(), MESH_OT_knife_project(), MESH_OT_loop_select(), MESH_OT_loopcut(), MESH_OT_shortest_path_pick(), TRANSFORM_OT_edge_slide(), and TRANSFORM_OT_vert_slide().
Definition at line 442 of file screen_ops.c.
References C, ED_operator_editmesh(), and ED_operator_view3d_active().
Referenced by MESH_OT_knife_tool(), and MESH_OT_primitive_cube_add_gizmo().
Definition at line 626 of file screen_ops.c.
References C, CTX_data_edit_object(), Object::data, NULL, OB_SURF, and Object::type.
Referenced by CURVE_OT_select_row(), and CURVE_OT_spin().
Definition at line 587 of file screen_ops.c.
References C, CTX_data_edit_object(), Object::data, ELEM, NULL, OB_CURVES_LEGACY, OB_SURF, and Object::type.
Referenced by CURVE_OT_cyclic_toggle(), CURVE_OT_delete(), CURVE_OT_duplicate(), CURVE_OT_extrude(), CURVE_OT_hide(), CURVE_OT_make_segment(), CURVE_OT_radius_set(), CURVE_OT_reveal(), CURVE_OT_select_all(), CURVE_OT_select_less(), CURVE_OT_select_linked(), CURVE_OT_select_more(), CURVE_OT_select_nth(), CURVE_OT_select_random(), CURVE_OT_select_similar(), CURVE_OT_separate(), CURVE_OT_shade_flat(), CURVE_OT_shade_smooth(), CURVE_OT_smooth(), CURVE_OT_smooth_radius(), CURVE_OT_smooth_tilt(), CURVE_OT_smooth_weight(), CURVE_OT_spline_weight_set(), CURVE_OT_split(), CURVE_OT_subdivide(), CURVE_OT_switch_direction(), ED_keymap_curve(), ED_operator_editsurfcurve_region_view3d(), hook_op_edit_poll(), and vertex_parent_set_poll().
Definition at line 596 of file screen_ops.c.
References C, CTX_wm_operator_poll_msg_set(), CTX_wm_region_view3d(), and ED_operator_editsurfcurve().
Referenced by CURVE_OT_select_linked_pick(), and CURVE_OT_shortest_path_pick().
Definition at line 271 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_FILE.
Referenced by FILE_OT_edit_directory_path(), FILE_OT_highlight(), FILE_OT_select(), FILE_OT_select_all(), FILE_OT_select_box(), FILE_OT_select_walk(), FILE_OT_smoothscroll(), FILE_OT_sort_column_ui_context(), FILE_OT_start_filter(), and FILE_OT_view_selected().
Definition at line 276 of file screen_ops.c.
References C, CTX_wm_space_file(), ED_fileselect_is_file_browser(), ed_spacetype_test(), and SPACE_FILE.
Referenced by file_bookmark_move_poll(), file_delete_poll(), file_filenum_poll(), file_operator_poll(), FILE_OT_bookmark_add(), FILE_OT_bookmark_cleanup(), FILE_OT_bookmark_delete(), FILE_OT_directory_new(), FILE_OT_execute(), FILE_OT_filepath_drop(), FILE_OT_hidedot(), FILE_OT_mouse_execute(), FILE_OT_next(), FILE_OT_parent(), FILE_OT_previous(), FILE_OT_refresh(), FILE_OT_rename(), FILE_OT_reset_recent(), and FILE_OT_select_bookmark().
Definition at line 329 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_GRAPH.
Referenced by GRAPH_OT_ghost_curves_clear(), GRAPH_OT_hide(), GRAPH_OT_previewrange_set(), GRAPH_OT_reveal(), GRAPH_OT_view_all(), GRAPH_OT_view_frame(), GRAPH_OT_view_selected(), graph_panel_drivers_popover_poll(), and graphview_cursor_poll().
Definition at line 344 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_IMAGE.
Referenced by RENDER_OT_view_cancel().
Definition at line 354 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_INFO.
Referenced by INFO_OT_report_copy(), INFO_OT_report_delete(), INFO_OT_report_replay(), INFO_OT_select_all(), INFO_OT_select_box(), and INFO_OT_select_pick().
Definition at line 349 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_NLA.
Referenced by action_new_poll(), nla_action_unlink_poll(), NLA_OT_channels_click(), NLA_OT_click_select(), NLA_OT_previewrange_set(), NLA_OT_select_leftright(), NLA_OT_view_all(), NLA_OT_view_frame(), NLA_OT_view_selected(), nlaop_poll_tweakmode_off(), and nlaop_poll_tweakmode_on().
Definition at line 307 of file screen_ops.c.
References C, CTX_wm_space_node(), and SpaceNode::edittree.
Referenced by blender::ed::space_node::composite_node_active(), blender::ed::space_node::node_group_operator_active_poll(), blender::ed::space_node::NODE_OT_backimage_sample(), blender::ed::space_node::NODE_OT_clipboard_copy(), blender::ed::space_node::NODE_OT_find_node(), blender::ed::space_node::NODE_OT_hide_socket_toggle(), blender::ed::space_node::NODE_OT_hide_toggle(), blender::ed::space_node::NODE_OT_options_toggle(), blender::ed::space_node::NODE_OT_preview_toggle(), blender::ed::space_node::NODE_OT_resize(), blender::ed::space_node::NODE_OT_select(), blender::ed::space_node::NODE_OT_select_all(), blender::ed::space_node::NODE_OT_select_box(), blender::ed::space_node::NODE_OT_select_circle(), blender::ed::space_node::NODE_OT_select_grouped(), blender::ed::space_node::NODE_OT_select_lasso(), blender::ed::space_node::NODE_OT_select_linked_from(), blender::ed::space_node::NODE_OT_select_linked_to(), blender::ed::space_node::NODE_OT_select_same_type_step(), blender::ed::space_node::NODE_OT_view_all(), and blender::ed::space_node::NODE_OT_view_selected().
Definition at line 318 of file screen_ops.c.
References BKE_id_is_editable(), C, CTX_data_main(), CTX_wm_space_node(), SpaceNode::edittree, and bNodeTree::id.
Referenced by blender::ed::space_node::composite_node_editable(), blender::ed::space_node::node_active_link_viewer_poll(), blender::ed::space_node::node_add_collection_poll(), blender::ed::space_node::node_add_file_poll(), blender::ed::space_node::node_add_group_poll(), blender::ed::space_node::node_add_mask_poll(), blender::ed::space_node::node_add_object_poll(), blender::ed::space_node::node_group_operator_editable(), blender::ed::space_node::NODE_OT_add_reroute(), blender::ed::space_node::NODE_OT_attach(), blender::ed::space_node::NODE_OT_clipboard_paste(), blender::ed::space_node::NODE_OT_delete(), blender::ed::space_node::NODE_OT_delete_reconnect(), blender::ed::space_node::NODE_OT_detach(), blender::ed::space_node::NODE_OT_duplicate(), blender::ed::space_node::NODE_OT_insert_offset(), blender::ed::space_node::NODE_OT_join(), blender::ed::space_node::NODE_OT_link(), blender::ed::space_node::NODE_OT_link_make(), blender::ed::space_node::NODE_OT_links_cut(), blender::ed::space_node::NODE_OT_links_detach(), blender::ed::space_node::NODE_OT_links_mute(), blender::ed::space_node::NODE_OT_mute_toggle(), blender::ed::space_node::NODE_OT_node_copy_color(), blender::ed::space_node::NODE_OT_parent_set(), blender::ed::space_node::NODE_OT_tree_socket_add(), blender::ed::space_node::NODE_OT_tree_socket_change_type(), blender::ed::space_node::NODE_OT_tree_socket_move(), blender::ed::space_node::NODE_OT_tree_socket_remove(), and blender::ed::space_node::node_shader_script_update_poll().
Definition at line 370 of file screen_ops.c.
References C, ED_object_active_context(), ed_object_hidden(), and NULL.
Referenced by OBJECT_OT_bake_image(), OBJECT_OT_geometry_node_tree_copy_assign(), OBJECT_OT_geometry_nodes_input_attribute_toggle(), OBJECT_OT_make_links_data(), OBJECT_OT_parent_set(), and TRANSFORM_OT_bbone_resize().
Definition at line 396 of file screen_ops.c.
References C, ED_object_active_context(), and ED_operator_object_active_editable_ex().
Referenced by ED_operator_rigidbody_active_poll(), ED_operator_rigidbody_add_poll(), ED_operator_rigidbody_con_active_poll(), ED_operator_rigidbody_con_add_poll(), FLUID_OT_bake_all(), FLUID_OT_bake_data(), FLUID_OT_bake_guides(), FLUID_OT_bake_mesh(), FLUID_OT_bake_noise(), FLUID_OT_bake_particles(), FLUID_OT_free_all(), FLUID_OT_free_data(), FLUID_OT_free_guides(), FLUID_OT_free_mesh(), FLUID_OT_free_noise(), FLUID_OT_free_particles(), FLUID_OT_pause_bake(), OBJECT_OT_constraint_add(), OBJECT_OT_constraint_add_with_targets(), OBJECT_OT_constraints_copy(), OBJECT_OT_forcefield_toggle(), OBJECT_OT_gpencil_modifier_add(), OBJECT_OT_modifier_add(), OBJECT_OT_parent_no_inverse_set(), OBJECT_OT_paths_calculate(), OBJECT_OT_paths_clear(), OBJECT_OT_posemode_toggle(), and object_update_paths_poll().
Definition at line 376 of file screen_ops.c.
References BKE_id_is_editable(), C, CTX_data_main(), CTX_wm_operator_poll_msg_set(), ed_object_hidden(), and NULL.
Referenced by blender::ed::curves::curves_poll_impl(), ED_operator_object_active_editable(), ED_operator_object_active_local_editable(), ED_operator_object_active_local_editable_ex(), edit_constraint_poll_generic(), edit_shaderfx_poll_generic(), and object_mode_set_poll().
Definition at line 420 of file screen_ops.c.
References C, Object::data, ED_object_active_context(), ed_object_hidden(), ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, NULL, OB_FONT, and Object::type.
Referenced by FONT_OT_textbox_add(), and FONT_OT_textbox_remove().
Definition at line 413 of file screen_ops.c.
References C, Object::data, ED_object_active_context(), ed_object_hidden(), ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, NULL, OB_MESH, and Object::type.
Referenced by geometry_extract_poll(), OBJECT_OT_bake(), object_remesh_poll(), PAINT_OT_add_texture_paint_slot(), and SCULPT_OT_sculptmode_toggle().
Definition at line 407 of file screen_ops.c.
References C, ED_object_active_context(), ED_operator_object_active_editable_ex(), and ID_IS_OVERRIDE_LIBRARY.
Referenced by copy_particle_systems_poll(), DPAINT_OT_bake(), DPAINT_OT_output_toggle(), DPAINT_OT_surface_slot_add(), DPAINT_OT_surface_slot_remove(), DPAINT_OT_type_toggle(), duplicate_particle_systems_poll(), OBJECT_OT_constraints_clear(), OBJECT_OT_particle_system_add(), and OBJECT_OT_particle_system_remove().
Object must be editable and fully local (i.e. not an override).
Definition at line 402 of file screen_ops.c.
References C, ED_operator_object_active_editable_ex(), and ID_IS_OVERRIDE_LIBRARY.
Referenced by object_materials_supported_poll_ex(), and vertex_group_supported_poll_ex().
Object must be editable, fully local (i.e. not an override), and exclusively in Pose mode.
Definition at line 501 of file screen_ops.c.
References C, CTX_wm_operator_poll_msg_set(), ED_object_active_context(), ed_operator_posemode_exclusive_ex(), and ID_IS_OVERRIDE_LIBRARY.
Referenced by POSE_OT_constraints_clear(), and POSE_OT_ik_clear().
Definition at line 186 of file screen_ops.c.
References C, CTX_data_active_object(), CTX_data_edit_object(), CTX_data_scene(), ID_IS_LINKED, Object::mode, NULL, OB_MODE_OBJECT, and scene.
Referenced by COLLECTION_OT_create(), COLLECTION_OT_objects_add_active(), COLLECTION_OT_objects_remove(), COLLECTION_OT_objects_remove_active(), COLLECTION_OT_objects_remove_all(), ED_operator_objectmode_poll_msg(), make_override_library_poll(), move_to_collection_poll(), object_curves_empty_hair_add_poll(), OBJECT_OT_add(), OBJECT_OT_armature_add(), OBJECT_OT_camera_add(), OBJECT_OT_collection_add(), OBJECT_OT_collection_external_asset_drop(), OBJECT_OT_collection_instance_add(), OBJECT_OT_collection_link(), OBJECT_OT_collection_objects_select(), OBJECT_OT_collection_remove(), OBJECT_OT_collection_unlink(), OBJECT_OT_curves_random_add(), OBJECT_OT_data_instance_add(), OBJECT_OT_delete(), OBJECT_OT_drop_named_image(), OBJECT_OT_duplicate(), OBJECT_OT_duplicates_make_real(), OBJECT_OT_effector_add(), OBJECT_OT_empty_add(), OBJECT_OT_light_add(), OBJECT_OT_lightprobe_add(), OBJECT_OT_make_local(), OBJECT_OT_make_single_user(), OBJECT_OT_parent_inverse_apply(), OBJECT_OT_select_less(), OBJECT_OT_select_more(), OBJECT_OT_speaker_add(), OBJECT_OT_text_add(), OBJECT_OT_track_clear(), OBJECT_OT_track_set(), OBJECT_OT_transform_apply(), OBJECT_OT_volume_add(), object_pointcloud_add_poll(), and reset_clear_override_library_poll().
Same as ED_operator_objectmode() but additionally sets a "disabled hint". That is, a message to be displayed to the user explaining why the operator can't be used in current context.
Definition at line 206 of file screen_ops.c.
References C, CTX_wm_operator_poll_msg_set(), and ED_operator_objectmode().
Referenced by OBJECT_OT_add_named(), OBJECT_OT_drop_named_material(), and OBJECT_OT_transform_to_mouse().
Definition at line 253 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_OUTLINER.
Referenced by outliner_id_operation_itemf(), outliner_operation_tree_element_poll(), OUTLINER_OT_animdata_operation(), OUTLINER_OT_collection_drop(), OUTLINER_OT_constraint_operation(), OUTLINER_OT_datastack_drop(), OUTLINER_OT_delete(), OUTLINER_OT_expanded_toggle(), OUTLINER_OT_highlight_update(), OUTLINER_OT_id_copy(), OUTLINER_OT_id_delete(), OUTLINER_OT_id_paste(), OUTLINER_OT_id_remap(), OUTLINER_OT_item_activate(), OUTLINER_OT_item_drag_drop(), OUTLINER_OT_item_openclose(), OUTLINER_OT_item_rename(), OUTLINER_OT_lib_reload(), OUTLINER_OT_lib_relocate(), OUTLINER_OT_material_drop(), OUTLINER_OT_modifier_operation(), OUTLINER_OT_object_operation(), OUTLINER_OT_operation(), OUTLINER_OT_parent_clear(), OUTLINER_OT_parent_drop(), OUTLINER_OT_scene_drop(), OUTLINER_OT_scene_operation(), OUTLINER_OT_scroll_page(), OUTLINER_OT_select_all(), OUTLINER_OT_select_box(), OUTLINER_OT_select_walk(), OUTLINER_OT_show_active(), OUTLINER_OT_show_hierarchy(), and OUTLINER_OT_show_one_level().
Definition at line 258 of file screen_ops.c.
References C, CTX_data_edit_object(), ED_object_active_context(), ed_spacetype_test(), and SPACE_OUTLINER.
Definition at line 530 of file screen_ops.c.
References BKE_object_pose_armature_get(), C, CTX_data_active_object(), Object::mode, NULL, OB_MODE_ALL_WEIGHT_PAINT, and OB_MODE_EDIT.
Referenced by armature_layers_poll(), ED_keymap_armature(), ED_operator_posemode_local(), POSE_OT_armature_apply(), POSE_OT_autoside_names(), POSE_OT_blend_to_neighbors(), POSE_OT_breakdown(), POSE_OT_copy(), POSE_OT_hide(), POSE_OT_loc_clear(), POSE_OT_paste(), POSE_OT_propagate(), POSE_OT_push(), POSE_OT_push_rest(), POSE_OT_quaternions_flip(), POSE_OT_relax(), POSE_OT_relax_rest(), POSE_OT_reveal(), POSE_OT_rot_clear(), POSE_OT_rotation_mode_set(), POSE_OT_scale_clear(), POSE_OT_select_all(), POSE_OT_select_constraint_target(), POSE_OT_select_grouped(), POSE_OT_select_hierarchy(), POSE_OT_select_linked(), POSE_OT_select_mirror(), POSE_OT_select_parent(), POSE_OT_transforms_clear(), POSE_OT_user_transforms_clear(), POSE_OT_visual_transform_apply(), pose_select_linked_pick_poll(), poselib_add_poll(), and POSELIB_OT_new().
Allows for pinned pose objects to be used in the object buttons and the non-active pose object to be used in the 3D view.
Definition at line 517 of file screen_ops.c.
References BKE_object_pose_context_check(), C, ED_pose_object_from_context(), Object::mode, and OB_MODE_EDIT.
Referenced by pose_group_poll(), POSE_OT_group_deselect(), and POSE_OT_group_select().
Definition at line 494 of file screen_ops.c.
References C, ED_object_active_context(), and ed_operator_posemode_exclusive_ex().
Referenced by POSE_OT_bone_layers(), POSE_OT_constraint_add(), POSE_OT_constraint_add_with_targets(), POSE_OT_constraints_copy(), POSE_OT_ik_add(), POSE_OT_paths_calculate(), POSE_OT_paths_clear(), POSE_OT_paths_range_update(), and pose_update_paths_poll().
Check for pose mode (no mixed modes).
We want to enable most pose operations in weight paint mode, when it comes to transforming bones, but managing bones layers/groups and their constraints can be left for pose mode only (not weight paint mode).
Definition at line 482 of file screen_ops.c.
References BKE_object_pose_armature_get(), C, CTX_wm_operator_poll_msg_set(), Object::mode, NULL, and OB_MODE_EDIT.
Referenced by ED_operator_object_active_local_editable_posemode_exclusive(), and ED_operator_posemode_exclusive().
Definition at line 546 of file screen_ops.c.
References BKE_id_is_editable(), BKE_object_pose_armature_get(), C, CTX_data_active_object(), CTX_data_main(), Object::data, ED_operator_posemode(), bArmature::id, and Object::id.
Referenced by POSE_OT_flip_names().
Definition at line 230 of file screen_ops.c.
References C, CTX_wm_operator_poll_msg_set(), and CTX_wm_region_view3d().
Referenced by OBJECT_OT_transform_axis_target(), SCREEN_OT_region_quadview(), TRANSFORM_OT_bend(), view3d_navigation_poll_impl(), VIEW3D_OT_clip_border(), VIEW3D_OT_cursor3d(), VIEW3D_OT_fly(), VIEW3D_OT_snap_cursor_to_grid(), VIEW3D_OT_snap_selected_to_grid(), VIEW3D_OT_view_all(), VIEW3D_OT_view_lock_clear(), VIEW3D_OT_view_lock_to_active(), VIEW3D_OT_walk(), and view3d_selectable_data().
Definition at line 91 of file screen_ops.c.
References C, CTX_wm_region(), CTX_wm_screen(), CTX_wm_window(), and NULL.
Referenced by annotation_draw_poll(), drop_name_poll(), gpencil_draw_poll(), gpencil_fill_poll(), UI_OT_button_string_clear(), UI_OT_unset_property_button(), and WM_OT_doc_view_manual_ui_context().
Definition at line 168 of file screen_ops.c.
References C, CTX_data_scene(), and scene.
Referenced by VIEW3D_OT_copybuffer().
Definition at line 177 of file screen_ops.c.
References BKE_id_is_editable(), C, CTX_data_main(), CTX_data_scene(), Scene::id, NULL, and scene.
Referenced by CURVE_OT_primitive_bezier_circle_add(), CURVE_OT_primitive_bezier_curve_add(), CURVE_OT_primitive_nurbs_circle_add(), CURVE_OT_primitive_nurbs_curve_add(), CURVE_OT_primitive_nurbs_path_add(), drop_world_poll(), ED_operator_sequencer_active_editable(), MESH_OT_primitive_circle_add(), MESH_OT_primitive_cone_add(), MESH_OT_primitive_cube_add(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_monkey_add(), MESH_OT_primitive_plane_add(), MESH_OT_primitive_uv_sphere_add(), MESH_OT_separate(), OBJECT_OT_location_clear(), OBJECT_OT_metaball_add(), OBJECT_OT_origin_clear(), OBJECT_OT_origin_set(), OBJECT_OT_rotation_clear(), OBJECT_OT_scale_clear(), OBJECT_OT_visual_transform_apply(), SURFACE_OT_primitive_nurbs_surface_circle_add(), SURFACE_OT_primitive_nurbs_surface_curve_add(), SURFACE_OT_primitive_nurbs_surface_cylinder_add(), SURFACE_OT_primitive_nurbs_surface_sphere_add(), SURFACE_OT_primitive_nurbs_surface_surface_add(), SURFACE_OT_primitive_nurbs_surface_torus_add(), VIEW3D_OT_camera_to_view_selected(), and VIEW3D_OT_pastebuffer().
When mouse is over area-edge.
Definition at line 153 of file screen_ops.c.
References bScreen::active_region, C, CTX_wm_screen(), CTX_wm_window(), and NULL.
Referenced by SCREEN_OT_area_move(), and SCREEN_OT_area_options().
Definition at line 119 of file screen_ops.c.
References C, CTX_wm_screen(), CTX_wm_window(), and NULL.
Referenced by ED_operator_screenactive_nobackground(), ED_OT_undo_push(), ed_undo_is_init_and_screenactive_poll(), join_shapes_poll(), object_join_poll(), RENDER_OT_opengl(), RENDER_OT_render(), RENDER_OT_view_show(), repeat_history_poll(), screen_active_editable(), SCREEN_OT_animation_cancel(), SCREEN_OT_back_to_previous(), SCREEN_OT_screen_set(), SCREEN_OT_workspace_cycle(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and transform_shear_poll().
Definition at line 130 of file screen_ops.c.
References C, ED_operator_screenactive(), and G.
Referenced by SCREEN_OT_drivers_editor_show(), SCREEN_OT_info_log_show(), and SCREEN_OT_userpref_show().
Definition at line 139 of file screen_ops.c.
References C, CTX_wm_screen(), CTX_wm_window(), G, and NULL.
Referenced by SCREEN_OT_animation_play(), SCREEN_OT_animation_step(), SCREEN_OT_frame_jump(), SCREEN_OT_frame_offset(), SCREEN_OT_keyframe_jump(), and SCREEN_OT_marker_jump().
Definition at line 334 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_SEQ.
Referenced by sequencer_editing_initialized_and_active(), SEQUENCER_OT_duplicate(), SEQUENCER_OT_paste(), SEQUENCER_OT_select(), SEQUENCER_OT_select_box(), SEQUENCER_OT_select_linked_pick(), SEQUENCER_OT_select_side_of_frame(), SEQUENCER_OT_swap_data(), SEQUENCER_OT_view_all(), SEQUENCER_OT_view_all_preview(), SEQUENCER_OT_view_frame(), SEQUENCER_OT_view_zoom_ratio(), sequencer_split_invoke(), and TRANSFORM_OT_seq_slide().
Definition at line 339 of file screen_ops.c.
References C, ED_operator_scene_editable(), ed_spacetype_test(), and SPACE_SEQ.
Referenced by SEQUENCER_OT_effect_strip_add(), SEQUENCER_OT_image_strip_add(), SEQUENCER_OT_mask_strip_add(), SEQUENCER_OT_movie_strip_add(), SEQUENCER_OT_movieclip_strip_add(), SEQUENCER_OT_scene_strip_add(), SEQUENCER_OT_scene_strip_add_new(), and SEQUENCER_OT_sound_strip_add().
Definition at line 292 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_SPREADSHEET.
Referenced by SPREADSHEET_OT_add_row_filter_rule(), and SPREADSHEET_OT_remove_row_filter_rule().
Wrapper for ED_space_image_show_uvedit.
Definition at line 557 of file screen_ops.c.
References C, CTX_data_edit_object(), CTX_wm_space_image(), and ED_space_image_show_uvedit().
Referenced by ED_keymap_uvedit(), image_view_selected_poll(), UV_OT_align(), UV_OT_average_islands_scale(), UV_OT_hide(), UV_OT_mark_seam(), UV_OT_minimize_stretch(), UV_OT_pack_islands(), UV_OT_pin(), UV_OT_remove_doubles(), UV_OT_reveal(), UV_OT_rip(), UV_OT_seams_from_islands(), UV_OT_select(), UV_OT_select_all(), UV_OT_select_edge_ring(), UV_OT_select_linked(), UV_OT_select_linked_pick(), UV_OT_select_loop(), UV_OT_select_overlap(), UV_OT_select_pinned(), UV_OT_select_split(), UV_OT_stitch(), and UV_OT_weld().
Definition at line 564 of file screen_ops.c.
References C, CTX_data_edit_object(), CTX_wm_space_image(), and ED_space_image_show_uvedit().
Referenced by ED_space_image_cursor_poll(), UV_OT_select_box(), UV_OT_select_circle(), UV_OT_select_lasso(), UV_OT_select_less(), UV_OT_select_mode(), UV_OT_select_more(), UV_OT_select_similar(), UV_OT_shortest_path_pick(), UV_OT_shortest_path_select(), UV_OT_snap_cursor(), UV_OT_snap_selected(), and uv_sculpt_stroke_poll().
Definition at line 571 of file screen_ops.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, C, CTX_data_edit_object(), NULL, OB_MESH, BMesh::totface, and Object::type.
Referenced by uv_from_view_poll(), UV_OT_cube_project(), UV_OT_cylinder_project(), UV_OT_reset(), UV_OT_smart_project(), UV_OT_sphere_project(), and UV_OT_unwrap().
Definition at line 225 of file screen_ops.c.
References C, ed_spacetype_test(), and SPACE_VIEW3D.
Referenced by armature_select_linked_pick_poll(), CURVE_OT_pen(), ED_operator_editmesh_view3d(), EDBM_view3d_poll(), gpencil_selectmode_toggle_poll(), gpencil_strokes_edit3d_poll(), gpencil_strokes_merge_poll(), gpencil_transform_fill_poll(), object_hide_poll(), OBJECT_OT_hide_collection(), pose_select_linked_pick_poll(), TRANSFORM_OT_select_orientation(), VIEW3D_OT_clear_render_border(), VIEW3D_OT_localview(), VIEW3D_OT_navigate(), VIEW3D_OT_object_mode_pie_or_toggle(), VIEW3D_OT_render_border(), VIEW3D_OT_select(), VIEW3D_OT_smoothview(), VIEW3D_OT_snap_cursor_to_active(), VIEW3D_OT_snap_cursor_to_center(), VIEW3D_OT_snap_cursor_to_selected(), VIEW3D_OT_snap_selected_to_active(), VIEW3D_OT_snap_selected_to_cursor(), VIEW3D_OT_toggle_shading(), VIEW3D_OT_toggle_xray(), and WM_OT_xr_session_toggle().
Definition at line 5669 of file screen_ops.c.
References SCREEN_OT_actionzone(), SCREEN_OT_animation_cancel(), SCREEN_OT_animation_play(), SCREEN_OT_animation_step(), SCREEN_OT_area_close(), SCREEN_OT_area_dupli(), SCREEN_OT_area_join(), SCREEN_OT_area_move(), SCREEN_OT_area_options(), SCREEN_OT_area_split(), SCREEN_OT_area_swap(), SCREEN_OT_back_to_previous(), SCREEN_OT_delete(), SCREEN_OT_drivers_editor_show(), SCREEN_OT_frame_jump(), SCREEN_OT_frame_offset(), SCREEN_OT_header_toggle_menus(), SCREEN_OT_info_log_show(), SCREEN_OT_keyframe_jump(), SCREEN_OT_marker_jump(), SCREEN_OT_new(), SCREEN_OT_redo_last(), SCREEN_OT_region_blend(), SCREEN_OT_region_context_menu(), SCREEN_OT_region_flip(), SCREEN_OT_region_quadview(), SCREEN_OT_region_scale(), SCREEN_OT_region_toggle(), SCREEN_OT_repeat_history(), SCREEN_OT_repeat_last(), SCREEN_OT_screen_full_area(), SCREEN_OT_screen_set(), SCREEN_OT_screenshot(), SCREEN_OT_screenshot_area(), SCREEN_OT_space_context_cycle(), SCREEN_OT_space_type_set_or_cycle(), SCREEN_OT_spacedata_cleanup(), SCREEN_OT_userpref_show(), SCREEN_OT_workspace_cycle(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
Definition at line 5311 of file screen_ops.c.
References ARegion::alignment, CLAMP, wmTimer::customdata, wmTimer::duration, float(), RegionAlphaInfo::hidden, if(), NULL, ARegion::prev, ARegion::regiontimer, RGN_SPLIT_PREV, TIMEOUT, and TIMESTEP.
Referenced by wm_draw_region_blend().
void ED_region_visibility_change_update_animated | ( | struct bContext * | C, |
struct ScrArea * | area, | ||
struct ARegion * | region | ||
) |
Definition at line 5362 of file screen_ops.c.
References ARegion::alignment, blender::compositor::area(), RegionAlphaInfo::area, C, RegionAlphaInfo::child_region, CTX_wm_manager(), CTX_wm_window(), wmTimer::customdata, ED_area_init(), ARegion::flag, ARegion::handlers, RegionAlphaInfo::hidden, MEM_callocN, ARegion::next, RegionAlphaInfo::region, region_blend_end(), ARegion::regiontimer, RGN_FLAG_HIDDEN, RGN_SPLIT_PREV, TIMERREGION, TIMESTEP, WM_event_add_timer(), and WM_event_remove_handlers().
Referenced by region_toggle_hidden().
bScreen* ED_screen_animation_no_scrub | ( | const wmWindowManager * | wm | ) |
Definition at line 4798 of file screen_ops.c.
References bScreen::animtimer, LISTBASE_FOREACH, NULL, wmWindowManager::windows, and WM_window_get_active_screen().
int ED_screen_animation_play | ( | struct bContext * | C, |
int | sync, | ||
int | mode | ||
) |
Toggle operator.
Definition at line 4811 of file screen_ops.c.
References bScreen::animtimer, BKE_sound_play_scene(), BKE_sound_stop_scene(), C, CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_region(), CTX_wm_screen(), wmTimer::customdata, DEG_get_evaluated_scene(), ED_screen_animation_playing(), ED_screen_animation_timer(), NC_SCENE, ND_FRAME, OPERATOR_FINISHED, bScreen::redraws_flag, ScreenAnimData::region, scene, and WM_event_add_notifier().
Referenced by screen_animation_cancel_exec(), screen_animation_play_exec(), screen_render_invoke(), and wm_event_do_handlers().
bScreen* ED_screen_animation_playing | ( | const wmWindowManager * | wm | ) |
Definition at line 4785 of file screen_ops.c.
References bScreen::animtimer, LISTBASE_FOREACH, NULL, bScreen::scrubbing, wmWindowManager::windows, and WM_window_get_active_screen().
Referenced by ED_screen_animation_play(), and screen_animation_cancel_exec().
Definition at line 4297 of file screen_ops.c.
References ARegion::alignment, blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), CTX_wm_screen(), IFACE_, ptr, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_TOP, RNA_pointer_create(), screen_area_menu_items(), uiItemO(), uiItemR(), uiItemS(), uiLayoutSetOperatorContext(), and WM_OP_INVOKE_DEFAULT.
Referenced by screen_context_menu_invoke().
Definition at line 4258 of file screen_ops.c.
References ARegion::alignment, blender::compositor::area(), BKE_area_find_region_type(), C, col, CTX_wm_area(), CTX_wm_region(), CTX_wm_screen(), ELEM, ARegion::flag, HEADER_NO_PULLDOWN, IFACE_, ptr, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_TOP, RGN_FLAG_HIDDEN, RGN_TYPE_HEADER, RGN_TYPE_TOOL_HEADER, RNA_pointer_create(), screen_area_menu_items(), SPACE_TOPBAR, uiItemO(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutSetActive(), uiLayoutSetOperatorContext(), and WM_OP_INVOKE_DEFAULT.
Referenced by screen_context_menu_invoke().
void ED_screens_navigation_bar_tools_menu_create | ( | bContext * | C, |
uiLayout * | layout, | ||
void * | UNUSEDarg | ||
) |
Definition at line 4319 of file screen_ops.c.
References ARegion::alignment, C, CTX_wm_region(), IFACE_, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_LEFT, uiItemO(), uiLayoutSetOperatorContext(), and WM_OP_INVOKE_DEFAULT.
Referenced by screen_context_menu_invoke().
Definition at line 4332 of file screen_ops.c.
References GPU_mem_stats_supported(), IFACE_, NULL, ptr, RNA_pointer_create(), and uiItemR().
Referenced by screen_context_menu_invoke().
Definition at line 216 of file screen_ops.c.
References C, CTX_wm_space_data(), ED_operator_areaactive(), SpaceLink::spacetype, and type.
Referenced by ED_operator_action_active(), ED_operator_asset_browsing_active(), ED_operator_buttons_active(), ED_operator_console_active(), ED_operator_file_active(), ED_operator_file_browsing_active(), ED_operator_graphedit_active(), ED_operator_image_active(), ED_operator_info_active(), ED_operator_nla_active(), ED_operator_outliner_active(), ED_operator_outliner_active_no_editobject(), ED_operator_sequencer_active(), ED_operator_sequencer_active_editable(), ED_operator_spreadsheet_active(), and ED_operator_view3d_active().
|
static |
Definition at line 2991 of file screen_ops.c.
References ANIMPLAY_FLAG_USE_NEXT_FRAME, bScreen::animtimer, areas_do_frame_follow(), C, RenderData::cfra, CTX_data_scene(), CTX_wm_screen(), wmTimer::customdata, DEG_id_tag_update(), ScreenAnimData::flag, Scene::id, ID_RECALC_FRAME_CHANGE, NC_SCENE, ND_FRAME, ScreenAnimData::nextfra, OPERATOR_FINISHED, PEFRA, PSFRA, wmOperator::ptr, Scene::r, RNA_boolean_get(), scene, and WM_event_add_notifier().
Referenced by SCREEN_OT_frame_jump().
|
static |
Definition at line 2949 of file screen_ops.c.
References areas_do_frame_follow(), C, RenderData::cfra, CTX_data_scene(), DEG_id_tag_update(), FRAMENUMBER_MIN_CLAMP, Scene::id, ID_RECALC_FRAME_CHANGE, NC_SCENE, ND_FRAME, OPERATOR_FINISHED, wmOperator::ptr, Scene::r, RNA_int_get(), scene, RenderData::subframe, and WM_event_add_notifier().
Referenced by SCREEN_OT_frame_offset().
|
static |
Definition at line 4995 of file screen_ops.c.
References blender::compositor::area(), bScreen::areabase, BKE_report(), C, CTX_wm_screen(), ED_screen_full_prevspace(), LISTBASE_FOREACH, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and RPT_ERROR.
Referenced by SCREEN_OT_back_to_previous().
|
static |
Definition at line 744 of file screen_ops.c.
References BLI_rcti_init(), and x2.
Referenced by area_actionzone_refresh_xy().
|
static |
Definition at line 4164 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_area_tag_redraw(), HEADER_NO_PULLDOWN, NA_EDITED, NC_SCREEN, NULL, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by SCREEN_OT_header_toggle_menus().
|
static |
Definition at line 5192 of file screen_ops.c.
References BKE_report(), C, CTX_wm_window(), wmWindow::eventstate, IFACE_, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, SPACE_INFO, UI_DPI_FAC, WIN_ALIGN_LOCATION_CENTER, and WM_window_open().
Referenced by SCREEN_OT_info_log_show().
Definition at line 2647 of file screen_ops.c.
References AE_BOTTOM_TO_TOPLEFT, AE_LEFT_TO_TOPRIGHT, AE_RIGHT_TO_TOPLEFT, AE_TOP_TO_BOTTOMRIGHT, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, and RGN_ALIGN_TOP.
Referenced by region_scale_invoke().
|
static |
Definition at line 3053 of file screen_ops.c.
References blender::compositor::active, ADS_FILTER_ONLYSEL, areas_do_frame_follow(), BKE_mask_layer_active(), BKE_report(), C, ActKeyColumn::cfra, RenderData::cfra, CTX_data_active_object(), CTX_data_edit_mask(), CTX_data_scene(), Object::data, DEG_id_tag_update(), ED_keylist_create(), ED_keylist_find_next(), ED_keylist_find_prev(), ED_keylist_free(), ED_keylist_prepare_for_direct_access(), bDopeSheet::filterflag, Scene::flag, float(), gpencil_to_keylist(), Scene::id, ID_RECALC_FRAME_CHANGE, mask(), mask_to_keylist(), NC_SCENE, ND_FRAME, ActKeyColumn::next, next, NULL, OB_GPENCIL, ob_to_keylist(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ActKeyColumn::prev, wmOperator::ptr, Scene::r, wmOperator::reports, RNA_boolean_get(), RPT_INFO, SCE_KEYS_NO_SELONLY, scene, scene_to_keylist(), Object::type, and WM_event_add_notifier().
Referenced by SCREEN_OT_keyframe_jump().
|
static |
Definition at line 5726 of file screen_ops.c.
References KM_MODAL_APPLY, KM_MODAL_CANCEL, KM_MODAL_SNAP_OFF, KM_MODAL_SNAP_ON, NULL, WM_modalkeymap_assign(), and WM_modalkeymap_ensure().
Referenced by ED_keymap_screen().
|
static |
Definition at line 3166 of file screen_ops.c.
References areas_do_frame_follow(), BKE_report(), C, RenderData::cfra, closest(), CTX_data_scene(), DEG_id_tag_update(), Scene::id, ID_RECALC_FRAME_CHANGE, LISTBASE_FOREACH, Scene::markers, NC_SCENE, ND_FRAME, next, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, Scene::r, wmOperator::reports, RNA_boolean_get(), RPT_INFO, scene, and WM_event_add_notifier().
Referenced by SCREEN_OT_marker_jump().
|
static |
Definition at line 4407 of file screen_ops.c.
References blender::compositor::area(), SpaceAction::mode, RGN_TYPE_HEADER, RGN_TYPE_PREVIEW, RGN_TYPE_UI, RGN_TYPE_WINDOW, SACTCONT_TIMELINE, SPACE_ACTION, SPACE_CLIP, SPACE_GRAPH, SPACE_IMAGE, SPACE_NLA, SPACE_NODE, SPACE_PROPERTIES, SPACE_SEQ, SPACE_VIEW3D, TIME_ALL_3D_WIN, TIME_ALL_ANIM_WIN, TIME_ALL_BUTS_WIN, TIME_ALL_IMAGE_WIN, TIME_CLIPS, TIME_NODES, TIME_REGION, and TIME_SEQ.
Referenced by screen_animation_step_invoke().
|
static |
Definition at line 3847 of file screen_ops.c.
References C, OPERATOR_CANCELLED, WM_operator_last_redo(), and WM_operator_redo_popup().
Referenced by SCREEN_OT_redo_last().
Definition at line 5335 of file screen_ops.c.
References RegionAlphaInfo::area, C, RegionAlphaInfo::child_region, CTX_wm_manager(), CTX_wm_window(), wmTimer::customdata, ED_area_init(), ED_area_tag_redraw(), ED_region_tag_redraw(), ARegion::flag, RegionAlphaInfo::hidden, NULL, RegionAlphaInfo::region, ARegion::regiontimer, RGN_FLAG_HIDDEN, and WM_event_remove_timer().
Referenced by ED_region_visibility_change_update_animated(), and region_blend_invoke().
|
static |
Definition at line 5399 of file screen_ops.c.
References C, RegionAlphaInfo::child_region, wmTimer::customdata, wmTimer::duration, ED_region_tag_redraw(), NULL, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, RegionAlphaInfo::region, region_blend_end(), ARegion::regiontimer, TIMEOUT, TIMERREGION, and wmEvent::type.
Referenced by SCREEN_OT_region_blend().
|
static |
Definition at line 4103 of file screen_ops.c.
References ARegion::alignment, C, CTX_wm_area(), CTX_wm_region(), CTX_wm_window(), ED_area_tag_redraw(), NA_EDITED, NC_SCREEN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, WM_event_add_mousemove(), and WM_event_add_notifier().
Referenced by SCREEN_OT_region_flip().
Definition at line 4131 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_operator_poll_msg_set(), ED_operator_areaactive(), and SPACE_TOPBAR.
Referenced by SCREEN_OT_region_flip().
|
static |
Definition at line 3908 of file screen_ops.c.
References ARegion::alignment, blender::compositor::area(), BKE_area_region_copy(), BKE_report(), BLI_addtail(), C, View3D::camera, count, CTX_wm_area(), CTX_wm_region(), ED_area_tag_redraw(), ED_region_remove(), ED_view3d_context_user_region(), ED_view3d_lock_view_from_index(), LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, NA_EDITED, NC_SCREEN, ARegion::next, NULL, OPERATOR_FINISHED, region_quadview_init_rv3d(), ARegion::regiondata, ARegion::regiontype, wmOperator::reports, RegionView3D::rflag, RGN_ALIGN_QSPLIT, RGN_TYPE_WINDOW, RPT_ERROR, RV3D_CAMOB, RV3D_GPULIGHT_UPDATE, RV3D_LOCK_ROTATION, RV3D_ORTHO, RV3D_PERSP, RV3D_VIEW_CAMERA, RV3D_VIEW_USER, RV3D_VIEWLOCK_INIT, SPACE_VIEW3D, SWAP, RegionView3D::viewlock, RegionView3D::viewlock_quad, void, and WM_event_add_notifier().
Referenced by SCREEN_OT_region_quadview().
|
static |
Definition at line 3885 of file screen_ops.c.
References blender::compositor::area(), ED_view3d_lastview_store(), ED_view3d_lock(), ED_view3d_quadview_update(), RegionView3D::persp, ARegion::regiondata, RegionView3D::runtime_viewlock, RV3D_BOXCLIP, RV3D_CAMOB, RV3D_ORTHO, RV3D_VIEW_AXIS_ROLL_0, view, RegionView3D::view, view3d_localview_update_rv3d(), RegionView3D::view_axis_roll, and RegionView3D::viewlock.
Referenced by region_quadview_exec().
|
static |
Definition at line 2879 of file screen_ops.c.
References region_scale_exit().
Referenced by SCREEN_OT_region_scale().
|
static |
Definition at line 2655 of file screen_ops.c.
References wmOperator::customdata, G, G_TRANSFORM_WM, MEM_freeN, and NULL.
Referenced by region_scale_cancel(), and region_scale_modal().
|
static |
Definition at line 2663 of file screen_ops.c.
References AE_LEFT_TO_TOPRIGHT, AE_RIGHT_TO_TOPLEFT, ARegion::alignment, RegionMoveData::area, area_max_regionsize(), sActionzoneData::az, RegionMoveData::az, BKE_report(), C, CLAMP, copy_v2_v2_int(), wmOperator::customdata, AZone::edge, RegionMoveData::edge, ELEM, EVT_ACTIONZONE_REGION, G, G_TRANSFORM_WM, is_split_edge(), RegionMoveData::maxsize, MEM_callocN, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, RegionMoveData::orig_xy, RegionMoveData::origval, ARegion::prev, AZone::region, RegionMoveData::region, wmOperator::reports, RGN_ALIGN_ENUM_FROM_MASK, RGN_SPLIT_PREV, RPT_ERROR, sActionzoneData::sa1, ARegion::sizex, ARegion::sizey, wmEvent::type, ARegion::winx, ARegion::winy, WM_event_add_modal_handler(), and wmEvent::xy.
Referenced by SCREEN_OT_region_scale().
|
static |
Definition at line 2767 of file screen_ops.c.
References blender::math::abs(), AE_BOTTOM_TO_TOPLEFT, AE_LEFT_TO_TOPRIGHT, AE_RIGHT_TO_TOPLEFT, RegionMoveData::area, BLI_rctf_size_x(), BLI_rcti_size_x(), C, CLAMP, View2D::cur, wmOperator::customdata, ED_area_tag_redraw(), RegionMoveData::edge, ELEM, EVT_ESCKEY, ARegion::flag, KM_RELEASE, LEFTMOUSE, len_manhattan_v2v2_int(), View2D::mask, RegionMoveData::maxsize, MOUSEMOVE, NA_EDITED, NC_SCREEN, NULL, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, RegionMoveData::orig_xy, RegionMoveData::origval, RegionMoveData::region, region_scale_exit(), region_scale_toggle_hidden(), region_scale_validate_size(), RGN_FLAG_DYNAMIC_SIZE, RGN_FLAG_HIDDEN, RGN_FLAG_TOO_SMALL, ARegion::sizex, ARegion::sizey, ARegionType::snap_size, ARegion::type, wmEvent::type, UI_DPI_FAC, UI_UNIT_X, UI_UNIT_Y, ARegion::v2d, wmEvent::val, WM_event_add_notifier(), WM_EVENT_CURSOR_MOTION_THRESHOLD, and wmEvent::xy.
Referenced by SCREEN_OT_region_scale().
|
static |
Definition at line 2743 of file screen_ops.c.
References RegionMoveData::area, BKE_area_find_region_type(), C, ARegion::flag, NULL, RegionMoveData::region, region_scale_validate_size(), region_toggle_hidden(), ARegion::regiontype, RGN_FLAG_HIDDEN, RGN_FLAG_HIDDEN_BY_USER, RGN_TYPE_HEADER, RGN_TYPE_TOOL_HEADER, UI_view2d_curRect_validate(), and ARegion::v2d.
Referenced by region_scale_modal().
|
static |
Definition at line 2723 of file screen_ops.c.
References AE_LEFT_TO_TOPRIGHT, AE_RIGHT_TO_TOPLEFT, RegionMoveData::edge, ELEM, ARegion::flag, RegionMoveData::maxsize, RegionMoveData::region, RGN_FLAG_HIDDEN, size(), ARegion::sizex, ARegion::sizey, UI_DPI_FAC, and UI_UNIT_Y.
Referenced by region_scale_modal(), and region_scale_toggle_hidden().
|
static |
Definition at line 4043 of file screen_ops.c.
References ARegion::alignment, BKE_area_find_region_type(), C, CTX_wm_area(), CTX_wm_region(), ED_region_tag_redraw(), ED_region_toggle_hidden(), OPERATOR_FINISHED, wmOperator::ptr, RGN_ALIGN_NONE, RNA_property_enum_get(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by SCREEN_OT_region_toggle().
Definition at line 4063 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_operator_poll_msg_set(), ED_operator_areaactive(), and SPACE_TOPBAR.
Referenced by SCREEN_OT_region_toggle().
|
static |
Definition at line 3810 of file screen_ops.c.
References BLI_addtail(), BLI_findlink(), BLI_remlink(), C, CTX_wm_manager(), OPERATOR_FINISHED, wmWindowManager::operators, wmOperator::ptr, RNA_int_get(), and WM_operator_repeat().
Referenced by SCREEN_OT_repeat_history().
|
static |
Definition at line 3780 of file screen_ops.c.
References BLI_listbase_count(), C, CTX_wm_manager(), wmOperatorType::flag, wmOperatorType::idname, ListBase::last, OPERATOR_CANCELLED, OPERATOR_INTERFACE, wmWindowManager::operators, OPTYPE_REGISTER, wmOperator::prev, wmOperator::ptr, wmOperator::type, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemIntO(), WM_operator_repeat_check(), and WM_operatortype_name().
Referenced by SCREEN_OT_repeat_history().
Definition at line 3731 of file screen_ops.c.
References BLI_listbase_is_empty(), C, CTX_wm_manager(), ED_operator_screenactive(), and wmWindowManager::operators.
Referenced by SCREEN_OT_redo_last(), SCREEN_OT_repeat_history(), and SCREEN_OT_repeat_last().
|
static |
Definition at line 3740 of file screen_ops.c.
References C, CTX_wm_manager(), wmOperatorType::flag, ListBase::last, OPERATOR_CANCELLED, wmWindowManager::operators, OPTYPE_REGISTER, wmOperator::prev, wmOperator::type, WM_operator_free_all_after(), and WM_operator_repeat_last().
Referenced by SCREEN_OT_repeat_last().
Definition at line 957 of file screen_ops.c.
References blender::compositor::area(), bScreen::areabase, LISTBASE_FOREACH, and NULL.
Referenced by actionzone_invoke().
Definition at line 945 of file screen_ops.c.
References blender::compositor::area(), area_actionzone_refresh_xy(), bScreen::areabase, LISTBASE_FOREACH, NULL, and xy.
Referenced by actionzone_invoke().
Definition at line 674 of file screen_ops.c.
References C, CTX_wm_screen(), ED_operator_screenactive(), SCREENNORMAL, and state.
Referenced by SCREEN_OT_area_join(), SCREEN_OT_area_split(), and SCREEN_OT_area_swap().
|
static |
Definition at line 4882 of file screen_ops.c.
References bScreen::animtimer, C, RenderData::cfra, CTX_data_scene(), CTX_wm_manager(), wmTimer::customdata, ED_screen_animation_play(), ED_screen_animation_playing(), NC_SCENE, ND_FRAME, OPERATOR_PASS_THROUGH, wmOperator::ptr, Scene::r, RNA_boolean_get(), scene, ScreenAnimData::sfra, and WM_event_add_notifier().
Referenced by SCREEN_OT_animation_cancel().
|
static |
Definition at line 4843 of file screen_ops.c.
References C, ED_screen_animation_play(), wmOperator::ptr, RNA_boolean_get(), and RNA_struct_property_is_set().
Referenced by SCREEN_OT_animation_play().
|
static |
Definition at line 4399 of file screen_ops.c.
References ELEM, RGN_TYPE_PREVIEW, RGN_TYPE_WINDOW, SPACE_ACTION, SPACE_CLIP, SPACE_GRAPH, SPACE_NLA, and SPACE_SEQ.
Referenced by screen_animation_region_tag_redraw().
|
static |
Definition at line 4501 of file screen_ops.c.
References ANIM_animdata_get_context(), ANIMCONT_DRIVERS, blender::compositor::area(), BLI_rctf_size_x(), C, RenderData::cfra, View2D::cur, bAnimContext::datatype, ED_region_tag_redraw(), ED_space_sequencer_has_playback_animation(), ELEM, SpaceGraph::mode, Scene::r, ARegion::regiontype, RGN_TYPE_WINDOW, scene, screen_animation_region_supports_time_follow(), SIPO_MODE_DRIVERS, SPACE_ACTION, SPACE_GRAPH, SPACE_NLA, SPACE_SEQ, TIME_FOLLOW, ARegion::v2d, w(), rctf::xmax, and rctf::xmin.
Referenced by screen_animation_step_invoke().
|
static |
Definition at line 4561 of file screen_ops.c.
References ANIMPLAY_FLAG_JUMPED, ANIMPLAY_FLAG_NO_SYNC, ANIMPLAY_FLAG_REVERSE, ANIMPLAY_FLAG_SYNC, ANIMPLAY_FLAG_USE_NEXT_FRAME, bScreen::animtimer, blender::compositor::area(), bScreen::areabase, Scene::audio, AUDIO_SYNC, BKE_scene_get_depsgraph(), BKE_sound_sync_scene(), C, RenderData::cfra, CTX_data_main(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_screen(), CTX_wm_window(), wmEvent::customdata, wmTimer::customdata, DEG_get_evaluated_scene(), DEG_id_tag_update(), wmTimer::delta, depsgraph, ED_refresh_viewport_fps(), ED_update_for_newframe(), RenderData::efra, ScreenAnimData::flag, AudioData::flag, Scene::flag, FPS, ScreenAnimData::from_anim_edit, Scene::id, ID_RECALC_FRAME_CHANGE, CCL_NAMESPACE_BEGIN::isfinite(), ScreenAnimData::lagging_frame_count, LISTBASE_FOREACH, match_region_with_redraws(), max_ii(), ScreenAnimData::nextfra, NULL, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, RenderData::pefra, PRVRANGEON, RenderData::psfra, Scene::r, ID::recalc, ScreenAnimData::redraws, ScreenAnimData::region, SCE_FRAME_DROP, scene, screen_animation_region_tag_redraw(), RenderData::sfra, time, wmTimer::timestep, wmWindowManager::windows, WM_window_get_active_screen(), and WM_window_get_active_view_layer().
Referenced by SCREEN_OT_animation_step().
|
static |
Definition at line 1195 of file screen_ops.c.
References AREAMAP_FROM_SCREEN, BKE_screen_find_area_xy(), C, CTX_wm_screen(), CTX_wm_window(), ED_area_is_global(), NULL, screen_geom_area_map_find_active_scredge(), screen_geom_edge_is_horizontal(), SPACE_TYPE_ANY, UI_DPI_FAC, and WM_window_rect_calc().
Referenced by area_join_init(), area_swap_exec(), and screen_area_options_invoke().
Definition at line 4195 of file screen_ops.c.
References blender::compositor::area(), BLI_rcti_cent_x(), BLI_rcti_cent_y(), ED_area_is_global(), IFACE_, NULL, ptr, RNA_boolean_set(), RNA_enum_set(), RNA_int_set_array(), SCREEN_AXIS_H, SCREEN_AXIS_V, SPACE_FILE, uiItemFullO(), uiItemO(), uiItemS(), and WM_OP_INVOKE_DEFAULT.
Referenced by ED_screens_footer_tools_menu_create(), and ED_screens_header_tools_menu_create().
|
static |
Definition at line 3597 of file screen_ops.c.
References area_getorientation(), C, IFACE_, NULL, OPERATOR_CANCELLED, OPERATOR_INTERFACE, wmOperator::ptr, ptr, RNA_enum_set(), RNA_int_set_array(), screen_area_edge_from_cursor(), SCREEN_AXIS_H, SCREEN_AXIS_V, wmOperator::type, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemFullO(), uiItemS(), WM_OP_EXEC_DEFAULT, WM_OP_INVOKE_DEFAULT, WM_operatortype_name(), and wmEvent::xy.
Referenced by SCREEN_OT_area_options().
|
static |
Definition at line 4345 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), ED_screens_footer_tools_menu_create(), ED_screens_header_tools_menu_create(), ED_screens_navigation_bar_tools_menu_create(), ed_screens_statusbar_menu_create(), ELEM, IFACE_, NULL, OPERATOR_INTERFACE, ARegion::regiontype, RGN_TYPE_FOOTER, RGN_TYPE_HEADER, RGN_TYPE_NAV_BAR, RGN_TYPE_TOOL_HEADER, SPACE_STATUSBAR, UI_popup_menu_begin(), UI_popup_menu_end(), and UI_popup_menu_layout().
Referenced by SCREEN_OT_region_context_menu().
|
static |
Definition at line 5269 of file screen_ops.c.
References BKE_workspace_layout_find(), C, CTX_wm_screen(), CTX_wm_workspace(), NC_SCREEN, ND_LAYOUTDELETE, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by SCREEN_OT_delete().
|
static |
Definition at line 3262 of file screen_ops.c.
References blender::compositor::area(), bScreen::areabase, BLI_assert, C, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), ED_screen_state_toggle(), ELEM, LISTBASE_FOREACH, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SCREENFULL, SCREENMAXIMIZED, SCREENNORMAL, bScreen::state, and bScreen::temp.
Referenced by SCREEN_OT_screen_full_area().
Definition at line 3299 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), ED_area_is_global(), ED_operator_areaactive(), SCREENNORMAL, bScreen::state, and WM_window_is_temp_screen().
Referenced by SCREEN_OT_screen_full_area().
|
static |
Definition at line 5237 of file screen_ops.c.
References BKE_workspace_active_get(), BKE_workspace_active_layout_get(), C, CTX_data_main(), CTX_wm_window(), ED_workspace_layout_duplicate(), NC_SCREEN, ND_LAYOUTBROWSE, OPERATOR_FINISHED, WM_event_add_notifier(), and wmWindow::workspace_hook.
Referenced by SCREEN_OT_new().
|
static |
Definition at line 1171 of file screen_ops.c.
References actionzone_area_poll(), actionzone_cancel(), actionzone_invoke(), actionzone_modal(), wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_INTERNAL, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4906 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_boolean(), screen_animation_cancel_exec(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4855 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_norender(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), screen_animation_play_exec(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4764 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_norender(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, and screen_animation_step_invoke().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 1504 of file screen_ops.c.
References area_close_exec(), area_close_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 1427 of file screen_ops.c.
References area_dupli_invoke(), wmOperatorType::description, ED_operator_areaactive(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3569 of file screen_ops.c.
References area_join_cancel(), area_join_exec(), area_join_invoke(), area_join_modal(), wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, OPTYPE_INTERNAL, ot, wmOperatorType::poll, RNA_def_int_vector(), screen_active_editable(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 1981 of file screen_ops.c.
References area_move_cancel(), area_move_exec(), area_move_invoke(), area_move_modal(), wmOperatorType::cancel, wmOperatorType::description, ED_operator_screen_mainwinactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_INTERNAL, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3669 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screen_mainwinactive(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, ot, wmOperatorType::poll, and screen_area_options_invoke().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 2550 of file screen_ops.c.
References area_split_cancel(), area_split_exec(), area_split_invoke(), area_split_modal(), wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, OPTYPE_INTERNAL, ot, wmOperatorType::poll, prop_direction_items, RNA_def_enum(), RNA_def_float(), RNA_def_int_vector(), screen_active_editable(), SCREEN_AXIS_H, and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 1354 of file screen_ops.c.
References area_swap_cancel(), area_swap_exec(), area_swap_invoke(), area_swap_modal(), wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, ot, wmOperatorType::poll, RNA_def_int_vector(), screen_active_editable(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5017 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, fullscreen_back_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5280 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and screen_delete_exec().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5174 of file screen_ops.c.
References wmOperatorType::description, drivers_editor_show_exec(), ED_operator_screenactive_nobackground(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3030 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_norender(), wmOperatorType::exec, wmOperatorType::flag, frame_jump_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO_GROUPED, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and wmOperatorType::undo_group.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 2968 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_norender(), wmOperatorType::exec, wmOperatorType::flag, frame_offset_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO_GROUPED, ot, wmOperatorType::poll, RNA_def_int(), wmOperatorType::srna, and wmOperatorType::undo_group.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4176 of file screen_ops.c.
References wmOperatorType::description, ED_operator_areaactive(), wmOperatorType::exec, wmOperatorType::flag, header_toggle_menus_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5219 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_nobackground(), wmOperatorType::exec, wmOperatorType::idname, info_log_show_exec(), wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3143 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_norender(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, keyframe_jump_exec(), wmOperatorType::name, OPTYPE_UNDO_GROUPED, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and wmOperatorType::undo_group.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3207 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_norender(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, marker_jump_exec(), wmOperatorType::name, OPTYPE_UNDO_GROUPED, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and wmOperatorType::undo_group.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5251 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, screen_new_exec(), and WM_operator_winactive().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3858 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, redo_last_invoke(), and repeat_history_poll().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5425 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, ot, and region_blend_invoke().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4380 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and screen_context_menu_invoke().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4144 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, region_flip_exec(), and region_flip_poll().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4024 of file screen_ops.c.
References wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and region_quadview_exec().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 2884 of file screen_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_areaactive(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_INTERNAL, ot, wmOperatorType::poll, region_scale_cancel(), region_scale_invoke(), and region_scale_modal().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 4076 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, region_toggle_exec(), region_toggle_poll(), RNA_def_enum(), rna_enum_region_type_items, and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3826 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, repeat_history_exec(), repeat_history_invoke(), repeat_history_poll(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3761 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, repeat_history_poll(), and repeat_last_exec().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3311 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), screen_maximize_area_exec(), screen_maximize_area_poll(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3242 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_int(), screen_set_exec(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5571 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_enum(), space_context_cycle_direction, space_context_cycle_invoke(), SPACE_CONTEXT_CYCLE_NEXT, space_context_cycle_poll(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5492 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_enum(), rna_enum_space_type_items, SPACE_EMPTY, space_type_set_or_cycle_exec(), space_type_set_or_cycle_poll(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3713 of file screen_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, spacedata_cleanup_exec(), and WM_operator_winactive().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5086 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive_nobackground(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), rna_enum_preference_section_items, wmOperatorType::srna, and userpref_show_exec().
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 5642 of file screen_ops.c.
References wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_enum(), space_context_cycle_direction, SPACE_CONTEXT_CYCLE_NEXT, space_workspace_cycle_invoke(), and wmOperatorType::srna.
Referenced by ED_operatortypes_screen().
|
static |
Definition at line 3230 of file screen_ops.c.
References C, CTX_wm_workspace(), ED_workspace_layout_cycle(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, and RNA_int_get().
Referenced by SCREEN_OT_screen_set().
|
static |
Definition at line 5555 of file screen_ops.c.
References C, context_cycle_prop_get(), CTX_wm_area(), CTX_wm_screen(), OPERATOR_FINISHED, wmOperator::ptr, ptr, RNA_enum_get(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_enum_step(), RNA_property_update(), and SPACE_CONTEXT_CYCLE_PREV.
Referenced by SCREEN_OT_space_context_cycle().
Definition at line 5520 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), ELEM, SPACE_PROPERTIES, and SPACE_USERPREF.
Referenced by SCREEN_OT_space_context_cycle().
|
static |
Definition at line 5453 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_screen(), free(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, ptr, RNA_enum_from_value(), RNA_enum_get(), RNA_pointer_create(), RNA_property_enum_get(), RNA_property_enum_items(), RNA_property_enum_set(), RNA_property_update(), RNA_struct_find_property(), and EnumPropertyItem::value.
Referenced by SCREEN_OT_space_type_set_or_cycle().
Definition at line 5447 of file screen_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), ELEM, SPACE_STATUSBAR, and SPACE_TOPBAR.
Referenced by SCREEN_OT_space_type_set_or_cycle().
|
static |
Definition at line 5598 of file screen_ops.c.
References BKE_id_ordered_list(), BLI_freelistN(), C, CTX_data_main(), CTX_wm_window(), LinkData::data, ListBase::first, ListBase::last, LISTBASE_FOREACH, NC_SCREEN, ND_WORKSPACE_SET, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SPACE_CONTEXT_CYCLE_PREV, WorkSpaceInstanceHook::temp_workspace_store, WM_event_add_notifier(), WM_window_get_active_workspace(), WM_window_is_temp_screen(), wmWindow::workspace_hook, and Main::workspaces.
Referenced by SCREEN_OT_workspace_cycle().
|
static |
Definition at line 3691 of file screen_ops.c.
References blender::compositor::area(), BKE_reportf(), BKE_spacedata_freelist(), BLI_addtail(), BLI_listbase_count(), BLI_remlink(), C, CTX_data_main(), LISTBASE_FOREACH, OPERATOR_FINISHED, wmOperator::reports, RPT_INFO, and Main::screens.
Referenced by SCREEN_OT_spacedata_cleanup().
|
static |
Definition at line 5035 of file screen_ops.c.
References blender::compositor::area(), BKE_area_find_region_type(), BKE_report(), C, CTX_wm_area(), CTX_wm_window(), ED_region_visibility_change_update(), wmWindow::eventstate, ARegion::flag, IFACE_, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RGN_FLAG_HIDDEN, RGN_TYPE_EXECUTE, RGN_TYPE_HEADER, RNA_pointer_create(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_is_set(), RNA_property_update(), RNA_struct_find_property(), RPT_ERROR, SPACE_USERPREF, UI_DPI_FAC, UI_NAVIGATION_REGION_WIDTH, WIN_ALIGN_LOCATION_CENTER, and WM_window_open().
Referenced by SCREEN_OT_userpref_show().
|
static |
Definition at line 3876 of file screen_ops.c.
References copy_qt_qt(), RegionView3D::localvd, RegionView3D::persp, RegionView3D::view, and RegionView3D::viewquat.
Referenced by region_quadview_init_rv3d().
|
static |
Definition at line 2544 of file screen_ops.c.
Referenced by rna_def_gpencil_sculpt(), rna_def_modifier_displace(), and SCREEN_OT_area_split().
|
static |
Definition at line 5514 of file screen_ops.c.
Referenced by SCREEN_OT_space_context_cycle(), and SCREEN_OT_workspace_cycle().