|
From: Dom L. <ci...@us...> - 2005-11-25 15:57:47
|
Update of /cvsroot/gtk-wimp/gtk-wimp/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8258 Modified Files: msw_style.c Log Message: sf.net bug 1289631 - expander arrow glitch Index: msw_style.c =================================================================== RCS file: /cvsroot/gtk-wimp/gtk-wimp/src/msw_style.c,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** msw_style.c 12 Nov 2005 14:09:10 -0000 1.33 --- msw_style.c 25 Nov 2005 15:57:35 -0000 1.34 *************** *** 291,297 **** size_t i, l, nbytes; ! /* If lfFaceName is ASCII, assume it is the common (English) name for the font. Is this valid? Do some TrueType fonts have different names in ! French, German, etc, and does the system return these if the locale is set to use French, German, etc? */ l = strlen (lfp->lfFaceName); --- 291,297 ---- size_t i, l, nbytes; ! /* If lfFaceName is ASCII, assume it is the common (English) name for the font. Is this valid? Do some TrueType fonts have different names in ! French, German, etc, and does the system return these if the locale is set to use French, German, etc? */ l = strlen (lfp->lfFaceName); *************** *** 330,334 **** record.platform_id == ISO_PLATFORM_ID) unicode_ix = i; ! else if (record.platform_id == MACINTOSH_PLATFORM_ID && record.encoding_id == 0 && /* Roman */ record.language_id == 0) /* English */ --- 330,334 ---- record.platform_id == ISO_PLATFORM_ID) unicode_ix = i; ! else if (record.platform_id == MACINTOSH_PLATFORM_ID && record.encoding_id == 0 && /* Roman */ record.language_id == 0) /* English */ *************** *** 561,565 **** setup_menu_settings (settings); ! /* http://developer.gnome.org/doc/API/2.0/gtk/GtkSettings.html http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/systemparametersinfo.asp --- 561,565 ---- setup_menu_settings (settings); ! /* http://developer.gnome.org/doc/API/2.0/gtk/GtkSettings.html http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/systemparametersinfo.asp *************** *** 1058,1062 **** gdk_draw_line (window, style->fg_gc[state], x + 2, y + expander_semi_size, ! x + expander_size - 2, y + expander_semi_size); switch (expander_style) --- 1058,1062 ---- gdk_draw_line (window, style->fg_gc[state], x + 2, y + expander_semi_size, ! x + expander_size - 3, y + expander_semi_size); switch (expander_style) *************** *** 1067,1071 **** (window, style->fg_gc[state], x + expander_semi_size, y + 2, x + expander_semi_size, ! y + expander_size - 2); break; --- 1067,1071 ---- (window, style->fg_gc[state], x + expander_semi_size, y + 2, x + expander_semi_size, ! y + expander_size - 3); break; *************** *** 1518,1522 **** /* Do not display grippers on tiny scroll bars, ! the limit imposed is rather arbitrary, perhaps we can fetch the gripper geometry from somewhere and use that... */ --- 1518,1522 ---- /* Do not display grippers on tiny scroll bars, ! the limit imposed is rather arbitrary, perhaps we can fetch the gripper geometry from somewhere and use that... */ |