forked from AuroraMiddleware/gtk
New function, used to copy the values from one gc to another gc.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values from one gc to another gc.
This commit is contained in:
parent
b8e57550b7
commit
fb51b7a6c5
@ -1,3 +1,8 @@
|
||||
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
|
||||
from one gc to another gc.
|
||||
|
||||
Sat Dec 27 20:39:99 1997 Elliot Lee <sopwith@redhat.com>
|
||||
* gtk/gtkhandlebox.c: It mostly works now, please test it and make
|
||||
fixes as needed.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
|
||||
from one gc to another gc.
|
||||
|
||||
Sat Dec 27 20:39:99 1997 Elliot Lee <sopwith@redhat.com>
|
||||
* gtk/gtkhandlebox.c: It mostly works now, please test it and make
|
||||
fixes as needed.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
|
||||
from one gc to another gc.
|
||||
|
||||
Sat Dec 27 20:39:99 1997 Elliot Lee <sopwith@redhat.com>
|
||||
* gtk/gtkhandlebox.c: It mostly works now, please test it and make
|
||||
fixes as needed.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
|
||||
from one gc to another gc.
|
||||
|
||||
Sat Dec 27 20:39:99 1997 Elliot Lee <sopwith@redhat.com>
|
||||
* gtk/gtkhandlebox.c: It mostly works now, please test it and make
|
||||
fixes as needed.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
|
||||
from one gc to another gc.
|
||||
|
||||
Sat Dec 27 20:39:99 1997 Elliot Lee <sopwith@redhat.com>
|
||||
* gtk/gtkhandlebox.c: It mostly works now, please test it and make
|
||||
fixes as needed.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
|
||||
from one gc to another gc.
|
||||
|
||||
Sat Dec 27 20:39:99 1997 Elliot Lee <sopwith@redhat.com>
|
||||
* gtk/gtkhandlebox.c: It mostly works now, please test it and make
|
||||
fixes as needed.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
|
||||
from one gc to another gc.
|
||||
|
||||
Sat Dec 27 20:39:99 1997 Elliot Lee <sopwith@redhat.com>
|
||||
* gtk/gtkhandlebox.c: It mostly works now, please test it and make
|
||||
fixes as needed.
|
||||
|
@ -333,6 +333,8 @@ void gdk_gc_set_line_attributes (GdkGC *gc,
|
||||
GdkLineStyle line_style,
|
||||
GdkCapStyle cap_style,
|
||||
GdkJoinStyle join_style);
|
||||
void gdk_gc_copy (GdkGC *dst_gc,
|
||||
GdkGC *src_gc);
|
||||
|
||||
|
||||
/* Pixmaps
|
||||
|
10
gdk/gdkgc.c
10
gdk/gdkgc.c
@ -644,3 +644,13 @@ gdk_gc_set_line_attributes (GdkGC *gc,
|
||||
XSetLineAttributes (private->xdisplay, private->xgc, line_width,
|
||||
xline_style, xcap_style, xjoin_style);
|
||||
}
|
||||
|
||||
void
|
||||
gdk_gc_copy (GdkGC *dst_gc, GdkGC *src_gc)
|
||||
{
|
||||
GdkGCPrivate *dst_private, *src_private;
|
||||
|
||||
src_private = (GdkGCPrivate *) src_gc;
|
||||
dst_private = (GdkGCPrivate *) dst_gc;
|
||||
XcopyGC (src_private->xdisplay, src_private->xgc, 0xffff, dst_private->xgc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user