Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions | Variables

screen_ops.c File Reference

#include <math.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BLI_blenlib.h"
#include "BLI_editVert.h"
#include "BLI_dlrbTree.h"
#include "BLI_utildefines.h"
#include "DNA_armature_types.h"
#include "DNA_lattice_types.h"
#include "DNA_object_types.h"
#include "DNA_curve_types.h"
#include "DNA_scene_types.h"
#include "DNA_meta_types.h"
#include "BKE_context.h"
#include "BKE_customdata.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_mesh.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "BKE_screen.h"
#include "BKE_sound.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_util.h"
#include "ED_image.h"
#include "ED_screen.h"
#include "ED_object.h"
#include "ED_armature.h"
#include "ED_screen_types.h"
#include "ED_keyframes_draw.h"
#include "ED_view3d.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "wm_window.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

Defines

#define KM_MODAL_CANCEL   1
#define KM_MODAL_APPLY   2
#define KM_MODAL_STEP10   3
#define KM_MODAL_STEP10_OFF   4
#define SPLIT_STARTED   1
#define SPLIT_PROGRESS   2

Typedefs

typedef struct sActionzoneData sActionzoneData
typedef struct sAreaSwapData sAreaSwapData
typedef struct sAreaMoveData sAreaMoveData
typedef struct sAreaSplitData sAreaSplitData
typedef struct RegionMoveData RegionMoveData
typedef struct sAreaJoinData sAreaJoinData

Functions

