Blender  V2.93
Classes | Macros
screen_ops.c File Reference
#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_image.h"
#include "ED_keyframes_draw.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 "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
 

Functions

Public Poll API
bool ED_operator_regionactive (bContext *C)
 
bool ED_operator_areaactive (bContext *C)
 
bool ED_operator_screenactive (bContext *C)
 
bool ED_operator_screenactive_nobackground (bContext *C)
 
static bool ED_operator_screenactive_norender (bContext *C)
 
bool ED_operator_screen_mainwinactive (bContext *C)
 
bool ED_operator_scene (bContext *C)
 
bool ED_operator_scene_editable (bContext *C)
 
bool ED_operator_objectmode (bContext *C)
 
static bool ed_spacetype_test (bContext *C, int type)
 
bool ED_operator_view3d_active (bContext *C)
 
bool ED_operator_region_view3d_active (bContext *C)
 
bool ED_operator_animview_active (bContext *C)
 
bool ED_operator_outliner_active (bContext *C)
 
bool ED_operator_outliner_active_no_editobject (bContext *C)
 
bool ED_operator_file_active (bContext *C)
 
bool ED_operator_action_active (bContext *C)
 
bool ED_operator_buttons_active (bContext *C)
 
bool ED_operator_node_active (bContext *C)
 
bool ED_operator_node_editable (bContext *C)
 
bool ED_operator_graphedit_active (bContext *C)
 
bool ED_operator_sequencer_active (bContext *C)
 
bool ED_operator_sequencer_active_editable (bContext *C)
 
bool ED_operator_image_active (bContext *C)
 
bool ED_operator_nla_active (bContext *C)
 
bool ED_operator_info_active (bContext *C)
 
bool ED_operator_console_active (bContext *C)
 
static bool ed_object_hidden (const Object *ob)
 
bool ED_operator_object_active (bContext *C)
 
bool ED_operator_object_active_editable_ex (bContext *UNUSED(C), const Object *ob)
 
bool ED_operator_object_active_editable (bContext *C)
 
bool ED_operator_object_active_local_editable_ex (bContext *C, const Object *ob)
 
bool ED_operator_object_active_local_editable (bContext *C)
 
bool ED_operator_object_active_editable_mesh (bContext *C)
 
bool ED_operator_object_active_editable_font (bContext *C)
 
bool ED_operator_editable_mesh (bContext *C)
 
bool ED_operator_editmesh (bContext *C)
 
bool ED_operator_editmesh_view3d (bContext *C)
 
bool ED_operator_editmesh_region_view3d (bContext *C)
 
bool ED_operator_editmesh_auto_smooth (bContext *C)
 
bool ED_operator_editarmature (bContext *C)
 
bool ED_operator_posemode_exclusive (bContext *C)
 check for pose mode (no mixed modes) More...
 
bool ED_operator_posemode_context (bContext *C)
 
bool ED_operator_posemode (bContext *C)
 
bool ED_operator_posemode_local (bContext *C)
 
bool ED_operator_uvedit (bContext *C)
 
bool ED_operator_uvedit_space_image (bContext *C)
 
bool ED_operator_uvmap (bContext *C)
 
bool ED_operator_editsurfcurve (bContext *C)
 
bool ED_operator_editsurfcurve_region_view3d (bContext *C)
 
bool ED_operator_editcurve (bContext *C)
 
bool ED_operator_editcurve_3d (bContext *C)
 
bool ED_operator_editsurf (bContext *C)
 
bool ED_operator_editfont (bContext *C)
 
bool ED_operator_editlattice (bContext *C)
 
bool ED_operator_editmball (bContext *C)
 
bool ED_operator_mask (bContext *C)
 
bool ED_operator_camera (bContext *C)
 
Internal Screen Utilities
static bool screen_active_editable (bContext *C)
 
Area edge detection utility
static ScrEdgescreen_area_edge_from_cursor (const bContext *C, const int cursor[2], ScrArea **r_sa1, ScrArea **r_sa2)
 
Area Duplicate Operator

Create new window from area.

static int area_dupli_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void SCREEN_OT_area_dupli (wmOperatorType *ot)
 
Frame Change Operator
static void areas_do_frame_follow (bContext *C, bool middle)
 
static int frame_offset_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_frame_offset (wmOperatorType *ot)
 
Frame Jump Operator
static int frame_jump_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_frame_jump (wmOperatorType *ot)
 
Jump to Key-Frame Operator
static int keyframe_jump_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_keyframe_jump (wmOperatorType *ot)
 
Jump to Marker Operator
static int marker_jump_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_marker_jump (wmOperatorType *ot)
 
Set Screen Operator
static int screen_set_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_screen_set (wmOperatorType *ot)
 
Screen Full-Area Operator
static int screen_maximize_area_exec (bContext *C, wmOperator *op)
 
static bool screen_maximize_area_poll (bContext *C)
 
static void SCREEN_OT_screen_full_area (wmOperatorType *ot)
 
Screen Area Options Operator
static int screen_area_options_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void SCREEN_OT_area_options (wmOperatorType *ot)
 
Space Data Cleanup Operator
static int spacedata_cleanup_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_spacedata_cleanup (wmOperatorType *ot)
 
