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:
authorPeter Schlaile <peter@schlaile.de>2006-06-08 23:05:58 +0400
committerPeter Schlaile <peter@schlaile.de>2006-06-08 23:05:58 +0400
commitaf3f454cd82b8214b3ce004d7cb852523f9063b2 (patch)
tree41d7ec47f50e4f367aff48c75114f10eca282f64 /source/blender/python/api2_2x/windowTheme.c
parentf6854b4d8e935fa030f1b5424007d5c98e311266 (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/python/api2_2x/windowTheme.c')
-rw-r--r--source/blender/python/api2_2x/windowTheme.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/windowTheme.c b/source/blender/python/api2_2x/windowTheme.c
index 4043c9e0faf..eac9a18d9f4 100644
--- a/source/blender/python/api2_2x/windowTheme.c
+++ b/source/blender/python/api2_2x/windowTheme.c
@@ -179,12 +179,20 @@ static PyObject *ThemeSpace_getAttr( BPy_ThemeSpace * self, char *name )
ELSEIF_TSP_RGBA( syntaxb )
ELSEIF_TSP_RGBA( syntaxv )
ELSEIF_TSP_RGBA( syntaxc )
+ ELSEIF_TSP_RGBA( movie )
+ ELSEIF_TSP_RGBA( image )
+ ELSEIF_TSP_RGBA( scene )
+ ELSEIF_TSP_RGBA( audio )
+ ELSEIF_TSP_RGBA( effect )
+ ELSEIF_TSP_RGBA( plugin )
+ ELSEIF_TSP_RGBA( transition )
+ ELSEIF_TSP_RGBA( meta )
else if( !strcmp( name, "vertex_size" ) )
attrib = Py_BuildValue( "i", tsp->vertex_size );
else if( !strcmp( name, "facedot_size" ) )
attrib = Py_BuildValue( "i", tsp->facedot_size );
else if( !strcmp( name, "__members__" ) )
- attrib = Py_BuildValue("[sssssssssssssssssssssssssssssssssss]", "theme",
+ attrib = Py_BuildValue("[sssssssssssssssssssssssssssssssssssssssssss]", "theme",
"back", "text", "text_hi", "header",
"panel", "shade1", "shade2", "hilite",
"grid", "wire", "lamp", "select", "active",
@@ -194,6 +202,7 @@ static PyObject *ThemeSpace_getAttr( BPy_ThemeSpace * self, char *name )
"face_dot", "normal", "bone_solid", "bone_pose",
"strip", "strip_select",
"syntaxl", "syntaxn", "syntaxb", "syntaxv", "syntaxc",
+ "movie", "image", "scene", "audio", "effect", "plugin", "transition", "meta",
"vertex_size", "facedot_size" );
if( attrib != Py_None )
@@ -244,6 +253,14 @@ static int ThemeSpace_setAttr( BPy_ThemeSpace * self, char *name,
ELSEIF_TSP_RGBA( syntaxb )
ELSEIF_TSP_RGBA( syntaxv )
ELSEIF_TSP_RGBA( syntaxc )
+ ELSEIF_TSP_RGBA( movie )
+ ELSEIF_TSP_RGBA( image )
+ ELSEIF_TSP_RGBA( scene )
+ ELSEIF_TSP_RGBA( audio )
+ ELSEIF_TSP_RGBA( effect )
+ ELSEIF_TSP_RGBA( plugin )
+ ELSEIF_TSP_RGBA( transition )
+ ELSEIF_TSP_RGBA( meta )
else if( !strcmp( name, "vertex_size" ) ) {
int val;