diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2006-01-16 06:51:32 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2006-01-16 06:51:32 +0300 |
commit | bb9cadbb77261e10a8354598061739d2204a7095 (patch) | |
tree | 239ee9209496c5c3fc6e1e13637c3417a91e4514 /source/blender/python/api2_2x/windowTheme.c | |
parent | df3fd052dd97e5ee7e450ec5f4bce9aec5fa2def (diff) |
BPython:
- minor: added missing theme options (bone_solid, bone_pose, strip,
strip_select) to Blender.Window.Theme and also updated accordingly
(version info) the script that saves themes as scripts and the module's
doc.
Diffstat (limited to 'source/blender/python/api2_2x/windowTheme.c')
-rw-r--r-- | source/blender/python/api2_2x/windowTheme.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/windowTheme.c b/source/blender/python/api2_2x/windowTheme.c index d07323d0ccd..4043c9e0faf 100644 --- a/source/blender/python/api2_2x/windowTheme.c +++ b/source/blender/python/api2_2x/windowTheme.c @@ -170,6 +170,10 @@ static PyObject *ThemeSpace_getAttr( BPy_ThemeSpace * self, char *name ) ELSEIF_TSP_RGBA( face_select ) ELSEIF_TSP_RGBA( face_dot ) ELSEIF_TSP_RGBA( normal ) + ELSEIF_TSP_RGBA( bone_solid ) + ELSEIF_TSP_RGBA( bone_pose ) + ELSEIF_TSP_RGBA( strip ) + ELSEIF_TSP_RGBA( strip_select ) ELSEIF_TSP_RGBA( syntaxl ) ELSEIF_TSP_RGBA( syntaxn ) ELSEIF_TSP_RGBA( syntaxb ) @@ -180,14 +184,15 @@ static PyObject *ThemeSpace_getAttr( BPy_ThemeSpace * self, char *name ) else if( !strcmp( name, "facedot_size" ) ) attrib = Py_BuildValue( "i", tsp->facedot_size ); else if( !strcmp( name, "__members__" ) ) - attrib = Py_BuildValue( "[sssssssssssssssssssssssssssssss]", "theme", + attrib = Py_BuildValue("[sssssssssssssssssssssssssssssssssss]", "theme", "back", "text", "text_hi", "header", "panel", "shade1", "shade2", "hilite", "grid", "wire", "lamp", "select", "active", "transform", "vertex", "vertex_select", "edge", "edge_select", "edge_seam", "edge_facesel", "face", "face_select", - "face_dot", "normal", + "face_dot", "normal", "bone_solid", "bone_pose", + "strip", "strip_select", "syntaxl", "syntaxn", "syntaxb", "syntaxv", "syntaxc", "vertex_size", "facedot_size" ); @@ -230,6 +235,10 @@ static int ThemeSpace_setAttr( BPy_ThemeSpace * self, char *name, ELSEIF_TSP_RGBA( face_select ) ELSEIF_TSP_RGBA( face_dot ) ELSEIF_TSP_RGBA( normal ) + ELSEIF_TSP_RGBA( bone_solid ) + ELSEIF_TSP_RGBA( bone_pose ) + ELSEIF_TSP_RGBA( strip ) + ELSEIF_TSP_RGBA( strip_select ) ELSEIF_TSP_RGBA( syntaxl ) ELSEIF_TSP_RGBA( syntaxn ) ELSEIF_TSP_RGBA( syntaxb ) |