Repeat Last Operator
static bool repeat_history_poll (bContext *C)
 
static int repeat_last_exec (bContext *C, wmOperator *UNUSED(op))
 
static void SCREEN_OT_repeat_last (wmOperatorType *ot)
 
Repeat History Operator
static int repeat_history_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
static int repeat_history_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_repeat_history (wmOperatorType *ot)
 
Redo Operator
static int redo_last_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event))
 
static void SCREEN_OT_redo_last (wmOperatorType *ot)
 
Region Quad-View Operator
static void view3d_localview_update_rv3d (struct RegionView3D *rv3d)
 
static void region_quadview_init_rv3d (ScrArea *area, ARegion *region, const char viewlock, const char view, const char persp)
 
static int region_quadview_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_region_quadview (wmOperatorType *ot)
 
Region Toggle Operator
static int region_toggle_exec (bContext *C, wmOperator *op)
 
static bool region_toggle_poll (bContext *C)
 
static void SCREEN_OT_region_toggle (wmOperatorType *ot)
 
Region Flip Operator
static int region_flip_exec (bContext *C, wmOperator *UNUSED(op))
 
static bool region_flip_poll (bContext *C)
 
static void SCREEN_OT_region_flip (wmOperatorType *ot)
 
Header Toggle Menu Operator
static int header_toggle_menus_exec (bContext *C, wmOperator *UNUSED(op))
 
static void SCREEN_OT_header_toggle_menus (wmOperatorType *ot)
 
Region Context Menu Operator (Header/Footer/Navbar)
void ED_screens_header_tools_menu_create (bContext *C, uiLayout *layout, void *UNUSED(arg))
 
void ED_screens_footer_tools_menu_create (bContext *C, uiLayout *layout, void *UNUSED(arg))
 
void ED_screens_navigation_bar_tools_menu_create (bContext *C, uiLayout *layout, void *UNUSED(arg))
 
static void ed_screens_statusbar_menu_create (uiLayout *layout, void *UNUSED(arg))
 
static int screen_context_menu_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event))
 
static void SCREEN_OT_region_context_menu (wmOperatorType *ot)
 
Animation Step Operator

Animation Step.

static bool screen_animation_region_supports_time_follow (eSpace_Type spacetype, eRegionType regiontype)
 
static bool match_region_with_redraws (const ScrArea *area, eRegionType regiontype, eScreen_Redraws_Flag redraws, bool from_anim_edit)
 
static void screen_animation_region_tag_redraw (bContext *C, ScrArea *area, ARegion *region, const Scene *scene, eScreen_Redraws_Flag redraws)
 
static int screen_animation_step_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *event)
 
static void SCREEN_OT_animation_step (wmOperatorType *ot)
 
Animation Playback Operator

Animation Playback with Timer.

bScreenED_screen_animation_playing (const wmWindowManager *wm)
 
bScreenED_screen_animation_no_scrub (const wmWindowManager *wm)
 
int ED_screen_animation_play (bContext *C, int sync, int mode)
 
static int screen_animation_play_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_animation_play (wmOperatorType *ot)
 
Animation Cancel Operator
static int screen_animation_cancel_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_animation_cancel (wmOperatorType *ot)
 
Full Screen Back Operator

Use for generic full-screen 'back' button.

static int fullscreen_back_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_back_to_previous (struct wmOperatorType *ot)
 
Show User Preferences Operator
static int userpref_show_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_userpref_show (struct wmOperatorType *ot)
 
Show Drivers Editor Operator
static int drivers_editor_show_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_drivers_editor_show (struct wmOperatorType *ot)
 
Show Info Log Operator
static int info_log_show_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_info_log_show (struct wmOperatorType *ot)
 
New Screen Operator
static int screen_new_exec (bContext *C, wmOperator *UNUSED(op))
 
static void SCREEN_OT_new (wmOperatorType *ot)
 
Delete Screen Operator
static int screen_delete_exec (bContext *C, wmOperator *UNUSED(op))
 
static void SCREEN_OT_delete (wmOperatorType *ot)
 
Space Type Set or Cycle Operator
static bool space_type_set_or_cycle_poll (bContext *C)
 
static int space_type_set_or_cycle_exec (bContext *C, wmOperator *op)
 
static void SCREEN_OT_space_type_set_or_cycle (wmOperatorType *ot)
 
Workspace Cycle Operator
static int space_workspace_cycle_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
static void SCREEN_OT_workspace_cycle (wmOperatorType *ot)
 
Assigning Operator Types
void ED_operatortypes_screen (void)
 
Operator Key Map
static void keymap_modal_set (wmKeyConfig *keyconf)
 
static bool blend_file_drop_poll (bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event), const char **UNUSED(r_tooltip))
 
static void blend_file_drop_copy (wmDrag *drag, wmDropBox *drop)
 
void ED_keymap_screen (wmKeyConfig *keyconf)
 

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)
 

Action Zone Operator

typedef struct sActionzoneData sActionzoneData
 
static bool actionzone_area_poll (bContext *C)
 
static void fullscreen_click_rcti_init (rcti *rect, const short UNUSED(x1), const short UNUSED(y1), const short x2, const short y2)
 
