|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "WM_api.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "view3d_intern.hh"#include "view3d_navigate.hh"Go to the source code of this file.
Variables | |
| const ViewOpsType | ViewOpsType_pan |
View Pan Operator | |
Move (pan) in incremental steps. For interactive pan see VIEW3D_OT_move. | |
| enum | { V3D_VIEW_PANLEFT = 1 , V3D_VIEW_PANRIGHT , V3D_VIEW_PANDOWN , V3D_VIEW_PANUP } |
| static const EnumPropertyItem | prop_view_pan_items [] |
| static int | viewpan_invoke_impl (bContext *, ViewOpsData *vod, const wmEvent *, PointerRNA *ptr) |
| static int | viewpan_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | VIEW3D_OT_view_pan (wmOperatorType *ot) |
| anonymous enum |
| Enumerator | |
|---|---|
| V3D_VIEW_PANLEFT | |
| V3D_VIEW_PANRIGHT | |
| V3D_VIEW_PANDOWN | |
| V3D_VIEW_PANUP | |
Definition at line 26 of file view3d_navigate_view_pan.cc.
| void VIEW3D_OT_view_pan | ( | wmOperatorType * | ot | ) |
Definition at line 72 of file view3d_navigate_view_pan.cc.
References wmOperatorType::description, wmOperatorType::flag, ViewOpsType::idname, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, prop_view_pan_items, RNA_def_enum(), wmOperatorType::srna, view3d_location_poll(), ViewOpsType_pan, and viewpan_invoke().
Referenced by view3d_operatortypes().
|
static |
Definition at line 67 of file view3d_navigate_view_pan.cc.
References view3d_navigate_invoke_impl(), and ViewOpsType_pan.
Referenced by VIEW3D_OT_view_pan().
|
static |
Definition at line 41 of file view3d_navigate_view_pan.cc.
References ViewOpsData::event_xy, OPERATOR_FINISHED, ViewOpsData::prev, ptr, RNA_enum_get(), V3D_VIEW_PANDOWN, V3D_VIEW_PANLEFT, V3D_VIEW_PANRIGHT, V3D_VIEW_PANUP, and viewmove_apply().
|
static |
Definition at line 33 of file view3d_navigate_view_pan.cc.
Referenced by VIEW3D_OT_view_pan().
| const ViewOpsType ViewOpsType_pan |
Definition at line 93 of file view3d_navigate_view_pan.cc.
Referenced by view3d_navigation_type_from_idname(), VIEW3D_OT_view_pan(), and viewpan_invoke().