Hi,
On Fri, 23 Sep 2011 19:28:29 +0200
wrote fuchur <flohtransporter@xxxxxxxxx>:
>Hi,
>
>On Sat, 27 Aug 2011 09:20:12 +0200
>wrote Christopher Roy Bratusek <nano@xxxxxxxxxxxxx>:
>
>>Alternatively StyleTab may use recolor-image like in Crux theme and let the
>>user choose the color? But this would involve additional tasks in theme.jl.
>
>Ok now we can recolor StyleTab. But if you change the size of the
>titlebar or buttons the foreground will not scale and redraw correct
>(read comment in theme.jl) and i have no idea how to fix it. I have
>rename style DarkColor in Default and remove all other styles (will
>readd later if redraw ready but it take some time). Settings from prev
>StyleTab will not work so you need to set your custom settings for
>Styletab.
>
>The patch is for the theming-1.9 branch.
>
>Download image here:
>http://mitglied.multimania.de/fuchur2004/Default.tar.bz2
>
I have check why restart with StyleTab is ~ 5 - 8 times slower as load
StyleTab in sawfish, but i have no idea. I think it has something to do
with session restore/load in sawfish. You can check it. Load a other
theme -> restart sawfish, now load StyleTab and check load time (it
takes here 2 - 4 secons) now restart sawfish with loaded StyleTab an
check time to restart (it can takes here 15 secons). Fix for this is
not on my todo list (i don't know what happens in sawfish by restart),
it think it's not a problem with the theme/theme.jl file.
I have add hash tables in StyleTab. Now all images (base and recolor)
save in "styletab-frame-cache". If you think it is faster to load
StyleTab if we save and restore "styletab-frame-cache" (when/and it is
possible) show me the code to save and restore a hash table and i will
try to add in StyleTab. This is also not on my todo list.
Spinbuttons in StyleTab should replace with a (working) combo box, not
on my to do list.
I have update images (add links and compress images). Download here:
https://sites.google.com/site/flohtransporter/files/Default-29.09.11.tar.bz2
Changelog:
Add hash tables for images.
Fix resize bug for buttons.
Fix recolor bug by resize.
Split "create-frames" in "make-buttons" and "make-frame".
Add maximized to call-after-state-changed.
On my todo list is: redraw the remove styles for readd.
--
Regards,
Fuchur
GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53 C116 E5BC 70D5 B8D7 B2B0