static bool azone_clipped_rect_calc (const AZone *az, rcti *r_rect_clip)
 
static AZonearea_actionzone_refresh_xy (ScrArea *area, const int xy[2], const bool test_only)
 
static AZonescreen_actionzone_find_xy (bScreen *screen, const int xy[2])
 
static ScrAreascreen_actionzone_area (bScreen *screen, const AZone *az)
 
AZoneED_area_actionzone_find_xy (ScrArea *area, const int xy[2])
 
AZoneED_area_azones_update (ScrArea *area, const int xy[2])
 
static void actionzone_exit (wmOperator *op)
 
static void actionzone_apply (bContext *C, wmOperator *op, int type)
 
static int actionzone_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int actionzone_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void actionzone_cancel (bContext *UNUSED(C), wmOperator *op)
 
static void SCREEN_OT_actionzone (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, int dir, 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 int dir, const int bigger, const int smaller)
 
static void area_move_apply_do (const bContext *C, int delta, const int origval, const int dir, 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)
 

Split Area Operator

typedef struct sAreaSplitData sAreaSplitData
 
static const EnumPropertyItem prop_direction_items []
 
static void area_split_draw_cb (const struct wmWindow *UNUSED(win), void *userdata)
 
static bool area_split_menu_init (bContext *C, wmOperator *op)
 
static bool area_split_init (bContext *C, wmOperator *op)
 
static ScrEdgearea_findsharededge (bScreen *screen, ScrArea *area, ScrArea *sb)
 
static bool area_split_apply (bContext *C, wmOperator *op)
 
static void area_split_exit (bContext *C, wmOperator *op)
 
static void area_split_preview_update_cursor (bContext *C, wmOperator *op)
 
static int area_split_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int area_split_exec (bContext *C, wmOperator *op)
 
static void area_split_cancel (bContext *C, wmOperator *op)
 
static int area_split_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void SCREEN_OT_area_split (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)
 

Macro Definition Documentation

◆ KM_MODAL_APPLY

#define KM_MODAL_APPLY   2

Definition at line 97 of file screen_ops.c.

◆ KM_MODAL_CANCEL

#define KM_MODAL_CANCEL   1

Definition at line 96 of file screen_ops.c.

◆ KM_MODAL_SNAP_OFF

#define KM_MODAL_SNAP_OFF   4

Definition at line 99 of file screen_ops.c.

◆ KM_MODAL_SNAP_ON

#define KM_MODAL_SNAP_ON   3

Definition at line 98 of file screen_ops.c.

◆ TIMEOUT

#define TIMEOUT   0.1f

Definition at line 5113 of file screen_ops.c.

◆ TIMESTEP

#define TIMESTEP   (1.0f / 60.0f)

Definition at line 5114 of file screen_ops.c.

Typedef Documentation

◆ RegionAlphaInfo

◆ RegionMoveData

◆ sActionzoneData

◆ sAreaJoinData

typedef struct sAreaJoinData sAreaJoinData

◆ sAreaMoveData

typedef struct sAreaMoveData sAreaMoveData

◆ sAreaSplitData

◆ sAreaSwapData

typedef struct sAreaSwapData sAreaSwapData

Function Documentation

◆ actionzone_apply()

static void actionzone_apply ( bContext C,
wmOperator op,
int  type 
)
static

◆ actionzone_area_poll()

static bool actionzone_area_poll ( bContext C)
static

◆ actionzone_cancel()

static void actionzone_cancel ( bContext UNUSEDC,
wmOperator op 
)
static

Definition at line 1127 of file screen_ops.c.

References actionzone_exit().

Referenced by SCREEN_OT_actionzone().

◆ actionzone_exit()

static void actionzone_exit ( wmOperator op)
static

◆ actionzone_invoke()

static int actionzone_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ actionzone_modal()

static int actionzone_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_actionzone_refresh_xy()

static AZone* area_actionzone_refresh_xy ( ScrArea area,
const int  xy[2],
const bool  test_only 
)
static

◆ area_dupli_invoke()

static int area_dupli_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_findsharededge()

static ScrEdge* area_findsharededge ( bScreen screen,
ScrArea area,
ScrArea sb 
)
static

◆ area_join_apply()

static bool area_join_apply ( bContext C,
wmOperator op 
)
static

◆ area_join_cancel()

static void area_join_cancel ( bContext C,
wmOperator op 
)
static

Definition at line 3344 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().

◆ area_join_draw_cb()

static void area_join_draw_cb ( const struct wmWindow UNUSEDwin,
void *  userdata 
)
static

◆ area_join_exec()

static int area_join_exec ( bContext C,
wmOperator op 
)
static

◆ area_join_exit()

static void area_join_exit ( bContext C,
wmOperator op 
)
static

◆ area_join_init()

static bool area_join_init ( bContext C,
wmOperator op,
ScrArea sa1,
ScrArea sa2 
)
static

◆ area_join_invoke()

static int area_join_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_join_modal()

static int area_join_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_max_regionsize()

static int area_max_regionsize ( ScrArea area,
ARegion scalear,
AZEdge  edge 
)
static

◆ area_move_apply()

static void area_move_apply ( bContext C,
wmOperator op 
)
static