int ED_operator_regionactive (bContext *C)
int ED_operator_areaactive (bContext *C)
int ED_operator_screenactive (bContext *C)
static int ED_operator_screenactive_norender (bContext *C)
static int screen_active_editable (bContext *C)
int ED_operator_screen_mainwinactive (bContext *C)
int ED_operator_scene_editable (bContext *C)
int ED_operator_objectmode (bContext *C)
static int ed_spacetype_test (bContext *C, int type)
int ED_operator_view3d_active (bContext *C)
int ED_operator_region_view3d_active (bContext *C)
int ED_operator_animview_active (bContext *C)
int ED_operator_timeline_active (bContext *C)
int ED_operator_outliner_active (bContext *C)
int ED_operator_outliner_active_no_editobject (bContext *C)
int ED_operator_file_active (bContext *C)
int ED_operator_action_active (bContext *C)
int ED_operator_buttons_active (bContext *C)
int ED_operator_node_active (bContext *C)
int ED_operator_graphedit_active (bContext *C)
int ED_operator_sequencer_active (bContext *C)
int ED_operator_image_active (bContext *C)
int ED_operator_nla_active (bContext *C)
int ED_operator_logic_active (bContext *C)
int ED_operator_info_active (bContext *C)
int ED_operator_console_active (bContext *C)
int ED_operator_object_active (bContext *C)
int ED_operator_object_active_editable (bContext *C)
int ED_operator_object_active_editable_mesh (bContext *C)
int ED_operator_object_active_editable_font (bContext *C)
int ED_operator_editmesh (bContext *C)
int ED_operator_editmesh_view3d (bContext *C)
int ED_operator_editmesh_region_view3d (bContext *C)
int ED_operator_editarmature (bContext *C)
int ED_operator_posemode (bContext *C)
int ED_operator_uvedit (bContext *C)
int ED_operator_uvmap (bContext *C)
int ED_operator_editsurfcurve (bContext *C)
int ED_operator_editsurfcurve_region_view3d (bContext *C)
int ED_operator_editcurve (bContext *C)
int ED_operator_editcurve_3d (bContext *C)
int ED_operator_editsurf (bContext *C)
int ED_operator_editfont (bContext *C)
int ED_operator_editlattice (bContext *C)
int ED_operator_editmball (bContext *C)
static ScrAreascreen_areahascursor (bScreen *scr, int x, int y)
static int actionzone_area_poll (bContext *C)
AZoneis_in_area_actionzone (ScrArea *sa, int x, int y)
static void actionzone_exit (wmOperator *op)
static void actionzone_apply (bContext *C, wmOperator *op, int type)
static int actionzone_invoke (bContext *C, wmOperator *op, wmEvent *event)
static int actionzone_modal (bContext *C, wmOperator *op, wmEvent *event)
static int actionzone_cancel (bContext *UNUSED(C), wmOperator *op)
static void SCREEN_OT_actionzone (wmOperatorType *ot)
static int area_swap_init (wmOperator *op, wmEvent *event)
static void area_swap_exit (bContext *C, wmOperator *op)
static int area_swap_cancel (bContext *C, wmOperator *op)
static int area_swap_invoke (bContext *C, wmOperator *op, wmEvent *event)
static int area_swap_modal (bContext *C, wmOperator *op, wmEvent *event)
static void SCREEN_OT_area_swap (wmOperatorType *ot)
static int area_dupli_invoke (bContext *C, wmOperator *op, wmEvent *event)
static void SCREEN_OT_area_dupli (wmOperatorType *ot)
static void area_move_set_limits (bScreen *sc, int dir, int *bigger, int *smaller)
static int area_move_init (bContext *C, wmOperator *op)
static void area_move_apply_do (bContext *C, int origval, int delta, int dir, int bigger, int smaller)
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, wmEvent *event)
static int area_move_cancel (bContext *C, wmOperator *op)
static int area_move_modal (bContext *C, wmOperator *op, wmEvent *event)
static void SCREEN_OT_area_move (wmOperatorType *ot)
static int area_split_menu_init (bContext *C, wmOperator *op)
static int area_split_init (bContext *C, wmOperator *op)
static ScrEdgearea_findsharededge (bScreen *screen, ScrArea *sa, ScrArea *sb)
static int area_split_apply (bContext *C, wmOperator *op)
static void area_split_exit (bContext *C, wmOperator *op)
static int area_split_invoke (bContext *C, wmOperator *op, wmEvent *event)
static int area_split_exec (bContext *C, wmOperator *op)
static int area_split_cancel (bContext *C, wmOperator *op)
static int area_split_modal (bContext *C, wmOperator *op, wmEvent *event)
static void SCREEN_OT_area_split (wmOperatorType *ot)
static int area_max_regionsize (ScrArea *sa, ARegion *scalear, AZEdge edge)
static int region_scale_invoke (bContext *C, wmOperator *op, wmEvent *event)
static int region_scale_get_maxsize (RegionMoveData *rmd)
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, wmEvent *event)
static int region_scale_cancel (bContext *UNUSED(C), wmOperator *op)
static void SCREEN_OT_region_scale (wmOperatorType *ot)
static int frame_offset_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_frame_offset (wmOperatorType *ot)
static int frame_jump_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_frame_jump (wmOperatorType *ot)
static int keyframe_jump_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_keyframe_jump (wmOperatorType *ot)
static int screen_set_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_screen_set (wmOperatorType *ot)
static int screen_full_area_exec (bContext *C, wmOperator *UNUSED(op))
static void SCREEN_OT_screen_full_area (wmOperatorType *ot)
static int area_join_init (bContext *C, wmOperator *op)
static int 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, wmEvent *event)
static int area_join_cancel (bContext *C, wmOperator *op)
static int area_join_modal (bContext *C, wmOperator *op, wmEvent *event)
static void SCREEN_OT_area_join (wmOperatorType *ot)
static int screen_area_options_invoke (bContext *C, wmOperator *op, wmEvent *event)
static void SCREEN_OT_area_options (wmOperatorType *ot)
static int spacedata_cleanup (bContext *C, wmOperator *op)
static void SCREEN_OT_spacedata_cleanup (wmOperatorType *ot)
static int repeat_last_exec (bContext *C, wmOperator *UNUSED(op))
static void SCREEN_OT_repeat_last (wmOperatorType *ot)
static int repeat_history_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static int repeat_history_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_repeat_history (wmOperatorType *ot)
static int redo_last_invoke (bContext *C, wmOperator *UNUSED(op), wmEvent *UNUSED(event))
static void SCREEN_OT_redo_last (wmOperatorType *ot)
static int region_quadview_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_region_quadview (wmOperatorType *ot)
static int region_flip_exec (bContext *C, wmOperator *UNUSED(op))
static void SCREEN_OT_region_flip (wmOperatorType *ot)
static int header_flip_exec (bContext *C, wmOperator *UNUSED(op))
static void SCREEN_OT_header_flip (wmOperatorType *ot)
static int header_toolbox_invoke (bContext *C, wmOperator *UNUSED(op), wmEvent *UNUSED(event))
static void SCREEN_OT_header_toolbox (wmOperatorType *ot)
static int match_area_with_refresh (int spacetype, int refresh)
static int match_region_with_redraws (int spacetype, int regiontype, int redraws)
static int screen_animation_step (bContext *C, wmOperator *UNUSED(op), wmEvent *event)
static void SCREEN_OT_animation_step (wmOperatorType *ot)
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)
static int screen_animation_cancel_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_animation_cancel (wmOperatorType *ot)
static int fullscreen_back_exec (bContext *C, wmOperator *op)
static void SCREEN_OT_back_to_previous (struct wmOperatorType *ot)
static int userpref_show_invoke (bContext *C, wmOperator *UNUSED(op), wmEvent *event)
static void SCREEN_OT_userpref_show (struct wmOperatorType *ot)
static int screen_new_exec (bContext *C, wmOperator *UNUSED(op))
static void SCREEN_OT_new (wmOperatorType *ot)
static int screen_delete_exec (bContext *C, wmOperator *UNUSED(op))
static void SCREEN_OT_delete (wmOperatorType *ot)
static int scene_new_exec (bContext *C, wmOperator *op)
static void SCENE_OT_new (wmOperatorType *ot)
static int scene_delete_exec (bContext *C, wmOperator *UNUSED(op))
static void SCENE_OT_delete (wmOperatorType *ot)
void ED_operatortypes_screen (void)
static void keymap_modal_set (wmKeyConfig *keyconf)
static int open_file_drop_poll (bContext *UNUSED(C), wmDrag *drag, wmEvent *UNUSED(event))
static void open_file_drop_copy (wmDrag *drag, wmDropBox *drop)
void ED_keymap_screen (wmKeyConfig *keyconf)

