On 12/12/10 20:18, Matthias Melcher wrote:

> The issue was that only on SGIs you could treat a regular X11 window
> as an OpenGL window without troubles. This is now again possible on
> OS X, but not on other platforms, where you either draw with native
> calls *or* with OpenGL calls. The demo program was dropped because it
> would flicker horribly on some platforms and not draw text - or crash
> all together.

As it happens, I just rebuilt the shiny demo from the 1.0.11 tarball on 
this ubuntu 10.04 system using compiz and with an nvidia graphics card, 
and it actaully works really well. Better than I've seen it work in a 
long time (and much better than it works on WinXP...)

Maybe this is an artefact of the way compiz (and presumably other modern 
WM's) are compositing the display?

Either way, it worked well.

> The easiest way to create something like a theme is to override the
> standard box styles. This is easily done by providing functions that
> draw boxes differently. See
> Fl::set_boxtype()<http://www.fltk.org/documentation.php/doc-1.1/Fl.html#Fl.set_boxtype>

Indeed so - which is where the shiny demo came into the conversation 
originally of course, as it does demonstrate this.

>  But to get back into the Shiny demo: with the new printer and screen
> driver system, it is possible to draw all widgets inside an OpenGL
> window, including all the nice effects that are available in OpenGL
> like texture mapping, transparency, even reflections... .

The same idea has occurred to me (and others I imagine.)
It would be very cool if we could have a GL (or, say, GLES) backend, but 
I guess I haven't the skills (or time, for that matter!)


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to