NLA Drawing Tweak - New icons for "solo" toggles

Added some new star icons for the "solo" toggles in NLA editor.
Unfortunately they look a tad scruffy alongside some of the other
icons, although they should hopefully turn out to be more descriptive
(especially when combined with some drawing tweaks I've got in the
pipeline...)
This commit is contained in:
2011-07-12 07:03:25 +00:00
parent d585ad2e3f
commit 1ab2e0d40e
4 changed files with 6664 additions and 6623 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 208 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -641,10 +641,11 @@ DEF_ICON(VISIBLE_IPO_OFF)
DEF_ICON(VISIBLE_IPO_ON)
DEF_ICON(DRIVER)
/* ANIMATION */
DEF_ICON(SOLO_OFF)
DEF_ICON(SOLO_ON)
#ifndef DEF_ICON_BLANK_SKIP
/* available */
DEF_ICON(BLANK184)
DEF_ICON(BLANK185)
DEF_ICON(BLANK186)
DEF_ICON(BLANK187)
DEF_ICON(BLANK188)

View File

@@ -645,9 +645,9 @@ static void draw_nla_channel_list_gl (bAnimContext *ac, ListBase *anim_data, Vie
* - need special icons for these
*/
if (nlt->flag & NLATRACK_SOLO)
special= ICON_SPACE2;
special= ICON_SOLO_ON;
else
special= ICON_SPACE3;
special= ICON_SOLO_OFF;
/* if this track is active and we're tweaking it, don't draw these toggles */
// TODO: need a special macro for this...