Variables

static EnumPropertyItem prop_direction_items []

Detailed Description

Definition in file screen_ops.c.


Define Documentation

#define KM_MODAL_APPLY   2

Definition at line 82 of file screen_ops.c.

Referenced by area_move_modal(), and keymap_modal_set().

#define KM_MODAL_CANCEL   1

Definition at line 81 of file screen_ops.c.

Referenced by area_move_modal(), and keymap_modal_set().

#define KM_MODAL_STEP10   3

Definition at line 83 of file screen_ops.c.

Referenced by area_move_modal(), and keymap_modal_set().

#define KM_MODAL_STEP10_OFF   4

Definition at line 84 of file screen_ops.c.

Referenced by area_move_modal(), and keymap_modal_set().

#define SPLIT_PROGRESS   2

Definition at line 1145 of file screen_ops.c.

#define SPLIT_STARTED   1

Definition at line 1144 of file screen_ops.c.


Typedef Documentation

typedef struct sAreaJoinData sAreaJoinData
typedef struct sAreaMoveData sAreaMoveData
typedef struct sAreaSwapData sAreaSwapData

Function Documentation

static void actionzone_apply ( bContext C,
wmOperator op,
int  type 
) [static]
static int actionzone_area_poll ( bContext C) [static]
static int actionzone_cancel ( bContext UNUSEDC,
wmOperator op 
) [static]

Definition at line 640 of file screen_ops.c.

References actionzone_exit(), and OPERATOR_CANCELLED.

Referenced by SCREEN_OT_actionzone().

static void actionzone_exit ( wmOperator op) [static]
static int actionzone_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int actionzone_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int area_dupli_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static ScrEdge* area_findsharededge ( bScreen screen,
ScrArea sa,
ScrArea sb 
) [static]

Definition at line 1215 of file screen_ops.c.

References NULL, screen_findedge(), ScrArea::v1, ScrArea::v2, ScrArea::v3, and ScrArea::v4.

Referenced by area_split_apply().

static int area_join_apply ( bContext C,
wmOperator op 
) [static]
static int area_join_cancel ( bContext C,
wmOperator op 
) [static]
static int area_join_exec ( bContext C,
wmOperator op 
) [static]
static void area_join_exit ( bContext C,
wmOperator op 
) [static]
static int area_join_init ( bContext C,
wmOperator op 
) [static]
static int area_join_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int area_join_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int area_max_regionsize ( ScrArea sa,
ARegion scalear,
AZEdge  edge 
) [static]
static void area_move_apply ( bContext C,
wmOperator op 
) [static]
static void area_move_apply_do ( bContext C,
int  origval,
int  delta,
int  dir,
int  bigger,
int  smaller 
) [static]
static int area_move_cancel ( bContext C,
wmOperator op 
) [static]
static int area_move_exec ( bContext C,
wmOperator op 
) [static]
static void area_move_exit ( bContext C,
wmOperator op 
) [static]
static int area_move_init ( bContext C,
wmOperator op 
) [static]
static int area_move_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int area_move_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static void area_move_set_limits ( bScreen sc,
int  dir,
int *  bigger,
int *  smaller 
) [static]
static int area_split_apply ( bContext C,
wmOperator op 
) [static]
static int area_split_cancel ( bContext C,
wmOperator op 
) [static]
static int area_split_exec ( bContext C,
wmOperator op 
) [static]
static void area_split_exit ( bContext C,
wmOperator op 
) [static]
static int area_split_init ( bContext C,
wmOperator op 
) [static]
static int area_split_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int area_split_menu_init ( bContext C,
wmOperator op 
) [static]
static int area_split_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int area_swap_cancel ( bContext C,
wmOperator op 
) [static]

