Tango ArtProvider
W. C. Bubel
inmatarian at gmail.com
Sun Jul 29 21:18:41 PDT 2007
>> I've taken a stab at writing a wxArtProvider for the Tango Desktop icon
set
> This is great news, I hadn't even thought about doing so myself, but
> do use Tango icons in my wxWidgets application.
I was under the impression that pushing your own art provider was the norm.
The code itself is fairly straight forward. The only novelty about it is the
list of macros that follow the style put in wx/artprov.h, though with the
string filling in for the "left location" of the wxFileSystem Locations
protocol. And that list, I generated with a short script written in Lua
based off of a recursive directory listing (so it's not completely compliant
to the Icon Naming Specification as of yet). There's also a wxArtID
translator, but right now it's just a large list of if blocks. I actualy
don't think any optimization of that routine would work, seeing as how the
returned resource is hashed and cached.
Though, if you're still interested and can figure out the legal issues, I'll
pass along the code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070730/348=
68e43/attachment.htm
More information about the wx-users
mailing list