Gallery is a utility for managing files for functions, contours, surfaces and images.
The program is invoked as:
gallery (filename1 filename2 filename3 ...)
A window is displayed as in Figure 1, showing a preview of each file supplied as an argument on the command line.
The following file types are supported.
Double-clicking an item will open it into its repsective VLAB editor (funcedit, cuspy or bezieredit as appropriate) or xv for image files. After editing, the preview may be updated using the Refresh entry in the context menu.
The order of the items is the same as they appear on the command-line. The order can be changed by dragging items to the left or right.
Items can be added to the set with the Create New Item entry in the context menu. If the supplied filename referes to an existing file, the gallery will add that file as a new item. If the filename refers to a file that does not exist, a new file of the selected type will be created and added as an item. Note that newly created files need to be added to the specification file for the object program to save it to oofs.
An item may be removed from the gallery using the Remove Item entry in the context menu. Removal does not delete the file.
Items from function, contour and surface sets are opened as seperate items in the gallery. Since the editors are not comaptible with the set formats, saving the sets must be done after editing of an item through the context menu.
A new set can be created from all the open items of the same type. To create a new set, select the Save As Set entry from the context menu.
The gallery program may by configured by options in the 'gallery' file in the VLAB configuration directory (VLABCONFIGDIR).
Colin Smith - gallery - Implementation and documentation