I would like to work on a higher level wrapper around headline icons. My initial proposal is that instead of using images directly a HeadIcon wrapper would be inserted into a HeadIconList.
The HeadIconList would behave like a normal list of HeadIcon objects and would be created from, and written too, the exact same data as already exists. The icon drawing logic would read data from the high level object rather than the raw data. HeadIcon objects would have an image parameter and also a getImage method so the actual image displayed could depend on circumstances determined at the time of display. This would make it easier to attach rclick menus to icons and to provide icons that shows different images to reflect a particular state but still have the same auxiliary data such as rclick menus. The use case I am basing my ideas on is a possible bazaar/mercurial integration plugin. These are initial thoughts and I have not coded anything yet. If no one objects I will start a feature branch to work on this proposal when I have finished with my current pet project. If anyone has there own thoughts or plans in this area, or any objections, do tell. Bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
