Hi Mikhael,
> This is nice. And it is not such nasty, I can understand it, no problems.
You must be a seasoned Perl/Tk hacker ... like me! :)
Attached is a second (still buggy, but much improved) attempt.
> * It doesn't sort colorsets, I added "sort { $a <=> $b }" to keys.
> * It shows only 12 first colorsets for me, the scrollbar widget should be
> added. I should add "Style ShowColorsets ResizeHintOverride", otherwise
> Tk limits its windows to the screen size.
This version only shows 1 colorset & allows you to cycle through
them all. This eliminates these problems.
> * It is a bit slow. Yes, it creates 148 colored rectangles in my case,
> surrounded by other widgets, but 14 sec even on my slow CPU is many.
SCoTTie has dual AMD1900 so he doesn't notice things like that. :)
This version should have much improved performance.
> * There is a problem with refresh, try to WindowShade the window.
Yes, I haven't worked out why this happens yet.
Enjoy!
SCoTT. :)
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]