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:
authorRichard Antalik <richardantalik@gmail.com>2020-03-19 02:24:09 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-03-19 02:24:09 +0300
commit271231f58ee376b576d72e3ecdb68899bb84d724 (patch)
treee0a9021e6a9ad43470b829c789051445a028d033 /source/blender/editors/interface/resources.c
parent348d2fa09e0c01d62372f5999b62d06ac3b810f9 (diff)
VSE: Strip drawing improvements
This patch include changes: - Thicker and clearer selection indication - Slimmer handles - More transparent muted strips - Trim frame number is drawn inside the strip - Strip text is drawn in upper part of strip - Color strips now have specific color, with chosen color drawn under strip text - Transition strip will use color of input strips showing direction of transition - Selecting effect strip will highlight input strips - Selecting multicam strips will highlight target channel - Missing media state is now indicated by a red line drawn on the top part of the strip - A checkerboard pattern is now drawn on the outsides of the meta range - Hold still regions are now always drawn if existent, with a darker shade of the strip’s background color Author: Alessio Monti di Sopra <a.monti> Reviewed By: ISS Differential Revision: https://developer.blender.org/D6883
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index 4d8bfe6b418..6e18352bad3 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -665,9 +665,6 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
case TH_SEQ_EFFECT:
cp = ts->effect;
break;
- case TH_SEQ_TRANSITION:
- cp = ts->transition;
- break;
case TH_SEQ_META:
cp = ts->meta;
break;
@@ -677,6 +674,15 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
case TH_SEQ_PREVIEW:
cp = ts->preview_back;
break;
+ case TH_SEQ_COLOR:
+ cp = ts->color_strip;
+ break;
+ case TH_SEQ_ACTIVE:
+ cp = ts->active_strip;
+ break;
+ case TH_SEQ_SELECTED:
+ cp = ts->selected_strip;
+ break;
case TH_CONSOLE_OUTPUT:
cp = ts->console_output;