![]() ![]() Probably the #1 usability item here is the support for logical sizes. Some nice features were that they allowed a program to as for logical size icons and get different physical size images depending on how the user's overall theme was configured, could manage those multiple sizes, could store extra info such as name, and could have extra varients including right-to-left vs. Themeable Stock Images were added to GTK+ with the major jump to GTK+ 2.0. ![]() Keep in mind that a single icon name might be used for several different sized display widgets. Second is the code to load and cache the images used. First is the widget class itself that draws a visible image. A mix of pixmaps and then internally generated pixmaps from a common SVG was used. SPIcon was the original custom widget class used to represent icons, along with all the code needed to load the images to be used. This includes the fact that the original SPIcon came from the GTK+ 1.x time frame, and predated GTK+ 2.x. However once the icon code was revisited that avoidance was dropped and work started (slightly sporadically) to move to standard GTK+ widgets and mechanisms. Standard GTK+ mechanisms had been originally avoided by a legacy design decree. Originally the icons were custom widgets with all functionality shoved mainly into a single C source file. Icon support in Inkscape has a long history and has accumulated a fair bit of cruft along the way. Over the years this area has seen distinct approaches taken, and has needs to move completely away from legacy approaches.Īside from the state of the code, this section also covers some of the details on themes and how to and and implement icons, along with some of the internal details and design issues related to the implementation. Inkscape's interface makes extensive use of custom icons, and now provides a few mechanisms and different code to handle them. 2.5 Themable Application-specific Icons. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |