Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Show All 31 Lines | |||||
| #ifndef __TRANSFORM_H__ | #ifndef __TRANSFORM_H__ | ||||
| #define __TRANSFORM_H__ | #define __TRANSFORM_H__ | ||||
| #include "ED_transform.h" | #include "ED_transform.h" | ||||
| #include "ED_numinput.h" | #include "ED_numinput.h" | ||||
| #include "ED_view3d.h" | #include "ED_view3d.h" | ||||
| #include "RE_engine.h" | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| /* ************************** Types ***************************** */ | /* ************************** Types ***************************** */ | ||||
| struct TransInfo; | struct TransInfo; | ||||
| struct TransData; | struct TransData; | ||||
| struct TransformOrientation; | struct TransformOrientation; | ||||
| struct TransSnap; | struct TransSnap; | ||||
| struct NumInput; | struct NumInput; | ||||
| struct Object; | struct Object; | ||||
| struct View3D; | struct View3D; | ||||
| struct ScrArea; | struct ScrArea; | ||||
| struct Scene; | struct Scene; | ||||
| struct SceneLayer; | struct SceneLayer; | ||||
| struct bConstraint; | struct bConstraint; | ||||
| struct wmKeyMap; | struct wmKeyMap; | ||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct bContext; | struct bContext; | ||||
| struct wmEvent; | struct wmEvent; | ||||
| struct wmTimer; | struct wmTimer; | ||||
| struct ARegion; | struct ARegion; | ||||
| struct ReportList; | struct ReportList; | ||||
| struct EditBone; | struct EditBone; | ||||
| struct RenderEngineType; | |||||
| struct SnapObjectContext; | struct SnapObjectContext; | ||||
| /* transinfo->redraw */ | /* transinfo->redraw */ | ||||
| typedef enum { | typedef enum { | ||||
| TREDRAW_NOTHING = 0, | TREDRAW_NOTHING = 0, | ||||
| TREDRAW_HARD = 1, | TREDRAW_HARD = 1, | ||||
| TREDRAW_SOFT = 2, | TREDRAW_SOFT = 2, | ||||
| } eRedrawFlag; | } eRedrawFlag; | ||||
| ▲ Show 20 Lines • Show All 391 Lines • ▼ Show 20 Lines | #define TRANS_CUSTOM_DATA_ELEM_MAX (sizeof(((TransInfo *)NULL)->custom) / sizeof(TransCustomData)) | ||||
| bool remove_on_cancel; /* remove elements if operator is canceled */ | bool remove_on_cancel; /* remove elements if operator is canceled */ | ||||
| void *view; | void *view; | ||||
| struct bContext *context; /* Only valid (non null) during an operator called function. */ | struct bContext *context; /* Only valid (non null) during an operator called function. */ | ||||
| struct ScrArea *sa; | struct ScrArea *sa; | ||||
| struct ARegion *ar; | struct ARegion *ar; | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| struct SceneLayer *scene_layer; | struct SceneLayer *scene_layer; | ||||
| struct RenderEngineType *engine; | |||||
| struct ToolSettings *settings; | struct ToolSettings *settings; | ||||
| struct wmTimer *animtimer; | struct wmTimer *animtimer; | ||||
| struct wmKeyMap *keymap; /* so we can do lookups for header text */ | struct wmKeyMap *keymap; /* so we can do lookups for header text */ | ||||
| struct ReportList *reports; /* assign from the operator, or can be NULL */ | struct ReportList *reports; /* assign from the operator, or can be NULL */ | ||||
| int mval[2]; /* current mouse position */ | int mval[2]; /* current mouse position */ | ||||
| float zfac; /* use for 3d view */ | float zfac; /* use for 3d view */ | ||||
| struct Object *obedit; | struct Object *obedit; | ||||
| float obedit_mat[3][3]; /* normalized editmode matrix (T_EDIT only) */ | float obedit_mat[3][3]; /* normalized editmode matrix (T_EDIT only) */ | ||||
| ▲ Show 20 Lines • Show All 345 Lines • Show Last 20 Lines | |||||