gtk-engines r1035 - in trunk: . engines/clearlooks/src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-engines r1035 - in trunk: . engines/clearlooks/src
- Date: Fri, 25 Jan 2008 11:56:02 +0000 (GMT)
Author: acimitan
Date: Fri Jan 25 11:56:02 2008
New Revision: 1035
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1035&view=rev
Log:
2008-01-25 Andrea Cimitan <andrea cimitan gmail com>
* engines/clearlooks/src/clearlooks_draw_gummy.c:
(clearlooks_gummy_draw_focus):
New treeview look, rounded focus on treeview "small" row
The one you can find in pidgin for example
Modified:
trunk/ChangeLog
trunk/engines/clearlooks/src/clearlooks_draw_gummy.c
Modified: trunk/engines/clearlooks/src/clearlooks_draw_gummy.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_draw_gummy.c (original)
+++ trunk/engines/clearlooks/src/clearlooks_draw_gummy.c Fri Jan 25 11:56:02 2008
@@ -1608,12 +1608,8 @@
break;
case CL_FOCUS_TREEVIEW:
parentbg = colors->base[widget->state_type];
- border_alpha = 0.6;
- xoffset = 0.5;
- yoffset = 0.5;
- radius = 0;
- focus_shadow = TRUE;
- focus_fill = FALSE;
+ fill_alpha = 0.08;
+ focus_border = FALSE;
break;
case CL_FOCUS_TREEVIEW_DND:
parentbg = colors->base[widget->state_type];
@@ -1623,10 +1619,9 @@
break;
case CL_FOCUS_TREEVIEW_ROW:
parentbg = colors->base[widget->state_type];
- xoffset = -0.5; /* hack to hide vertical lines */
+ xoffset = -2.5; /* hack to hide vertical lines */
yoffset = 0.5;
- radius = 0;
- border_alpha = 1.0;
+ CLAMP (radius, 0.0, 2.0);
focus_fill = FALSE;
break;
case CL_FOCUS_TAB:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]