|
From: Dom L. <ci...@us...> - 2005-07-27 18:13:47
|
Update of /cvsroot/gtk-wimp/gtk-wimp/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26366/src Modified Files: msw_style.c Log Message: make vertically-oriented toolbar handled draw properly now Index: msw_style.c =================================================================== RCS file: /cvsroot/gtk-wimp/gtk-wimp/src/msw_style.c,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** msw_style.c 25 Jul 2005 19:15:33 -0000 1.28 --- msw_style.c 27 Jul 2005 18:13:37 -0000 1.29 *************** *** 1989,1993 **** gdk_gc_set_clip_rectangle(shadow_gc, &dest); ! if (orientation == GTK_ORIENTATION_VERTICAL) { gdk_draw_line(window, light_gc, dest.x, dest.y, dest.x, dest.height); --- 1989,1993 ---- gdk_gc_set_clip_rectangle(shadow_gc, &dest); ! if (dest.width < dest.height) { gdk_draw_line(window, light_gc, dest.x, dest.y, dest.x, dest.height); *************** *** 1997,2000 **** --- 1997,2001 ---- else { + gdk_draw_line(window, light_gc, dest.x, dest.y, dest.x + dest.width, dest.y); gdk_draw_line(window, dark_gc, dest.x, dest.y + (dest.height / 2), dest.x + dest.width, dest.y + (dest.height / 2)); |