|
From: Mats B. <ma...@pr...> - 2007-06-24 06:40:03
|
Dear all, I have produced a chasing arrows element that is supposed to be stub linked to tile. The widget (element) is native on aqua, used by Firefox/Thunderbird on all platforms, and in some of Googles web interfaces (Google Analytic). It is very useful for client developers and I think it should be a part of any toolkit. It has four "themes": o Tk drawing used as fallback o native aqua on Mac o cairo graphics on X11 o gdi+ on XP+ I'v tried to load the cairo and gdi+ dynamically similar to how tile uses uxtheme.dll. The Tk drawing is a bit primitive since it is nearly impossible to make anything look nice on 16x16 without antialiasing. Problems still not solved (which I'd appreciate getting help with): o Can't figure out how to do themed backgrounds on windows (XP) o Panics on XP complaining about a palette? o Build systems probably need to be better (unix: TEA; win: VC++7; Mac: PB). I'm not sure I've got the ttk stub linking OK since I got crashes on the first Ttk call after Ttk_InitStubs() if I used a different tile than the stub version. Cvs contains prebuilt shared libs. Get it all using: cvs -d:pserver:ano...@tc...:/cvsroot/tclbitprint login cvs -z3 -d:pserver:ano...@tc...:/cvsroot/tclbitprint co -P chasingarrows I'll be glad to add any contributers. /Mats |