Re: [gtk-list] Re: Drawing in GtkDrawingArea



>    color->pixel = (gulong)(pixel.red()*65536 + pixel.green()*256 + pixel.blue());

This is not useful at all, since gdk_color_alloc() will fill in the
pixel field for you.  Is this code taken from somewhere like the Gtk
tutorial?  People seem to be doing it a lot...

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]