diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-01-08 14:14:30 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-01-08 14:14:30 +0300 |
commit | 7079047538da71961102478a23cccdbd62c7cf9d (patch) | |
tree | 2479933f0d78b8a863c61bdaf9a17b4b2e310404 /source/blender/editors/include/ED_anim_api.h | |
parent | 1b83b9c8b09bf56a029d11d5cae2d7dea56bb785 (diff) |
Animation Channels Drawing Tweak:
A solid color backdrop is now drawn behind the mute/protect toggles and sliders, reducing the visual clutter with long names still appearing behind the UI widgets.
Diffstat (limited to 'source/blender/editors/include/ED_anim_api.h')
-rw-r--r-- | source/blender/editors/include/ED_anim_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index c34885fbe6b..3d8ea195707 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -327,6 +327,8 @@ typedef enum eAnimChannel_Settings { /* Drawing, mouse handling, and flag setting behaviour... */ typedef struct bAnimChannelType { /* drawing */ + /* get RGB color that is used to draw the majority of the backdrop */ + void (*get_backdrop_color)(bAnimContext *ac, bAnimListElem *ale, float *color); /* draw backdrop strip for channel */ void (*draw_backdrop)(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc); /* get depth of indention (relative to the depth channel is nested at) */ @@ -334,7 +336,6 @@ typedef struct bAnimChannelType { /* get offset in pixels for the start of the channel (in addition to the indent depth) */ short (*get_offset)(bAnimContext *ac, bAnimListElem *ale); - /* get name (for channel lists) */ void (*name)(bAnimListElem *ale, char *name); /* get icon (for channel lists) */ |