◆ area_move_apply_do()

static void area_move_apply_do ( const bContext C,
int  delta,
const int  origval,
const int  dir,
const int  bigger,
const int  smaller,
const enum AreaMoveSnapType  snap_type 
)
static

◆ area_move_cancel()

static void area_move_cancel ( bContext C,
wmOperator op 
)
static

Definition at line 1810 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().

◆ area_move_exec()

static int area_move_exec ( bContext C,
wmOperator op 
)
static

◆ area_move_exit()

static void area_move_exit ( bContext C,
wmOperator op 
)
static

◆ area_move_init()

static bool area_move_init ( bContext C,
wmOperator op 
)
static

◆ area_move_invoke()

static int area_move_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_move_modal()

static int area_move_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_move_set_limits()

static void area_move_set_limits ( wmWindow win,
bScreen screen,
int  dir,
int *  bigger,
int *  smaller,
bool *  use_bigger_smaller_snap 
)
static

◆ area_snap_calc_location()

static int area_snap_calc_location ( const bScreen screen,
const enum AreaMoveSnapType  snap_type,
const int  delta,
const int  origval,
const int  dir,
const int  bigger,
const int  smaller 
)
static

◆ area_split_apply()

static bool area_split_apply ( bContext C,
wmOperator op 
)
static

◆ area_split_cancel()

static void area_split_cancel ( bContext C,
wmOperator op 
)
static

◆ area_split_draw_cb()

static void area_split_draw_cb ( const struct wmWindow UNUSEDwin,
void *  userdata 
)
static

◆ area_split_exec()

static int area_split_exec ( bContext C,
wmOperator op 
)
static

◆ area_split_exit()

static void area_split_exit ( bContext C,
wmOperator op 
)
static

◆ area_split_init()

static bool area_split_init ( bContext C,
wmOperator op 
)
static

◆ area_split_invoke()

static int area_split_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_split_menu_init()

static bool area_split_menu_init ( bContext C,
wmOperator op 
)
static

Definition at line 1955 of file screen_ops.c.

References C, CTX_wm_area(), wmOperator::customdata, MEM_callocN, and sAreaSplitData::sarea.

Referenced by area_split_invoke().

◆ area_split_modal()

static int area_split_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_split_preview_update_cursor()

static void area_split_preview_update_cursor ( bContext C,
wmOperator op 
)
static

◆ area_swap_cancel()

static void area_swap_cancel ( bContext C,
wmOperator op 
)
static

Definition at line 1246 of file screen_ops.c.

References area_swap_exit(), and C.

Referenced by area_swap_modal(), and SCREEN_OT_area_swap().

◆ area_swap_exec()

static int area_swap_exec ( bContext C,
wmOperator op 
)
static

◆ area_swap_exit()

static void area_swap_exit ( bContext C,
wmOperator op 
)
static

◆ area_swap_init()

static bool area_swap_init ( wmOperator op,
const wmEvent event 
)
static

◆ area_swap_invoke()

static int area_swap_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ area_swap_modal()

static int area_swap_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ areas_do_frame_follow()

static void areas_do_frame_follow ( bContext C,
bool  middle 
)
static

◆ azone_clipped_rect_calc()

static bool azone_clipped_rect_calc ( const AZone az,
rcti r_rect_clip 
)
static

◆ blend_file_drop_copy()

static void blend_file_drop_copy ( wmDrag drag,
wmDropBox drop 
)
static

Definition at line 5562 of file screen_ops.c.

References wmDrag::path, wmDropBox::ptr, and RNA_string_set().

Referenced by ED_keymap_screen().

◆ blend_file_drop_poll()

static bool blend_file_drop_poll ( bContext UNUSEDC,
wmDrag drag,
const wmEvent UNUSEDevent,
const char **  UNUSEDr_tooltip 
)
static

Definition at line 5549 of file screen_ops.c.

References wmDrag::icon, wmDrag::type, and WM_DRAG_PATH.

Referenced by ED_keymap_screen().

◆ context_cycle_prop_get()

static void context_cycle_prop_get ( bScreen screen,
const ScrArea area,
PointerRNA r_ptr,
PropertyRNA **  r_prop 
)
static

Helper to get the correct RNA pointer/property pair for changing the display context of active space type in area.

Definition at line 5339 of file screen_ops.c.

References blender::compositor::area(), BLI_assert, bScreen::id, NULL, RNA_pointer_create(), RNA_Preferences, RNA_SpaceProperties, RNA_struct_find_property(), SPACE_PROPERTIES, and SPACE_USERPREF.

Referenced by space_context_cycle_invoke().

◆ drivers_editor_show_exec()

static int drivers_editor_show_exec ( bContext C,
wmOperator op 
)
static

◆ ED_area_actionzone_find_xy()

AZone* ED_area_actionzone_find_xy ( ScrArea area,
const int  xy[2] 
)

◆ ED_area_azones_update()

AZone* ED_area_azones_update ( ScrArea area,
const int  xy[2] 
)

Definition at line 950 of file screen_ops.c.

References blender::compositor::area(), and area_actionzone_refresh_xy().

◆ ED_keymap_screen()

void ED_keymap_screen ( wmKeyConfig keyconf)

