[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29959] trunk/blender/source/blender/ editors/screen/area.c: #22736: request - adjust windows' corner handles
Joshua Leung
aligorith at gmail.com
Mon Jul 5 05:03:02 CEST 2010
Revision: 29959
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29959
Author: aligorith
Date: 2010-07-05 05:02:57 +0200 (Mon, 05 Jul 2010)
Log Message:
-----------
#22736: request - adjust windows' corner handles
I've tweaked the contrast of the corner widgets to be a little bit more contrasty and seem a bit more tactile by making the lines fade out from brighter bands to dimmer bands.
Hopefully this will make them more easily discernable without being too loud.
Modified Paths:
--------------
trunk/blender/source/blender/editors/screen/area.c
Modified: trunk/blender/source/blender/editors/screen/area.c
===================================================================
--- trunk/blender/source/blender/editors/screen/area.c 2010-07-05 02:00:24 UTC (rev 29958)
+++ trunk/blender/source/blender/editors/screen/area.c 2010-07-05 03:02:57 UTC (rev 29959)
@@ -177,14 +177,18 @@
float dx= 0.3f*(xmax-xmin);
float dy= 0.3f*(ymax-ymin);
- glColor4ub(255, 255, 255, 80);
+ glColor4ub(255, 255, 255, 180);
fdrawline(xmin, ymax, xmax, ymin);
+ glColor4ub(255, 255, 255, 130);
fdrawline(xmin, ymax-dy, xmax-dx, ymin);
+ glColor4ub(255, 255, 255, 80);
fdrawline(xmin, ymax-2*dy, xmax-2*dx, ymin);
- glColor4ub(0, 0, 0, 150);
+ glColor4ub(0, 0, 0, 210);
fdrawline(xmin, ymax+1, xmax+1, ymin);
+ glColor4ub(0, 0, 0, 180);
fdrawline(xmin, ymax-dy+1, xmax-dx+1, ymin);
+ glColor4ub(0, 0, 0, 150);
fdrawline(xmin, ymax-2*dy+1, xmax-2*dx+1, ymin);
}
More information about the Bf-blender-cvs
mailing list