Re: Redrawing slow.

2006-03-08 Thread Gravis Zero
which platform are you developing for? is it for linux or windows? windows seems to have problems drawing graphics quickly. also, are you double buffering? a bit more info about your implimentation would be nice. On Tue, 2006-03-07 at 12:32 -0500, Jordan Walsh wrote: > Hi. I have implemented a

How do I fix: GTK_WIDGET_REALIZED (widget)' failed

2006-02-17 Thread Gravis Zero
in runtime i keep getting this error which is causing me other problems and i really dont have a clue. Please help. :( (q:23538): Gtk-CRITICAL **: gtk_widget_set_events: assertion `! GTK_WIDGET_REALIZED (widget)' failed //***Program #include void MapImageRedraw (GtkEventBox *widget

GtkImage redraw "issues"

2006-01-31 Thread Gravis Zero
problem: so im using a GdkPixmap as a backend for a GtkImage. the problem im having is that they are not redrawing. hell, i dont know if they are ever drawing. im not loading from an image file, the pixmap is created manually. additionally, the pixmap gets altered and the GtkImage needs to be

Re: Forcing first exposure

2006-01-14 Thread Gravis Zero
On Fri, 2006-01-13 at 14:47 +, John Cupitt wrote: > On 1/13/06, Gravis Zero <[EMAIL PROTECTED]> wrote: > > not exposed until after you load the file. needless to say i would like > > to be able to load the image into the drawing area when loaded instead > > of wh

Forcing first exposure

2006-01-13 Thread Gravis Zero
the (lengthy) bottom line- so i ask, how can force an expose signal to a widget(drawingarea) that has never been exposed? ive tried various things they mention in documentation like invalidating a region or sending "expose_event" via g_signal_emit_by_name() which all fail. the cl

Re: Re: Urgent need inf

2006-01-10 Thread Gravis Zero
umesh, i think you were giving me a Yahoo Messenger alias but im not sure as i dont have a yahoo account. after looking into documentation and writing a lengthy email with options, i just found this function called gdk_pixbuf_from_pixdata() which can use the existing pixel data without copying it

Re: Urgent need inf

2006-01-10 Thread Gravis Zero
> So can anybody suggest me any substitute functions for this to me which will > do less cpu utilization(with in 8). > To know the cpu utilization u only give the "top" comand in any terminal. > > Thanks n Regards > Umesh im confused by your measurement of processing power. please tell us how

Re: Can I get the raw array to image data?

2006-01-01 Thread Gravis Zero
> 1) write generic C functions that are not windows > specific (requiring only a pointer to the first > element and image dimensions to process data) im not sure if the format in which the data is stored in same format, so you may need to tweak them for each format. > 3) animate the rendering by