◆ ed_object_hidden()

static bool ed_object_hidden ( const Object ob)
static

◆ ED_operator_action_active()

bool ED_operator_action_active ( bContext C)

◆ ED_operator_animview_active()

bool ED_operator_animview_active ( bContext C)

◆ ED_operator_areaactive()

bool ED_operator_areaactive ( bContext C)

◆ ED_operator_buttons_active()

bool ED_operator_buttons_active ( bContext C)

◆ ED_operator_camera()

bool ED_operator_camera ( bContext C)

Definition at line 642 of file screen_ops.c.

References C, CTX_data_pointer_get_type(), PointerRNA::data, NULL, and RNA_Camera.

Referenced by VIEW3D_OT_background_image_remove().

◆ ED_operator_console_active()

bool ED_operator_console_active ( bContext C)

◆ ED_operator_editable_mesh()

bool ED_operator_editable_mesh ( bContext C)

◆ ED_operator_editarmature()

bool ED_operator_editarmature ( bContext C)

◆ ED_operator_editcurve()

bool ED_operator_editcurve ( bContext C)

◆ ED_operator_editcurve_3d()

bool ED_operator_editcurve_3d ( bContext C)

◆ ED_operator_editfont()

bool ED_operator_editfont ( bContext C)

◆ ED_operator_editlattice()

bool ED_operator_editlattice ( bContext C)

◆ ED_operator_editmball()

bool ED_operator_editmball ( bContext C)

◆ ED_operator_editmesh()

bool ED_operator_editmesh ( bContext C)

Definition at line 404 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(), and vertex_parent_set_poll().

◆ ED_operator_editmesh_auto_smooth()

bool ED_operator_editmesh_auto_smooth ( bContext C)

◆ ED_operator_editmesh_region_view3d()

bool ED_operator_editmesh_region_view3d ( bContext C)

◆ ED_operator_editmesh_view3d()

bool ED_operator_editmesh_view3d ( bContext C)

◆ ED_operator_editsurf()

bool ED_operator_editsurf ( bContext C)

Definition at line 580 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().

◆ ED_operator_editsurfcurve()

bool ED_operator_editsurfcurve ( bContext C)

◆ ED_operator_editsurfcurve_region_view3d()

bool ED_operator_editsurfcurve_region_view3d ( bContext C)

◆ ED_operator_file_active()

bool ED_operator_file_active ( bContext C)

◆ ED_operator_graphedit_active()

bool ED_operator_graphedit_active ( bContext C)

◆ ED_operator_image_active()

bool ED_operator_image_active ( bContext C)

Definition at line 329 of file screen_ops.c.

References C, ed_spacetype_test(), and SPACE_IMAGE.

Referenced by RENDER_OT_view_cancel().

◆ ED_operator_info_active()

bool ED_operator_info_active ( bContext C)

◆ ED_operator_mask()

bool ED_operator_mask ( bContext C)

◆ ED_operator_nla_active()

bool ED_operator_nla_active ( bContext C)

◆ ED_operator_node_active()

bool ED_operator_node_active ( bContext C)

◆ ED_operator_node_editable()

bool ED_operator_node_editable ( bContext C)

◆ ED_operator_object_active()

bool ED_operator_object_active ( bContext C)

◆ ED_operator_object_active_editable()

bool ED_operator_object_active_editable ( bContext C)

◆ ED_operator_object_active_editable_ex()

bool ED_operator_object_active_editable_ex ( bContext UNUSEDC,
const Object ob 
)

◆ ED_operator_object_active_editable_font()

bool ED_operator_object_active_editable_font ( bContext C)

◆ ED_operator_object_active_editable_mesh()

bool ED_operator_object_active_editable_mesh ( bContext C)

◆ ED_operator_object_active_local_editable()

bool ED_operator_object_active_local_editable ( bContext C)

◆ ED_operator_object_active_local_editable_ex()

bool ED_operator_object_active_local_editable_ex ( bContext C,
const Object ob 
)

Object must be editable and fully local (i.e. not an override).

Definition at line 373 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().

◆ ED_operator_objectmode()

bool ED_operator_objectmode ( bContext C)

◆ ED_operator_outliner_active()

bool ED_operator_outliner_active ( bContext C)

◆ ED_operator_outliner_active_no_editobject()

bool ED_operator_outliner_active_no_editobject ( bContext C)

◆ ED_operator_posemode()

bool ED_operator_posemode ( bContext C)

◆ ED_operator_posemode_context()

bool ED_operator_posemode_context ( bContext C)

◆ ED_operator_posemode_exclusive()

bool ED_operator_posemode_exclusive ( bContext C)

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 can be left for pose mode only. (not weight paint mode)

Definition at line 453 of file screen_ops.c.

References BKE_object_pose_armature_get(), C, CTX_data_active_object(), Object::mode, NULL, and OB_MODE_EDIT.

Referenced by POSE_OT_bone_layers(), POSE_OT_constraint_add(), POSE_OT_constraint_add_with_targets(), POSE_OT_constraints_clear(), POSE_OT_constraints_copy(), POSE_OT_ik_add(), POSE_OT_ik_clear(), POSE_OT_paths_calculate(), POSE_OT_paths_clear(), POSE_OT_paths_range_update(), and pose_update_paths_poll().