Definition at line 716 of file screen_ops.c.

References area_swap_exit(), and OPERATOR_CANCELLED.

Referenced by area_swap_modal(), and SCREEN_OT_area_swap().

static void area_swap_exit ( bContext C,
wmOperator op 
) [static]
static int area_swap_init ( wmOperator op,
wmEvent event 
) [static]
static int area_swap_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int area_swap_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
void ED_keymap_screen ( wmKeyConfig keyconf)
int ED_operator_action_active ( bContext C)
int ED_operator_animview_active ( bContext C)
int ED_operator_areaactive ( bContext C)
int ED_operator_buttons_active ( bContext C)

Definition at line 236 of file screen_ops.c.

References ed_spacetype_test(), and SPACE_BUTS.

Referenced by BUTTONS_OT_toolbox().

int ED_operator_console_active ( bContext C)
int ED_operator_editarmature ( bContext C)
int ED_operator_editcurve ( bContext C)
int ED_operator_editcurve_3d ( bContext C)
int ED_operator_editfont ( bContext C)
int ED_operator_editlattice ( bContext C)
int ED_operator_editmball ( bContext C)
int ED_operator_editmesh ( bContext C)

Definition at line 312 of file screen_ops.c.

References CTX_data_edit_object(), Object::data, NULL, OB_MESH, and Object::type.

