"Martin DeMello" <martindemello / gmail.com> writes:

> On 9/9/06, David Vallner <david / vallner.net> wrote:
>> Benjohn Barnes wrote:
>> > Personally, I'm on a Mac. If there is a solution for my world, that
>> > would do for me. Something global would rock though.
>>
>> The best I can think of in portability is using wxWidgets / FOX / Gtk to
>> draw inside a 2D buffer in a window / GUI widget.
>
> I think all the GUI toolkits insist on running their own mainloop,
> which plays badly with IRB

>> OpenGL or SDL to draw full-screen.
>
> You can run OpenGL or SDL inside their own windows. I think this is
> the way to go.

rcairo works without a main loop if you only are interested in
drawing.  (I.e. you'll see inactive windows.)

However, the source for the X11 and Quartz canvas are unreleased and
only on my disk.

And the drawing API needs a nice and easy wrapper, of course.

> martin
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org