◆ ED_operator_posemode_local()

bool ED_operator_posemode_local ( bContext C)

◆ ED_operator_region_view3d_active()

bool ED_operator_region_view3d_active ( bContext C)

◆ ED_operator_regionactive()

bool ED_operator_regionactive ( bContext C)

◆ ED_operator_scene()

bool ED_operator_scene ( bContext C)

Definition at line 183 of file screen_ops.c.

References C, CTX_data_scene(), and scene.

Referenced by VIEW3D_OT_copybuffer().

◆ ED_operator_scene_editable()

bool ED_operator_scene_editable ( bContext C)

◆ ED_operator_screen_mainwinactive()

bool ED_operator_screen_mainwinactive ( bContext C)

Definition at line 168 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().

◆ ED_operator_screenactive()

bool ED_operator_screenactive ( bContext C)

◆ ED_operator_screenactive_nobackground()

bool ED_operator_screenactive_nobackground ( bContext C)

◆ ED_operator_screenactive_norender()

static bool ED_operator_screenactive_norender ( bContext C)
static

◆ ED_operator_sequencer_active()

bool ED_operator_sequencer_active ( bContext C)

◆ ED_operator_sequencer_active_editable()

bool ED_operator_sequencer_active_editable ( bContext C)

◆ ED_operator_uvedit()

bool ED_operator_uvedit ( bContext C)

◆ ED_operator_uvedit_space_image()

bool ED_operator_uvedit_space_image ( bContext C)

◆ ED_operator_uvmap()

bool ED_operator_uvmap ( bContext C)

◆ ED_operator_view3d_active()

bool ED_operator_view3d_active ( bContext C)

◆ ED_operatortypes_screen()

void ED_operatortypes_screen ( void  )

◆ ED_region_blend_alpha()

float ED_region_blend_alpha ( ARegion region)

◆ ED_region_visibility_change_update_animated()

void ED_region_visibility_change_update_animated ( bContext C,
ScrArea area,
ARegion region 
)

◆ ED_screen_animation_no_scrub()

bScreen* ED_screen_animation_no_scrub ( const wmWindowManager wm)

◆ ED_screen_animation_play()

int ED_screen_animation_play ( bContext C,
int  sync,
int  mode 
)

◆ ED_screen_animation_playing()

bScreen* ED_screen_animation_playing ( const wmWindowManager wm)

◆ ED_screens_footer_tools_menu_create()

void ED_screens_footer_tools_menu_create ( bContext C,
uiLayout layout,
void *  UNUSEDarg 
)

◆ ED_screens_header_tools_menu_create()

void ED_screens_header_tools_menu_create ( bContext C,
uiLayout layout,
void *  UNUSEDarg 
)

◆ ED_screens_navigation_bar_tools_menu_create()

void ED_screens_navigation_bar_tools_menu_create ( bContext C,
uiLayout layout,
void *  UNUSEDarg 
)

◆ ed_screens_statusbar_menu_create()

static void ed_screens_statusbar_menu_create ( uiLayout layout,
void *  UNUSEDarg 
)
static

◆ ed_spacetype_test()

static bool ed_spacetype_test ( bContext C,
int  type 
)
static

◆ frame_jump_exec()

static int frame_jump_exec ( bContext C,
wmOperator op 
)
static

◆ frame_offset_exec()

static int frame_offset_exec ( bContext C,
wmOperator op 
)
static

◆ fullscreen_back_exec()

static int fullscreen_back_exec ( bContext C,
wmOperator op 
)
static

◆ fullscreen_click_rcti_init()

static void fullscreen_click_rcti_init ( rcti rect,
const short   UNUSEDx1,
const short   UNUSEDy1,
const short  x2,
const short  y2 
)
static

Definition at line 721 of file screen_ops.c.

References BLI_rcti_init(), and x2.

Referenced by area_actionzone_refresh_xy().

◆ header_toggle_menus_exec()

static int header_toggle_menus_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ info_log_show_exec()

static int info_log_show_exec ( bContext C,
wmOperator op 
)
static

◆ is_split_edge()

static bool is_split_edge ( const int  alignment,
const AZEdge  edge 
)
static

◆ keyframe_jump_exec()

static int keyframe_jump_exec ( bContext C,
wmOperator op 
)
static

◆ keymap_modal_set()

static void keymap_modal_set ( wmKeyConfig keyconf)
static

◆ marker_jump_exec()

static int marker_jump_exec ( bContext C,
wmOperator op 
)
static

◆ match_region_with_redraws()

static bool match_region_with_redraws ( const ScrArea area,
eRegionType  regiontype,
eScreen_Redraws_Flag  redraws,
bool  from_anim_edit 
)
static

◆ redo_last_invoke()

static int redo_last_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent UNUSEDevent 
)
static

Definition at line 3732 of file screen_ops.c.

References C, OPERATOR_CANCELLED, WM_operator_last_redo(), and WM_operator_redo_popup().

Referenced by SCREEN_OT_redo_last().

◆ region_blend_end()

static void region_blend_end ( bContext C,
ARegion region,
const bool  is_running 
)
static

◆ region_blend_invoke()