Referenced by ED_keymap_mesh(), ED_operator_editmesh_region_view3d(), ED_operator_editmesh_view3d(), EM_view3d_poll(), hook_op_edit_poll(), MESH_OT_beautify_fill(), MESH_OT_blend_from_shape(), MESH_OT_colors_mirror(), MESH_OT_colors_rotate(), MESH_OT_delete(), MESH_OT_dupli_extrude_cursor(), MESH_OT_duplicate(), MESH_OT_edge_face_add(), MESH_OT_edge_flip(), MESH_OT_edge_rotate(), MESH_OT_edges_select_sharp(), MESH_OT_extrude(), MESH_OT_extrude_repeat(), MESH_OT_faces_select_linked_flat(), MESH_OT_faces_shade_flat(), MESH_OT_faces_shade_smooth(), MESH_OT_fgon_clear(), MESH_OT_fgon_make(), MESH_OT_fill(), MESH_OT_flip_normals(), MESH_OT_hide(), MESH_OT_loop_multi_select(), MESH_OT_loop_to_region(), MESH_OT_mark_seam(), MESH_OT_mark_sharp(), MESH_OT_merge(), MESH_OT_navmesh_face_add(), MESH_OT_navmesh_face_copy(), MESH_OT_noise(), MESH_OT_normals_make_consistent(), MESH_OT_quads_convert_to_tris(), MESH_OT_region_to_loop(), MESH_OT_remove_doubles(), MESH_OT_reveal(), MESH_OT_select_all(), MESH_OT_select_axis(), MESH_OT_select_by_number_vertices(), MESH_OT_select_less(), MESH_OT_select_linked(), MESH_OT_select_mirror(), MESH_OT_select_more(), MESH_OT_select_non_manifold(), MESH_OT_select_nth(), MESH_OT_select_random(), MESH_OT_select_similar(), MESH_OT_select_vertex_path(), MESH_OT_separate(), MESH_OT_shape_propagate_to_all(), MESH_OT_solidify(), MESH_OT_sort_faces(), MESH_OT_split(), MESH_OT_subdivide(), MESH_OT_tris_convert_to_quads(), MESH_OT_uvs_mirror(), MESH_OT_uvs_rotate(), MESH_OT_vertices_randomize(), MESH_OT_vertices_smooth(), shade_poll(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_shrink_fatten(), and vertex_parent_set_poll().

int ED_operator_editmesh_region_view3d ( bContext C)
int ED_operator_editmesh_view3d ( bContext C)

Definition at line 320 of file screen_ops.c.

References ED_operator_editmesh(), and ED_operator_view3d_active().

int ED_operator_editsurf ( bContext C)

Definition at line 420 of file screen_ops.c.

References CTX_data_edit_object(), Object::data, NULL, OB_SURF, and Object::type.

Referenced by CURVE_OT_select_row(), and CURVE_OT_spin().

int ED_operator_editsurfcurve ( bContext C)
int ED_operator_editsurfcurve_region_view3d ( bContext C)
int ED_operator_file_active ( bContext C)
int ED_operator_graphedit_active ( bContext C)
int ED_operator_image_active ( bContext C)
int ED_operator_info_active ( bContext C)
int ED_operator_logic_active ( bContext C)

Definition at line 272 of file screen_ops.c.

References ed_spacetype_test(), and SPACE_LOGIC.

Referenced by LOGIC_OT_links_cut(), and LOGIC_OT_properties().

int ED_operator_nla_active ( bContext C)
int ED_operator_node_active ( bContext C)
int ED_operator_object_active ( bContext C)
int ED_operator_object_active_editable ( bContext C)
int ED_operator_object_active_editable_font ( bContext C)
int ED_operator_object_active_editable_mesh ( bContext C)
int ED_operator_objectmode ( bContext C)
int ED_operator_outliner_active ( bContext C)
int ED_operator_outliner_active_no_editobject ( bContext C)
int ED_operator_posemode ( bContext C)
int ED_operator_region_view3d_active ( bContext C)
int ED_operator_regionactive ( bContext C)

Definition at line 88 of file screen_ops.c.

References CTX_wm_region(), CTX_wm_screen(), CTX_wm_window(), and NULL.

Referenced by gpencil_draw_poll().

int ED_operator_scene_editable ( bContext C)
int ED_operator_screen_mainwinactive ( bContext C)

Definition at line 133 of file screen_ops.c.

References CTX_wm_screen(), CTX_wm_window(), and NULL.

Referenced by SCREEN_OT_area_move(), and SCREEN_OT_area_options().

int ED_operator_screenactive ( bContext C)
static int ED_operator_screenactive_norender ( bContext C) [static]
int ED_operator_sequencer_active ( bContext C)
int ED_operator_timeline_active ( bContext C)

Definition at line 203 of file screen_ops.c.

References ed_spacetype_test(), and SPACE_TIME.

Referenced by TIME_OT_end_frame_set(), TIME_OT_start_frame_set(), and TIME_OT_view_all().

int ED_operator_uvedit ( bContext C)
int ED_operator_uvmap ( bContext C)
int ED_operator_view3d_active ( bContext C)
void ED_operatortypes_screen ( void  )
int ED_screen_animation_play ( bContext C,
int  sync,
int  mode 
)
static int ed_spacetype_test ( bContext C,
int  type 
) [static]
static int frame_jump_exec ( bContext C,
wmOperator op 
) [static]
static int frame_offset_exec ( bContext C,
wmOperator op 
) [static]
static int fullscreen_back_exec ( bContext C,
wmOperator op 
) [static]
static int header_flip_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int header_toolbox_invoke ( bContext C,
wmOperator UNUSEDop,
wmEvent UNUSEDevent 
) [static]
AZone* is_in_area_actionzone ( ScrArea sa,
int  x,
int  y 
) [read]
static int keyframe_jump_exec ( bContext C,
wmOperator op 
) [static]
static void keymap_modal_set ( wmKeyConfig keyconf) [static]
static int match_area_with_refresh ( int  spacetype,
int  refresh 
) [static]

Definition at line 2811 of file screen_ops.c.

References SPACE_TIME.

Referenced by screen_animation_step().

static int match_region_with_redraws ( int  spacetype,
int  regiontype,
int  redraws 
) [static]
static void open_file_drop_copy ( wmDrag drag,
wmDropBox drop 
) [static]
static int open_file_drop_poll ( bContext UNUSEDC,
wmDrag drag,
wmEvent UNUSEDevent 
) [static]

Definition at line 3473 of file screen_ops.c.

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

Referenced by ED_keymap_screen().

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

Definition at line 2548 of file screen_ops.c.

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

Referenced by SCREEN_OT_redo_last().

static int region_flip_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int region_quadview_exec ( bContext C,
wmOperator op 
) [static]
static int region_scale_cancel ( bContext UNUSEDC,
wmOperator op 
) [static]

Definition at line 1788 of file screen_ops.c.

References wmOperator::customdata, MEM_freeN(), NULL, and OPERATOR_CANCELLED.

Referenced by SCREEN_OT_region_scale().

static int region_scale_get_maxsize ( RegionMoveData rmd) [static]
static int region_scale_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int region_scale_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static void region_scale_toggle_hidden ( bContext C,
RegionMoveData rmd 
) [static]
static void region_scale_validate_size ( RegionMoveData rmd) [static]
static int repeat_history_exec ( bContext C,
wmOperator op 
) [static]
static int repeat_history_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]
static int repeat_last_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int scene_delete_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int scene_new_exec ( bContext C,
wmOperator op 
) [static]
static void SCENE_OT_delete ( wmOperatorType ot) [static]
static void SCENE_OT_new ( wmOperatorType ot) [static]
static int screen_active_editable ( bContext C) [static]

