[Bf-blender-cvs] [9327538] master: UI: increase contrast for active colorband handle

Campbell Barton noreply at git.blender.org
Fri Jun 27 15:20:34 CEST 2014


Commit: 9327538f0abeb768fb89a2aee6b58d36cc9ca18f
Author: Campbell Barton
Date:   Fri Jun 27 23:17:39 2014 +1000
https://developer.blender.org/rB9327538f0abeb768fb89a2aee6b58d36cc9ca18f

UI: increase contrast for active colorband handle

===================================================================

M	source/blender/editors/interface/interface_draw.c

===================================================================

diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c
index cc9f8ff..f821aab 100644
--- a/source/blender/editors/interface/interface_draw.c
+++ b/source/blender/editors/interface/interface_draw.c
@@ -1028,13 +1028,13 @@ static void ui_draw_colorband_handle(
 	if (active)
 		glColor3ub(196, 196, 196);
 	else
-		glColor3ub(128, 128, 128);
+		glColor3ub(96, 96, 96);
 	ui_draw_colorband_handle_tri(x, y1 + height, half_width, half_width, true);
 
 	if (active)
 		glColor3ub(255, 255, 255);
 	else
-		glColor3ub(196, 196, 196);
+		glColor3ub(128, 128, 128);
 	ui_draw_colorband_handle_tri_hlight(x, y1 + height - 1, (half_width - 1), (half_width - 1));
 
 	glColor3ub(0, 0, 0);




More information about the Bf-blender-cvs mailing list