static int region_blend_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent event 
)
static

◆ region_flip_exec()

static int region_flip_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ region_flip_poll()

static bool region_flip_poll ( bContext C)
static

◆ region_quadview_exec()

static int region_quadview_exec ( bContext C,
wmOperator op 
)
static

◆ region_quadview_init_rv3d()

static void region_quadview_init_rv3d ( ScrArea area,
ARegion region,
const char  viewlock,
const char  view,
const char  persp 
)
static

◆ region_scale_cancel()

static void region_scale_cancel ( bContext UNUSEDC,
wmOperator op 
)
static

Definition at line 2739 of file screen_ops.c.

References region_scale_exit().

Referenced by SCREEN_OT_region_scale().

◆ region_scale_exit()

static void region_scale_exit ( wmOperator op)
static

Definition at line 2514 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().

◆ region_scale_invoke()

static int region_scale_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ region_scale_modal()

static int region_scale_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ region_scale_toggle_hidden()

static void region_scale_toggle_hidden ( bContext C,
RegionMoveData rmd 
)
static

◆ region_scale_validate_size()

static void region_scale_validate_size ( RegionMoveData rmd)
static

◆ region_toggle_exec()

static int region_toggle_exec ( bContext C,
wmOperator op 
)
static

◆ region_toggle_poll()

static bool region_toggle_poll ( bContext C)
static

◆ repeat_history_exec()

static int repeat_history_exec ( bContext C,
wmOperator op 
)
static

◆ repeat_history_invoke()

static int repeat_history_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

◆ repeat_history_poll()

static bool repeat_history_poll ( bContext C)
static

◆ repeat_last_exec()

static int repeat_last_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ screen_actionzone_area()

static ScrArea* screen_actionzone_area ( bScreen screen,
const AZone az 
)
static

Definition at line 933 of file screen_ops.c.

References blender::compositor::area(), bScreen::areabase, LISTBASE_FOREACH, and NULL.

Referenced by actionzone_invoke().

◆ screen_actionzone_find_xy()

static AZone* screen_actionzone_find_xy ( bScreen screen,
const int  xy[2] 
)
static

◆ screen_active_editable()

static bool screen_active_editable ( bContext C)
static

◆ screen_animation_cancel_exec()

static int screen_animation_cancel_exec ( bContext C,
wmOperator op 
)
static

◆ screen_animation_play_exec()

static int screen_animation_play_exec ( bContext C,
wmOperator op 
)
static

◆ screen_animation_region_supports_time_follow()

static bool screen_animation_region_supports_time_follow ( eSpace_Type  spacetype,
eRegionType  regiontype 
)
static

◆ screen_animation_region_tag_redraw()

static void screen_animation_region_tag_redraw ( bContext C,
ScrArea area,
ARegion region,
const Scene scene,
eScreen_Redraws_Flag  redraws 
)
static

◆ screen_animation_step_invoke()

static int screen_animation_step_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent event 
)
static

◆ screen_area_edge_from_cursor()

static ScrEdge* screen_area_edge_from_cursor ( const bContext C,
const int  cursor[2],
ScrArea **  r_sa1,
ScrArea **  r_sa2 
)
static

◆ screen_area_options_invoke()

static int screen_area_options_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ screen_context_menu_invoke()

static int screen_context_menu_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent UNUSEDevent 
)
static

◆ screen_delete_exec()

static int screen_delete_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ screen_maximize_area_exec()

static int screen_maximize_area_exec ( bContext C,
wmOperator op 
)
static

◆ screen_maximize_area_poll()

static bool screen_maximize_area_poll ( bContext C)
static

◆ screen_new_exec()

static int screen_new_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ SCREEN_OT_actionzone()

static void SCREEN_OT_actionzone ( wmOperatorType ot)
static

◆ SCREEN_OT_animation_cancel()

static void SCREEN_OT_animation_cancel ( wmOperatorType ot)
static

◆ SCREEN_OT_animation_play()

static void SCREEN_OT_animation_play ( wmOperatorType ot)
static

◆ SCREEN_OT_animation_step()

static void SCREEN_OT_animation_step ( wmOperatorType ot)
static

◆ SCREEN_OT_area_dupli()

static void SCREEN_OT_area_dupli ( wmOperatorType ot)
static

◆ SCREEN_OT_area_join()

static void SCREEN_OT_area_join ( wmOperatorType ot)
static

◆ SCREEN_OT_area_move()

static void SCREEN_OT_area_move ( wmOperatorType ot)
static

◆ SCREEN_OT_area_options()

static void SCREEN_OT_area_options ( wmOperatorType ot)
static

◆ SCREEN_OT_area_split()

static void SCREEN_OT_area_split ( wmOperatorType ot)
static

◆ SCREEN_OT_area_swap()

static void SCREEN_OT_area_swap ( wmOperatorType ot)
static

◆ SCREEN_OT_back_to_previous()

static void SCREEN_OT_back_to_previous ( struct wmOperatorType ot)
static

◆ SCREEN_OT_delete()

static void SCREEN_OT_delete ( wmOperatorType ot)
static

◆ SCREEN_OT_drivers_editor_show()

