Re: [gtk] GTK on memory framebuffer?



>> Can gtk act on a pure bitmap/framebuffer image (defined only as a
>> data structure), or does it need to act on the actual devices of
>> display?   If it can operate on a raw image, we can easily do some
>> blitting back and forth between two bitmaps kept in memory; the one
>> not being displayed is the one modified, until it gets swapped with
>> the currently displayed bitmap.  Is this possible with Gtk?  This
>> would allow us to use Gtk for our development for the demo, and allow
>> us to keep the overall architecture for the post-demo development.
>
>This basically requires writing a widget which uses a GdkPixmap as a back
>buffer. It happens that I've got just such a widget lying around, and would
>be happy to send to you. It's written for 2.0, though, so it may need
>some tweaking to use with 1.2

I think the desire was to target *all* of GTK+ output to a memory
object, not just a particular widget.

--p




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