murrine r171 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r171 - in trunk: . src
- Date: Fri, 3 Apr 2009 02:03:37 +0000 (UTC)
Author: acimitan
Date: Fri Apr 3 02:03:37 2009
New Revision: 171
URL: http://svn.gnome.org/viewvc/murrine?rev=171&view=rev
Log:
2009-04-03 Andrea Cimitan <andrea cimitan gmail com>
* src/murrine_draw.c (murrine_draw_focus):
Changes in focus drawing: rounded focus on listview header, better
unselected focus on treeview items, use dots on selected treeview items.
Modified:
trunk/ChangeLog
trunk/src/murrine_draw.c
Modified: trunk/src/murrine_draw.c
==============================================================================
--- trunk/src/murrine_draw.c (original)
+++ trunk/src/murrine_draw.c Fri Apr 3 02:03:37 2009
@@ -2238,16 +2238,18 @@
break;
case MRN_FOCUS_TREEVIEW_HEADER:
cairo_translate (cr, -1, 0);
+ radius = widget->roundness-1;
break;
case MRN_FOCUS_TREEVIEW_ROW:
- xoffset = 2.0;
- yoffset = 2.0;
if (widget->state_type == GTK_STATE_SELECTED)
{
- fill = colors->text[GTK_STATE_SELECTED];
- border_alpha = 0.35;
- focus_fill = FALSE;
+ /* Fallback to classic function, dots */
+ murrine_draw_classic_focus (cr, colors, widget, focus, x, y, width, height);
+ return;
}
+ xoffset = 1.0;
+ yoffset = 1.0;
+ radius = widget->roundness;
break;
case MRN_FOCUS_TAB:
xoffset = 0.0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]