This interface used by widgets in VBTKit to retrieve their resources. Resources are look for using the path consisting of the value of the environment variable VBTKITPATH followed by the bundle VBTKitBundle.
INTERFACEVBTKitResources ; IMPORT Pixmap; PROCEDURE Get (name: TEXT): TEXT;
Return the contents of the resourcename
. It is a runtime exception ifname
cannot be read successfully.
PROCEDURE GetPixmap (name: TEXT): Pixmap.T;
Return the pixmapname
as a scaled pixmap. It is a runtime exception ifname
is not found or if it is not a validppm(5)
format.
END VBTKitResources.