forked from AuroraMiddleware/gtk
Don't clear all of the pen_style, just the PS_STYLE_MASK. Seems to fix
2002-03-22 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441, but that is just the special case of one-pixel wide one-pixel on-off dotted lines. To fully implement generic X11 style dashed lines a major rewrite would be needed.
This commit is contained in:
parent
74c2378178
commit
1ffa06c6a5
@ -1,3 +1,11 @@
|
||||
2002-03-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
|
||||
all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
|
||||
but that is just the special case of one-pixel wide one-pixel
|
||||
on-off dotted lines. To fully implement generic X11 style dashed
|
||||
lines a major rewrite would be needed.
|
||||
|
||||
2002-03-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-03-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
|
||||
all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
|
||||
but that is just the special case of one-pixel wide one-pixel
|
||||
on-off dotted lines. To fully implement generic X11 style dashed
|
||||
lines a major rewrite would be needed.
|
||||
|
||||
2002-03-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-03-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
|
||||
all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
|
||||
but that is just the special case of one-pixel wide one-pixel
|
||||
on-off dotted lines. To fully implement generic X11 style dashed
|
||||
lines a major rewrite would be needed.
|
||||
|
||||
2002-03-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-03-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
|
||||
all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
|
||||
but that is just the special case of one-pixel wide one-pixel
|
||||
on-off dotted lines. To fully implement generic X11 style dashed
|
||||
lines a major rewrite would be needed.
|
||||
|
||||
2002-03-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-03-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
|
||||
all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
|
||||
but that is just the special case of one-pixel wide one-pixel
|
||||
on-off dotted lines. To fully implement generic X11 style dashed
|
||||
lines a major rewrite would be needed.
|
||||
|
||||
2002-03-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
|
||||
|
@ -1,3 +1,11 @@
|
||||
2002-03-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
|
||||
all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
|
||||
but that is just the special case of one-pixel wide one-pixel
|
||||
on-off dotted lines. To fully implement generic X11 style dashed
|
||||
lines a major rewrite would be needed.
|
||||
|
||||
2002-03-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
|
||||
|
@ -614,7 +614,7 @@ gdk_win32_gc_set_dashes (GdkGC *gc,
|
||||
return;
|
||||
}
|
||||
|
||||
win32_gc->pen_style = PS_COSMETIC; /* ??? */
|
||||
win32_gc->pen_style &= ~PS_STYLE_MASK;
|
||||
switch (n)
|
||||
{
|
||||
case 2:
|
||||
@ -627,7 +627,7 @@ gdk_win32_gc_set_dashes (GdkGC *gc,
|
||||
else
|
||||
{
|
||||
win32_gc->pen_style |= PS_DOT;
|
||||
GDK_NOTE (GC, g_print ("gdk_win32_gc_set_dashes: PS_DOT (%d,%d)\n",
|
||||
GDK_NOTE (GC, g_print ("gdk_win32_gc_set_dashes: PS_DOT (%d,%d)\n",
|
||||
dash_list[0], dash_list[1]));
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user