Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Context not available. | |||||
| int imval[2]; /* initial mouse position */ | int imval[2]; /* initial mouse position */ | ||||
| bool precision; | bool precision; | ||||
| int precision_mval[2]; /* mouse position when precision key was pressed */ | int precision_mval[2]; /* mouse position when precision key was pressed */ | ||||
| float center[2]; | float *center; /* pointer to t->center2d */ | ||||
| float factor; | float factor; | ||||
| void *data; /* additional data, if needed by the particular function */ | void *data; /* additional data, if needed by the particular function */ | ||||
| } MouseInput; | } MouseInput; | ||||
| Context not available. | |||||
| INPUT_CUSTOM_RATIO_FLIP, | INPUT_CUSTOM_RATIO_FLIP, | ||||
| } MouseInputMode; | } MouseInputMode; | ||||
| void initMouseInput(TransInfo *t, MouseInput *mi, const float center[2], const int mval[2]); | void initMouseInput(TransInfo *t, MouseInput *mi,const int mval[2]); | ||||
| void initMouseInputMode(TransInfo *t, MouseInput *mi, MouseInputMode mode); | void initMouseInputMode(TransInfo *t, MouseInput *mi, MouseInputMode mode); | ||||
| eRedrawFlag handleMouseInput(struct TransInfo *t, struct MouseInput *mi, const struct wmEvent *event); | eRedrawFlag handleMouseInput(struct TransInfo *t, struct MouseInput *mi, const struct wmEvent *event); | ||||
| void applyMouseInput(struct TransInfo *t, struct MouseInput *mi, const int mval[2], float output[3]); | void applyMouseInput(struct TransInfo *t, struct MouseInput *mi, const int mval[2], float output[3]); | ||||
| Context not available. | |||||