Blender V5.0
view3d_navigate_view_move.cc File Reference
#include "BKE_context.hh"
#include "WM_api.hh"
#include "ED_screen.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

Functions

View Move (Pan) Operator
void viewmove_modal_keymap (wmKeyConfig *keyconf)
static wmOperatorStatus viewmove_modal_impl (bContext *C, ViewOpsData *vod, const eV3D_OpEvent event_code, const int xy[2])
static wmOperatorStatus viewmove_invoke_impl (bContext *C, ViewOpsData *vod, const wmEvent *event, PointerRNA *)
static wmOperatorStatus viewmove_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void VIEW3D_OT_move (wmOperatorType *ot)

Variables

const ViewOpsType ViewOpsType_move

Function Documentation

◆ VIEW3D_OT_move()

◆ viewmove_invoke()

wmOperatorStatus viewmove_invoke ( bContext * C,
wmOperator * op,
const wmEvent * event )
static

Definition at line 106 of file view3d_navigate_view_move.cc.

References C, view3d_navigate_invoke_impl(), and ViewOpsType_move.

Referenced by VIEW3D_OT_move().

◆ viewmove_invoke_impl()

◆ viewmove_modal_impl()

◆ viewmove_modal_keymap()

Variable Documentation

◆ ViewOpsType_move

const ViewOpsType ViewOpsType_move
Initial value:
= {
"VIEW3D_OT_move",
}
bool view3d_location_poll(bContext *C)
@ VIEWOPS_FLAG_DEPTH_NAVIGATE
@ VIEWOPS_FLAG_INIT_ZFAC
static wmOperatorStatus viewmove_modal_impl(bContext *C, ViewOpsData *vod, const eV3D_OpEvent event_code, const int xy[2])
static wmOperatorStatus viewmove_invoke_impl(bContext *C, ViewOpsData *vod, const wmEvent *event, PointerRNA *)

Definition at line 133 of file view3d_navigate_view_move.cc.

Referenced by view3d_navigate_event(), view3d_navigation_type_from_idname(), VIEW3D_OT_move(), and viewmove_invoke().