diff options
author | Peter Schlaile <peter@schlaile.de> | 2006-06-08 23:05:58 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2006-06-08 23:05:58 +0400 |
commit | af3f454cd82b8214b3ce004d7cb852523f9063b2 (patch) | |
tree | 41d7ec47f50e4f367aff48c75114f10eca282f64 /source/blender/include/BIF_resources.h | |
parent | f6854b4d8e935fa030f1b5424007d5c98e311266 (diff) |
==Sequencer==
Added patch by Matt Ebb, that enhances the sequencer GUI in several ways:
- It looks a lot better
- Strip colours are themeable.
- The drawing code is more readable.
- The background of the timeline makes now distinguishing the channels easier
by alternating between different shades of gray.
- Handle-scaling is clamped to min and max-values, making it possible to
grab strips at large zooming levels more easily.
- Preview-images can be panned by dragging it with the middle mouse button.
Home-Key resets the position.
- Since some people can't grab the meaning of "C 0", it is renamed to "Chan: 0"
- Effect strips have slightly different colors to distinguish them better.
Additionally:
- fixed an off by one error in Matt's patch
- Scene-rendering saves CFRA to avoid jumping current-scene on scrub
(might be academic fix, since most likely it only happens if you add
the sequencer-scene to the timeline... But nevertheless it bugs you on
testing the GUI ;-)
Diffstat (limited to 'source/blender/include/BIF_resources.h')
-rw-r--r-- | source/blender/include/BIF_resources.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/include/BIF_resources.h b/source/blender/include/BIF_resources.h index 7bae651b5ed..6a4287c2eb8 100644 --- a/source/blender/include/BIF_resources.h +++ b/source/blender/include/BIF_resources.h @@ -466,6 +466,15 @@ enum { TH_NODE_GENERATOR, TH_NODE_GROUP, + TH_SEQ_MOVIE, + TH_SEQ_IMAGE, + TH_SEQ_SCENE, + TH_SEQ_AUDIO, + TH_SEQ_EFFECT, + TH_SEQ_PLUGIN, + TH_SEQ_TRANSITION, + TH_SEQ_META, + }; /* XXX WARNING: previous is saved in file, so do not change order! */ @@ -507,6 +516,12 @@ void BIF_GetThemeColor4ubv(int colorid, char *col); // get a theme color from specified space type void BIF_GetThemeColorType4ubv(int colorid, int spacetype, char *col); +// blends and shades between two color pointers +void BIF_ColorPtrBlendShade3ubv(char *cp1, char *cp2, float fac, int offset); + +// get a 3 byte color, blended and shaded between two other char color pointers +void BIF_GetColorPtrBlendShade3ubv(char *cp1, char *cp2, char *col, float fac, int offset); + struct ScrArea; |