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:
authorJoshua Leung <aligorith@gmail.com>2011-07-12 16:13:23 +0400
committerJoshua Leung <aligorith@gmail.com>2011-07-12 16:13:23 +0400
commit9132754dc1ed77429a6e870c479b69ac8829d845 (patch)
tree34b6afe72135e4b905c3be68b2f2b4540eca4fd4 /source/blender/editors/include/ED_anim_api.h
parent7dd6926b22c77b4d77f64eccb7b8d4dab4dd5a7d (diff)
Timeline Drawing - Time cursor draws extra wide in timeline so that
keyframe lines are wrapped up nicely by it Ideally it could be made so that it only became wide when it is on a frame with a keyframe, though that could end up causing performance problems, so this will have to do (if a bit "chunky" looking at times).
Diffstat (limited to 'source/blender/editors/include/ED_anim_api.h')
-rw-r--r--source/blender/editors/include/ED_anim_api.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h
index bd86dcfc82f..0b99c256183 100644
--- a/source/blender/editors/include/ED_anim_api.h
+++ b/source/blender/editors/include/ED_anim_api.h
@@ -458,7 +458,9 @@ enum {
/* time indication in seconds or frames */
DRAWCFRA_UNIT_SECONDS = (1<<1),
/* show time-offset line */
- DRAWCFRA_SHOW_TIMEOFS = (1<<2)
+ DRAWCFRA_SHOW_TIMEOFS = (1<<2),
+ /* draw indicator extra wide (for timeline) */
+ DRAWCFRA_WIDE = (1<<3)
} eAnimEditDraw_CurrentFrame;
/* main call to draw current-frame indicator in an Animation Editor */