> The only thing I doubt is the Icon type... It should be UI-independent, and 
> I'm
> not sure how to achieve that.
>
> -- JP

I also thought about that. Icon could be just a string. At init time
the GTK GUI could load all .png files in a map:

type Icons = Map String Pixbuf

It is the GUI responsibility to map the string name to a visual image.

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to