Revision: 22727
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22727
Author:   billrey
Date:     2009-08-23 23:56:32 +0200 (Sun, 23 Aug 2009)

Log Message:
-----------
UI

Changed the rounding of action buttons. The round style looked pleasing when 
they were isolated, viewed by themselves, but looked terrible when grouped, or 
at small sizes with icons as it was often used. The old Filebrowse or Render 
This Window buttons were examples of how badly they looked with an icon, and 
the rounding in the tools area made for some weird visual shapes. When combined 
in groups of widgets, such as the datablock selectors it looked even weirder, 
because one side of the group would be square and the other would be round, 
causing some spatial clashes. 

http://www.reynish.com/files/blender25/actionbuttons_new.png

Also tweaked the tools sub-area color which stood out as being much brighter 
than the rest of the UI. When the tools area was open in the default layout, 
the overall impression was asymmetrical, non-harmonic.

Modified Paths:
--------------
    
branches/blender2.5/blender/source/blender/editors/interface/interface_widgets.c
    branches/blender2.5/blender/source/blender/editors/interface/resources.c
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c

Modified: 
branches/blender2.5/blender/source/blender/editors/interface/interface_widgets.c
===================================================================
--- 
branches/blender2.5/blender/source/blender/editors/interface/interface_widgets.c
    2009-08-23 21:16:39 UTC (rev 22726)
+++ 
branches/blender2.5/blender/source/blender/editors/interface/interface_widgets.c
    2009-08-23 21:56:32 UTC (rev 22727)
@@ -1085,7 +1085,7 @@
        {255, 255, 255, 255},
        
        1,
-       25, -25
+       15, -15
 };
 
 static struct uiWidgetColors wcol_box= {
@@ -1897,7 +1897,7 @@
        widget_init(&wtb);
        
        /* half rounded */
-       round_box_edges(&wtb, roundboxalign, rect, 4.0f);
+       round_box_edges(&wtb, roundboxalign, rect, 5.0f);
                
        ui_get_but_vectorf(but, col);
        wcol->inner[0]= FTOCHAR(col[0]);
@@ -1916,7 +1916,7 @@
        widget_init(&wtb);
        
        /* half rounded */
-       round_box_edges(&wtb, roundboxalign, rect, 5.0f);
+       round_box_edges(&wtb, roundboxalign, rect, 4.0f);
        
        widgetbase_draw(&wtb, wcol);
 
@@ -1950,8 +1950,8 @@
                
                widget_init(&wtb);
                
-               /* fully rounded */
-               round_box_edges(&wtb, 15, rect, rad);
+               /* half rounded */
+               round_box_edges(&wtb, 15, rect, 4.0f);
                
                widgetbase_draw(&wtb, wcol);
        }
@@ -2049,8 +2049,8 @@
        
        widget_init(&wtb);
        
-       /* fully rounded */
-       round_box_edges(&wtb, roundboxalign, rect, rad);
+       /* half rounded */
+       round_box_edges(&wtb, roundboxalign, rect, 4.0f);
 
        widgetbase_draw(&wtb, wcol);
 }

Modified: 
branches/blender2.5/blender/source/blender/editors/interface/resources.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/interface/resources.c    
2009-08-23 21:16:39 UTC (rev 22726)
+++ branches/blender2.5/blender/source/blender/editors/interface/resources.c    
2009-08-23 21:56:32 UTC (rev 22727)
@@ -445,6 +445,7 @@
        SETCOL(btheme->tv3d.text_hi, 255, 255, 255, 255);
        
        SETCOLF(btheme->tv3d.header,    0.45, 0.45, 0.45, 1.0);
+       SETCOLF(btheme->tv3d.button,    0.45, 0.45, 0.45, 1.0);
        SETCOL(btheme->tv3d.panel,      165, 165, 165, 127);
        
        SETCOL(btheme->tv3d.shade1,  160, 160, 160, 100);

Modified: 
branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c   
2009-08-23 21:16:39 UTC (rev 22726)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c   
2009-08-23 21:56:32 UTC (rev 22727)
@@ -55,7 +55,7 @@
        {eModifierType_Multires, "MULTIRES", ICON_MOD_MULTIRES, 
"Multiresolution", ""},
        {eModifierType_Subsurf, "SUBSURF", ICON_MOD_SUBSURF, "Subdivision 
Surface", ""},
        {eModifierType_UVProject, "UV_PROJECT", ICON_MOD_UVPROJECT, "UV 
Project", ""},
-       {0, "", 0, "Deformers", ""},
+       {0, "", 0, "Deform", ""},
        {eModifierType_Armature, "ARMATURE", ICON_MOD_ARMATURE, "Armature", ""},
        {eModifierType_Cast, "CAST", ICON_MOD_CAST, "Cast", ""},
        {eModifierType_Curve, "CURVE", ICON_MOD_CURVE, "Curve", ""},


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to