Definition at line 121 of file screen_ops.c.

References CTX_wm_screen(), ED_operator_screenactive(), and SCREENNORMAL.

Referenced by SCREEN_OT_area_join(), and SCREEN_OT_area_split().

static int screen_animation_cancel_exec ( bContext C,
wmOperator op 
) [static]
static int screen_animation_play_exec ( bContext C,
wmOperator op 
) [static]
static int screen_animation_step ( bContext C,
wmOperator UNUSEDop,
wmEvent event 
) [static]
static int screen_area_options_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static ScrArea* screen_areahascursor ( bScreen scr,
int  x,
int  y 
) [static]
static int screen_delete_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int screen_full_area_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int screen_new_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static void SCREEN_OT_actionzone ( wmOperatorType ot) [static]
static void SCREEN_OT_animation_cancel ( wmOperatorType ot) [static]
static void SCREEN_OT_animation_play ( wmOperatorType ot) [static]
static void SCREEN_OT_animation_step ( wmOperatorType ot) [static]
static void SCREEN_OT_area_dupli ( wmOperatorType ot) [static]
static void SCREEN_OT_area_join ( wmOperatorType ot) [static]
static void SCREEN_OT_area_move ( wmOperatorType ot) [static]
static void SCREEN_OT_area_options ( wmOperatorType ot) [static]
static void SCREEN_OT_area_split ( wmOperatorType ot) [static]
static void SCREEN_OT_area_swap ( wmOperatorType ot) [static]
static void SCREEN_OT_back_to_previous ( struct wmOperatorType ot) [static]
static void SCREEN_OT_delete ( wmOperatorType ot) [static]
static void SCREEN_OT_frame_jump ( wmOperatorType ot) [static]
static void SCREEN_OT_frame_offset ( wmOperatorType ot) [static]
static void SCREEN_OT_header_flip ( wmOperatorType ot) [static]
static void SCREEN_OT_header_toolbox ( wmOperatorType ot) [static]
static void SCREEN_OT_keyframe_jump ( wmOperatorType ot) [static]
static void SCREEN_OT_new ( wmOperatorType ot) [static]
static void SCREEN_OT_redo_last ( wmOperatorType ot) [static]
static void SCREEN_OT_region_flip ( wmOperatorType ot) [static]
static void SCREEN_OT_region_quadview ( wmOperatorType ot) [static]
static void SCREEN_OT_region_scale ( wmOperatorType ot) [static]
static void SCREEN_OT_repeat_history ( wmOperatorType ot) [static]
static void SCREEN_OT_repeat_last ( wmOperatorType ot) [static]
static void SCREEN_OT_screen_full_area ( wmOperatorType ot) [static]
static void SCREEN_OT_screen_set ( wmOperatorType ot) [static]
static void SCREEN_OT_spacedata_cleanup ( wmOperatorType ot) [static]
static void SCREEN_OT_userpref_show ( struct wmOperatorType ot) [static]
static int screen_set_exec ( bContext C,
wmOperator op 
) [static]
static int spacedata_cleanup ( bContext C,
wmOperator op 
) [static]
static int userpref_show_invoke ( bContext C,
wmOperator UNUSEDop,
wmEvent event 
) [static]

Variable Documentation

Initial value:
 {
{'h', "HORIZONTAL", 0, "Horizontal", ""},
{'v', "VERTICAL", 0, "Vertical", ""},
{0, NULL, 0, NULL, NULL}}

Definition at line 1534 of file screen_ops.c.

Referenced by rna_def_constraint_actuator(), and rna_def_modifier_displace().