Blender V2.61 - r43446
|
#include <errno.h>
#include "MEM_guardedalloc.h"
#include "DNA_userdef_types.h"
#include "DNA_scene_types.h"
#include "BLI_utildefines.h"
#include "BLI_math.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_report.h"
#include "BKE_main.h"
#include "BKE_library.h"
#include "BKE_movieclip.h"
#include "BKE_sound.h"
#include "BKE_tracking.h"
#include "WM_api.h"
#include "WM_types.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "ED_screen.h"
#include "ED_clip.h"
#include "UI_interface.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_view2d.h"
#include "clip_intern.h"
Go to the source code of this file.
Definition in file clip_ops.c.
typedef struct ProxyBuildJob ProxyJob |
typedef struct ViewPanData ViewPanData |
typedef struct ViewZoomData ViewZoomData |
static void change_frame_apply | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 719 of file clip_ops.c.
References CFRA, CTX_data_main(), CTX_data_scene(), FRAMENUMBER_MIN_CLAMP, NC_SCENE, ND_FRAME, wmOperator::ptr, RNA_int_get(), sound_seek_scene(), SUBFRA, and WM_event_add_notifier().
Referenced by change_frame_exec(), change_frame_invoke(), and change_frame_modal().
static int change_frame_exec | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 733 of file clip_ops.c.
References change_frame_apply(), and OPERATOR_FINISHED.
Referenced by CLIP_OT_change_frame().
static int change_frame_invoke | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 761 of file clip_ops.c.
References change_frame_apply(), CTX_wm_region(), frame_from_event(), wmEvent::mval, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmOperator::ptr, ARegion::regiontype, RGN_TYPE_WINDOW, RNA_int_set(), and WM_event_add_modal_handler().
Referenced by CLIP_OT_change_frame().
static int change_frame_modal | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 780 of file clip_ops.c.
References change_frame_apply(), ESCKEY, frame_from_event(), KM_RELEASE, LEFTMOUSE, MOUSEMOVE, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RIGHTMOUSE, RNA_int_set(), wmEvent::type, and wmEvent::val.
Referenced by CLIP_OT_change_frame().
static int change_frame_poll | ( | bContext * | C | ) | [static] |
Definition at line 710 of file clip_ops.c.
References ED_space_clip_poll(), and G.
Referenced by CLIP_OT_change_frame().
static void clip_filesel | ( | bContext * | C, |
wmOperator * | op, | ||
const char * | path | ||
) | [static] |
Definition at line 103 of file clip_ops.c.
References wmOperator::ptr, RNA_string_set(), and WM_event_add_fileselect().
Referenced by open_invoke().
void CLIP_OT_change_frame | ( | wmOperatorType * | ot | ) |
Definition at line 801 of file clip_ops.c.
References change_frame_exec(), change_frame_invoke(), change_frame_modal(), change_frame_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAXFRAME, MINAFRAME, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by clip_operatortypes().
void CLIP_OT_mode_set | ( | wmOperatorType * | ot | ) |
Definition at line 961 of file clip_ops.c.
References wmOperatorType::description, ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::idname, mode_set_exec(), wmOperatorType::name, NULL, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), SC_MODE_DISTORTION, SC_MODE_RECONSTRUCTION, SC_MODE_TRACKING, and wmOperatorType::srna.
Referenced by clip_operatortypes().
void CLIP_OT_open | ( | wmOperatorType * | ot | ) |
Definition at line 200 of file clip_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, FILE_OPENFILE, FILE_SPECIAL, wmOperatorType::flag, FOLDERFILE, wmOperatorType::idname, IMAGEFILE, wmOperatorType::invoke, MOVIEFILE, wmOperatorType::name, open_cancel(), open_exec(), open_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by clip_operatortypes().
void CLIP_OT_rebuild_proxy | ( | wmOperatorType * | ot | ) |
Definition at line 926 of file clip_ops.c.
References clip_rebuild_proxy_exec(), wmOperatorType::description, ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, and wmOperatorType::poll.
Referenced by clip_operatortypes().
void CLIP_OT_reload | ( | wmOperatorType * | ot | ) |
Definition at line 235 of file clip_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, and reload_exec().
Referenced by clip_operatortypes().
void CLIP_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 670 of file clip_ops.c.
References ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, and view_all_exec().
Referenced by clip_operatortypes().
void CLIP_OT_view_pan | ( | wmOperatorType * | ot | ) |
Definition at line 369 of file clip_ops.c.
References wmOperatorType::cancel, ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, wmOperatorType::poll, RNA_def_float_vector(), wmOperatorType::srna, view_pan_cancel(), view_pan_exec(), view_pan_invoke(), and view_pan_modal().
Referenced by clip_operatortypes().
void CLIP_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 697 of file clip_ops.c.
References ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, and view_selected_exec().
Referenced by clip_operatortypes().
void CLIP_OT_view_zoom | ( | wmOperatorType * | ot | ) |
Definition at line 491 of file clip_ops.c.
References wmOperatorType::cancel, ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_GRAB_POINTER, wmOperatorType::poll, RNA_def_float(), wmOperatorType::srna, view_zoom_cancel(), view_zoom_exec(), view_zoom_invoke(), and view_zoom_modal().
Referenced by clip_operatortypes().
void CLIP_OT_view_zoom_in | ( | wmOperatorType * | ot | ) |
Definition at line 567 of file clip_ops.c.
References ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, wmOperatorType::poll, view_zoom_in_exec(), and view_zoom_in_invoke().
Referenced by clip_operatortypes().
void CLIP_OT_view_zoom_out | ( | wmOperatorType * | ot | ) |
Definition at line 584 of file clip_ops.c.
References ED_space_clip_poll(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, wmOperatorType::poll, view_zoom_out_exec(), and view_zoom_out_invoke().
Referenced by clip_operatortypes().
void CLIP_OT_view_zoom_ratio | ( | wmOperatorType * | ot | ) |
Definition at line 614 of file clip_ops.c.
References ED_space_clip_poll(), wmOperatorType::exec, FLT_MAX, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, RNA_def_float(), wmOperatorType::srna, and view_zoom_ratio_exec().
Referenced by clip_operatortypes().
static int clip_rebuild_proxy_exec | ( | bContext * | C, |
wmOperator * | UNUSEDop | ||
) | [static] |
Definition at line 894 of file clip_ops.c.
References ProxyBuildJob::clip, ProxyBuildJob::clip_flag, CTX_data_main(), CTX_data_scene(), CTX_wm_area(), CTX_wm_manager(), CTX_wm_space_clip(), CTX_wm_window(), ED_area_tag_redraw(), ED_space_clip(), MovieClip::flag, G, ProxyBuildJob::main, MCLIP_TIMECODE_FLAGS, MCLIP_USE_PROXY, MEM_callocN(), NC_MOVIECLIP, ND_DISPLAY, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, proxy_freejob(), proxy_startjob(), ProxyBuildJob::scene, WM_JOB_PROGRESS, WM_jobs_callbacks(), WM_jobs_customdata(), WM_jobs_get(), WM_jobs_start(), and WM_jobs_timer().
Referenced by CLIP_OT_rebuild_proxy().
void ED_operatormacros_clip | ( | void | ) |
Definition at line 987 of file clip_ops.c.
References wmOperatorType::description, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorTypeMacro::ptr, RNA_boolean_set(), RNA_struct_idprops_unset(), TRUE, WM_operatortype_append_macro(), and WM_operatortype_macro_define().
Referenced by ED_spacetypes_init().
Definition at line 740 of file clip_ops.c.
References CTX_data_scene(), CTX_wm_region(), EFRA, wmEvent::mval, ARegion::regiontype, RGN_TYPE_WINDOW, SFRA, UI_view2d_region_to_view(), ARegion::v2d, and ARegion::winx.
Referenced by change_frame_invoke(), and change_frame_modal().
static int mode_set_exec | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 943 of file clip_ops.c.
References CTX_wm_space_clip(), SpaceClip::mode, NC_SPACE, ND_SPACE_CLIP, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), SC_MODE_TRACKING, and WM_event_add_notifier().
Referenced by CLIP_OT_mode_set().
static int open_cancel | ( | bContext * | UNUSEDC, |
wmOperator * | op | ||
) | [static] |
Definition at line 117 of file clip_ops.c.
References wmOperator::customdata, MEM_freeN(), NULL, and OPERATOR_CANCELLED.
Referenced by CLIP_OT_open().
static int open_exec | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 125 of file clip_ops.c.
References BKE_add_movieclip_file(), BKE_reportf(), CTX_wm_space_clip(), wmOperator::customdata, ED_space_clip_set(), FILE_MAX, MovieClip::id, MEM_freeN(), NA_ADDED, NC_MOVIECLIP, NULL, open_init(), OPERATOR_CANCELLED, OPERATOR_FINISHED, PropertyPointerRNA::prop, wmOperator::ptr, PropertyPointerRNA::ptr, wmOperator::reports, RNA_id_pointer_create(), RNA_property_pointer_set(), RNA_property_update(), RNA_string_get(), RPT_ERROR, str, ID::us, and WM_event_add_notifier().
Referenced by CLIP_OT_open(), and open_invoke().
static void open_init | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 109 of file clip_ops.c.
References wmOperator::customdata, MEM_callocN(), PropertyPointerRNA::prop, PropertyPointerRNA::ptr, and uiIDContextProperty().
Referenced by open_exec(), and open_invoke().
static int open_invoke | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | UNUSEDevent | ||
) | [static] |
Definition at line 175 of file clip_ops.c.
References clip_filesel(), CTX_wm_space_clip(), ED_space_clip(), UserDef::flag, MovieClip::name, NULL, open_exec(), open_init(), OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_boolean_set(), RNA_struct_property_is_set(), UserDef::textudir, U, and USER_RELPATHS.
Referenced by CLIP_OT_open().
static void proxy_freejob | ( | void * | pjv | ) | [static] |
Definition at line 830 of file clip_ops.c.
References MEM_freeN().
Referenced by clip_rebuild_proxy_exec().
static void proxy_startjob | ( | void * | pjv, |
short * | stop, | ||
short * | do_update, | ||
float * | progress | ||
) | [static] |
Definition at line 838 of file clip_ops.c.
References MovieClip::anim, BKE_movieclip_build_proxy_frame(), BKE_tracking_distortion_create(), BKE_tracking_distortion_destroy(), MovieClipProxy::build_flag, MovieClipProxy::build_size_flag, MovieClipProxy::build_tc_flag, ProxyBuildJob::clip, ProxyBuildJob::clip_flag, EFRA, G, IMB_anim_get_duration(), IMB_anim_index_rebuild(), IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, IMB_TC_NONE, MCLIP_PROXY_RENDER_SIZE_100, MCLIP_PROXY_RENDER_SIZE_25, MCLIP_PROXY_RENDER_SIZE_50, MCLIP_PROXY_RENDER_SIZE_75, MCLIP_PROXY_RENDER_UNDISTORT, MCLIP_SRC_MOVIE, NULL, MovieClip::proxy, MovieClipProxy::quality, Main::scene, ProxyBuildJob::scene, SFRA, and MovieClip::source.
Referenced by clip_rebuild_proxy_exec().
static int reload_exec | ( | bContext * | C, |
wmOperator * | UNUSEDop | ||
) | [static] |
Definition at line 221 of file clip_ops.c.
References BKE_movieclip_reload(), CTX_data_edit_movieclip(), NA_EDITED, NC_MOVIECLIP, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by CLIP_OT_reload().
Definition at line 71 of file clip_ops.c.
References ED_space_clip_size(), ARegion::winrct, rcti::xmax, rcti::xmin, rcti::ymax, rcti::ymin, and SpaceClip::zoom.
Referenced by sclip_zoom_set_factor(), view_all_exec(), view_zoom_invoke(), view_zoom_modal(), and view_zoom_ratio_exec().
Definition at line 95 of file clip_ops.c.
References sclip_zoom_set(), and SpaceClip::zoom.
Referenced by view_zoom_exec(), view_zoom_in_exec(), and view_zoom_out_exec().
static int view_all_exec | ( | bContext * | C, |
wmOperator * | UNUSEDop | ||
) | [static] |
Definition at line 631 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_region_tag_redraw(), ED_space_clip_aspect(), ED_space_clip_size(), MIN2, OPERATOR_FINISHED, power_of_2(), sclip_zoom_set(), simple_enum_gen::w, ARegion::winrct, rcti::xmax, rcti::xmin, SpaceClip::xof, rcti::ymax, rcti::ymin, and SpaceClip::yof.
Referenced by CLIP_OT_view_all().
static int view_pan_cancel | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 362 of file clip_ops.c.
References OPERATOR_CANCELLED, and view_pan_exit().
Referenced by CLIP_OT_view_pan().
static int view_pan_exec | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 291 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_region_tag_redraw(), SpaceClip::flag, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get_array(), SC_LOCK_SELECTION, SpaceClip::xlockof, SpaceClip::xof, SpaceClip::ylockof, and SpaceClip::yof.
Referenced by CLIP_OT_view_pan(), view_pan_invoke(), and view_pan_modal().
static void view_pan_exit | ( | bContext * | C, |
wmOperator * | op, | ||
int | cancel | ||
) | [static] |
Definition at line 277 of file clip_ops.c.
References copy_v2_v2(), CTX_wm_region(), CTX_wm_window(), wmOperator::customdata, ED_region_tag_redraw(), MEM_freeN(), ViewPanData::vec, WM_cursor_restore(), and ViewPanData::xorig.
Referenced by view_pan_cancel(), and view_pan_modal().
static void view_pan_init | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 255 of file clip_ops.c.
References BC_NSEW_SCROLLCURSOR, copy_v2_v2(), CTX_wm_space_clip(), CTX_wm_window(), wmOperator::customdata, ViewPanData::event_type, SpaceClip::flag, MEM_callocN(), SC_LOCK_SELECTION, ViewPanData::vec, WM_cursor_modal(), WM_event_add_modal_handler(), ViewPanData::x, SpaceClip::xlockof, SpaceClip::xof, ViewPanData::xof, ViewPanData::xorig, and ViewPanData::y.
Referenced by view_pan_invoke().
static int view_pan_invoke | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 311 of file clip_ops.c.
References CTX_wm_space_clip(), MOUSEPAN, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmEvent::prevy, wmOperator::ptr, RNA_float_set_array(), wmEvent::type, view_pan_exec(), view_pan_init(), wmEvent::y, and SpaceClip::zoom.
Referenced by CLIP_OT_view_pan().
static int view_pan_modal | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 331 of file clip_ops.c.
References copy_v2_v2(), CTX_wm_space_clip(), wmOperator::customdata, ESCKEY, ViewPanData::event_type, KM_RELEASE, MOUSEMOVE, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_float_set_array(), SPACEKEY, wmEvent::type, wmEvent::val, ViewPanData::vec, view_pan_exec(), view_pan_exit(), ViewPanData::x, ViewPanData::xorig, ViewPanData::y, wmEvent::y, and SpaceClip::zoom.
Referenced by CLIP_OT_view_pan().
static int view_selected_exec | ( | bContext * | C, |
wmOperator * | UNUSEDop | ||
) | [static] |
Definition at line 683 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_clip_view_selection(), ED_region_tag_redraw(), OPERATOR_FINISHED, SpaceClip::xlockof, and SpaceClip::ylockof.
Referenced by CLIP_OT_view_selected().
static int view_zoom_cancel | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 485 of file clip_ops.c.
References OPERATOR_CANCELLED, and view_zoom_exit().
Referenced by CLIP_OT_view_zoom().
static int view_zoom_exec | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 428 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_region_tag_redraw(), OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), and sclip_zoom_set_factor().
Referenced by CLIP_OT_view_zoom().
static void view_zoom_exit | ( | bContext * | C, |
wmOperator * | op, | ||
int | cancel | ||
) | [static] |
Definition at line 414 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), CTX_wm_window(), wmOperator::customdata, ED_region_tag_redraw(), MEM_freeN(), WM_cursor_restore(), ViewZoomData::zoom, and SpaceClip::zoom.
Referenced by view_zoom_cancel(), and view_zoom_modal().
static int view_zoom_in_exec | ( | bContext * | C, |
wmOperator * | UNUSEDop | ||
) | [static] |
Definition at line 514 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_region_tag_redraw(), OPERATOR_FINISHED, and sclip_zoom_set_factor().
Referenced by CLIP_OT_view_zoom_in(), and view_zoom_inout_invoke().
static int view_zoom_in_invoke | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 562 of file clip_ops.c.
References view_zoom_inout_invoke().
Referenced by CLIP_OT_view_zoom_in().
static void view_zoom_init | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 398 of file clip_ops.c.
References BC_NSEW_SCROLLCURSOR, CTX_wm_space_clip(), CTX_wm_window(), wmOperator::customdata, ViewZoomData::event_type, MEM_callocN(), WM_cursor_modal(), WM_event_add_modal_handler(), ViewZoomData::x, ViewZoomData::y, ViewZoomData::zoom, and SpaceClip::zoom.
Referenced by view_zoom_invoke().
static int view_zoom_inout_invoke | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event, | ||
int | out | ||
) | [static] |
Definition at line 538 of file clip_ops.c.
References co, CTX_wm_space_clip(), ED_clip_mouse_pos(), ED_space_clip_size(), OPERATOR_FINISHED, U, UserDef::uiflag, USER_ZOOM_TO_MOUSEPOS, view_zoom_in_exec(), view_zoom_out_exec(), SpaceClip::xof, SpaceClip::yof, and SpaceClip::zoom.
Referenced by view_zoom_in_invoke(), and view_zoom_out_invoke().
static int view_zoom_invoke | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 440 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_region_tag_redraw(), MOUSEZOOM, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_float_set(), sclip_zoom_set(), wmEvent::type, view_zoom_init(), and SpaceClip::zoom.
Referenced by CLIP_OT_view_zoom().
static int view_zoom_modal | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 460 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), wmOperator::customdata, ED_region_tag_redraw(), ViewZoomData::event_type, KM_RELEASE, MOUSEMOVE, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_float_set(), sclip_zoom_set(), wmEvent::type, wmEvent::val, view_zoom_exit(), ViewZoomData::x, ViewZoomData::y, and ViewZoomData::zoom.
Referenced by CLIP_OT_view_zoom().
static int view_zoom_out_exec | ( | bContext * | C, |
wmOperator * | UNUSEDop | ||
) | [static] |
Definition at line 526 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_region_tag_redraw(), OPERATOR_FINISHED, and sclip_zoom_set_factor().
Referenced by CLIP_OT_view_zoom_out(), and view_zoom_inout_invoke().
static int view_zoom_out_invoke | ( | bContext * | C, |
wmOperator * | op, | ||
wmEvent * | event | ||
) | [static] |
Definition at line 579 of file clip_ops.c.
References view_zoom_inout_invoke().
Referenced by CLIP_OT_view_zoom_out().
static int view_zoom_ratio_exec | ( | bContext * | C, |
wmOperator * | op | ||
) | [static] |
Definition at line 598 of file clip_ops.c.
References CTX_wm_region(), CTX_wm_space_clip(), ED_region_tag_redraw(), OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), sclip_zoom_set(), SpaceClip::xof, and SpaceClip::yof.
Referenced by CLIP_OT_view_zoom_ratio().