Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-09 09:20:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-09 09:20:04 +0400
commitfa24ad1fd50cdd6a6af2b76736fe8e1430ee3cd7 (patch)
treef349f3b4696451a074cca74455d378f63277eee1 /source/blender/editors/include/ED_keyframes_edit.h
parent6a4567b9ab957ef912129f24aa4d3f60c3363c4f (diff)
Graph Editor: add lasso select for fcurves
Diffstat (limited to 'source/blender/editors/include/ED_keyframes_edit.h')
-rw-r--r--source/blender/editors/include/ED_keyframes_edit.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_keyframes_edit.h b/source/blender/editors/include/ED_keyframes_edit.h
index c99c70377ab..4e68b6a9494 100644
--- a/source/blender/editors/include/ED_keyframes_edit.h
+++ b/source/blender/editors/include/ED_keyframes_edit.h
@@ -56,7 +56,8 @@ typedef enum eEditKeyframes_Validate {
BEZT_OK_SELECTED,
BEZT_OK_VALUE,
BEZT_OK_VALUERANGE,
- BEZT_OK_REGION
+ BEZT_OK_REGION,
+ BEZT_OK_REGION_LASSO,
} eEditKeyframes_Validate;
/* ------------ */
@@ -98,6 +99,15 @@ typedef enum eEditKeyframes_Mirror {
MIRROR_KEYS_VALUE
} eEditKeyframes_Mirror;
+/* use with BEZT_OK_REGION_LASSO */
+struct KeyframeEdit_LassoData {
+ const rctf *rectf_scaled;
+ const rctf *rectf_view;
+ const int (*mcords)[2];
+ int mcords_tot;
+};
+
+
/* ************************************************ */
/* Non-Destuctive Editing API (keyframes_edit.c) */