Re: GdkColor and GdkGC question
- From: Andrei Zmievski <andrei ispi net>
- To: gtk-list gnome org
- Subject: Re: GdkColor and GdkGC question
- Date: Mon, 26 Feb 2001 11:39:44 -0600
Havoc,
> From GTK 2, can cut-and-paste into GTK 1.2 as far as I see, but have
> to include gdk/gdkx.h.
>
> void
> gdk_colormap_query_color (GdkColormap *colormap,
> gulong pixel,
> GdkColor *result)
> {
> XColor xcolor;
> GdkVisual *visual;
This obviously won't work on Windows.. Or does Windows port
automatically fill in the red/green/blue values?
Is there a #define that I can use to conditionally compile this function
in under X-windows?
-Andrei
Windows 2000 is certified not to crash more than
once a day, so what is the bootup time, 24 hours?
-- Sam Liddicott
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]