static void SCREEN_OT_drivers_editor_show ( struct wmOperatorType ot)
static

◆ SCREEN_OT_frame_jump()

static void SCREEN_OT_frame_jump ( wmOperatorType ot)
static

◆ SCREEN_OT_frame_offset()

static void SCREEN_OT_frame_offset ( wmOperatorType ot)
static

◆ SCREEN_OT_header_toggle_menus()

static void SCREEN_OT_header_toggle_menus ( wmOperatorType ot)
static

◆ SCREEN_OT_info_log_show()

static void SCREEN_OT_info_log_show ( struct wmOperatorType ot)
static

◆ SCREEN_OT_keyframe_jump()

static void SCREEN_OT_keyframe_jump ( wmOperatorType ot)
static

◆ SCREEN_OT_marker_jump()

static void SCREEN_OT_marker_jump ( wmOperatorType ot)
static

◆ SCREEN_OT_new()

static void SCREEN_OT_new ( wmOperatorType ot)
static

◆ SCREEN_OT_redo_last()

static void SCREEN_OT_redo_last ( wmOperatorType ot)
static

◆ SCREEN_OT_region_blend()

static void SCREEN_OT_region_blend ( wmOperatorType ot)
static

◆ SCREEN_OT_region_context_menu()

static void SCREEN_OT_region_context_menu ( wmOperatorType ot)
static

◆ SCREEN_OT_region_flip()

static void SCREEN_OT_region_flip ( wmOperatorType ot)
static

◆ SCREEN_OT_region_quadview()

static void SCREEN_OT_region_quadview ( wmOperatorType ot)
static

◆ SCREEN_OT_region_scale()

static void SCREEN_OT_region_scale ( wmOperatorType ot)
static

◆ SCREEN_OT_region_toggle()

static void SCREEN_OT_region_toggle ( wmOperatorType ot)
static

◆ SCREEN_OT_repeat_history()

static void SCREEN_OT_repeat_history ( wmOperatorType ot)
static

◆ SCREEN_OT_repeat_last()

static void SCREEN_OT_repeat_last ( wmOperatorType ot)
static

◆ SCREEN_OT_screen_full_area()

static void SCREEN_OT_screen_full_area ( wmOperatorType ot)
static

◆ SCREEN_OT_screen_set()

static void SCREEN_OT_screen_set ( wmOperatorType ot)
static

◆ SCREEN_OT_space_context_cycle()

static void SCREEN_OT_space_context_cycle ( wmOperatorType ot)
static

◆ SCREEN_OT_space_type_set_or_cycle()

static void SCREEN_OT_space_type_set_or_cycle ( wmOperatorType ot)
static

◆ SCREEN_OT_spacedata_cleanup()

static void SCREEN_OT_spacedata_cleanup ( wmOperatorType ot)
static

◆ SCREEN_OT_userpref_show()

static void SCREEN_OT_userpref_show ( struct wmOperatorType ot)
static

◆ SCREEN_OT_workspace_cycle()

static void SCREEN_OT_workspace_cycle ( wmOperatorType ot)
static

◆ screen_set_exec()

static int screen_set_exec ( bContext C,
wmOperator op 
)
static

◆ space_context_cycle_invoke()

static int space_context_cycle_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

◆ space_context_cycle_poll()

static bool space_context_cycle_poll ( bContext C)
static

◆ space_type_set_or_cycle_exec()

static int space_type_set_or_cycle_exec ( bContext C,
wmOperator op 
)
static

◆ space_type_set_or_cycle_poll()

static bool space_type_set_or_cycle_poll ( bContext C)
static

◆ space_workspace_cycle_invoke()

static int space_workspace_cycle_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

◆ spacedata_cleanup_exec()

static int spacedata_cleanup_exec ( bContext C,
wmOperator op 
)
static

◆ userpref_show_exec()

static int userpref_show_exec ( bContext C,
wmOperator op 
)
static

◆ view3d_localview_update_rv3d()

static void view3d_localview_update_rv3d ( struct RegionView3D rv3d)
static

Variable Documentation

◆ prop_direction_items

const EnumPropertyItem prop_direction_items[]
static
Initial value:
= {
{'h', "HORIZONTAL", 0, "Horizontal", ""},
{'v', "VERTICAL", 0, "Vertical", ""},
{0, NULL, 0, NULL, NULL},
}

Definition at line 2403 of file screen_ops.c.

Referenced by rna_def_gpencil_sculpt(), rna_def_modifier_displace(), and SCREEN_OT_area_split().

◆ space_context_cycle_direction

const EnumPropertyItem space_context_cycle_direction[]
static
Initial value:
= {
{SPACE_CONTEXT_CYCLE_PREV, "PREV", 0, "Previous", ""},
{SPACE_CONTEXT_CYCLE_NEXT, "NEXT", 0, "Next", ""},
{0, NULL, 0, NULL, NULL},
}
@ SPACE_CONTEXT_CYCLE_NEXT
Definition: ED_screen.h:455
@ SPACE_CONTEXT_CYCLE_PREV
Definition: ED_screen.h:454

Definition at line 5322 of file screen_ops.c.

Referenced by SCREEN_OT_space_context_cycle(), and SCREEN_OT_workspace_cycle().