Subject Creating a Canvas and Icons With Xfig
One feature that spans Windows, GTK 2 (GNU/Linux), and Mac OS X is that the background image of a window can be dynamically changed. It is possible to control an application by placing icons on the canvas and use the X/Y coordinates of mouse clicks to respond appropriately. Further, the mode of the application can be signified by the same means. Here is a screenshot of the application running as an example:
For the application and other details, see this site:
The green box around the window means there are no unsaved entries in progress. The icons are also embedded in the background canvas. This can be done quite easily with Xfig by creating a library of icons and placing the icons on the canvas. Create the individual icons first, and put them in a subdirectory where your other Xfig libraries are kept. For instance:
The above method was the prettiest and most compatible across the three platforms that I could come up with to control this application.
People:
Places:
Things:
Times:
Please read our Terms of Use and our Privacy Policy
All logos and trademarks in this site are property of their respective owner. Copyright 1999-2011 Xfig.org