Hi,
I am trying to modify the fl_dial class to look something like this:
http://soundsandgear.com/wp-content/uploads/2009/07/massive.jpg

I have created the images i need, but i can't find a way to show them "nicely". 
Using fltk image classes I have some problems:
1) when i scale them they look bad.
2) i can't rotate them
3) fltk doesn't seem to handle transparency correctly (with .xpm alpha works, 
but it's only a 1 bit alpha)
4) it crashes if i try to load a too big png (eg. 500*500 px)

I tried doing some test with opengl (as the documentation says it's possible to 
use opengl to draw inside a widget) but the opengl image just flashes and 
disappears suddenly. Is it actually possible to draw a widget with openGL? Can 
someone give me a small example?

I also tried using another library for image processing (cImg), but they use a 
different image representation, so i have to convert it pixel by pixel and it's 
too slow.

Tl;dr: HOW DO I GO ABOUT MAKING A COOL LOOKING WIDGET? (antialiased, scales 
properly (interpolation))

I would also like to know, if my widget "changes shape" is there a way in his 
draw() method to first redraw the background and then draw the widget itself? 
otherwise it would leave a 'trail'...

please someone help me!
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to