diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-03-22 03:30:18 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-03-22 03:30:18 +0300 |
commit | b995f4329a65278a229a32674ed2083ee04310a3 (patch) | |
tree | d56a73903a6d08f544745d18a9c277061a228db5 /source/blender/editors/include/ED_armature.h | |
parent | 935f10dc45e482061f1af230d3f9a9f878000379 (diff) |
First part of operatorizing etch-a-ton in 2.5
Polyline, selection and a couple of others work. (note that polyline is shift-click because click is taken by 3d cursor. Needs a way to overwrite lower maps).
Diffstat (limited to 'source/blender/editors/include/ED_armature.h')
-rw-r--r-- | source/blender/editors/include/ED_armature.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index d808e979880..0f2ac6e3027 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -37,6 +37,7 @@ struct bPoseChannel; struct wmWindowManager; struct ListBase; struct View3D; +struct ViewContext; struct RegionView3D; typedef struct EditBone @@ -124,15 +125,14 @@ void ED_pose_deselectall(struct Object *ob, int test, int doundo); /* sketch */ -int BIF_paintSketch(struct bContext *C, short mbut); -void BIF_endStrokeSketch(struct bContext *C); +int ED_operator_sketch_mode_active_stroke(struct bContext *C); +int ED_operator_sketch_full_mode(struct bContext *C); +int ED_operator_sketch_mode(struct bContext *C); + +void BIF_freeSketch(struct bContext *C); void BIF_convertSketch(struct bContext *C); void BIF_deleteSketch(struct bContext *C); void BIF_selectAllSketch(struct bContext *C, int mode); /* -1: deselect, 0: select, 1: toggle */ -int BIF_validSketchMode(struct bContext *C); -int BIF_fullSketchMode(struct bContext *C); /* full sketch turned on (not Quick) */ -void BIF_cancelStrokeSketch(struct bContext *C); -void BIF_sk_selectStroke(struct bContext *C, short mval[2], int extend); void BIF_makeListTemplates(struct bContext *C); char *BIF_listTemplates(struct bContext *C); @@ -142,9 +142,8 @@ void BIF_setTemplate(struct bContext *C, int index); int BIF_nbJointsTemplate(struct bContext *C); char * BIF_nameBoneTemplate(struct bContext *C); -void BDR_queueDrawSketch(struct bContext *C); -void BDR_drawSketch(struct bContext *C); -void BDR_drawSketchNames(struct bContext *C); +void BDR_drawSketch(struct bContext *vc); +int BDR_drawSketchNames(struct ViewContext *vc); #endif /* ED_ARMATURE_H */ |