>Override your widget s draw() function. In there, set the clipping =
>to your widget size. Then call parent()->draw(). Then draw you widget. =
>You should use double buffered windows, or you will see a blinking =
>widget.
Thanks a lot, I'll try that

> I'd suggest you try Cairo instead.
Yea i think i'll use that. I saw cairo before, but i didn't like the idea of 
"svg"... now that I'm actually exporting svg images to bitmaps, it makes total 
sense to work with svg from start to finish.
I prefer that to the idea of multiple pre-rendered sizes, as this is an open 
source project with other people working on it, and I'd like it to allow them 
to create knobs of any size.

Thanks for fast help guys, if i have other problems I'll ask, or if someone has 
other answers I'm all ears :)

Have a nice day,
Alessandro
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to