home *** CD-ROM | disk | FTP | other *** search
- Feb. 13 1988
- PTRDATA Vs 1.00
-
- The Intuition function SetPointer() allows you to attach a custom pointer
- to a window by specifing the Window, Sprite, height, width, xoffset and
- yoffset.
- The Preferences program allows you to design your custom pointers but it
- saves them as a preferences structure in the devs: directory as a file
- system-configuration.
- This program will read the system-configuration file and then generate
- the C data needed to use the SetPointer function.
-
- USAGE
-
- ptrdata devs:system-configuration outfile
-
- 'devs:system-configuration' is a file name of any preferences file built
- by the WorkBench Preferences program.
- 'outfile' is the new file that ptrdata will create containing the C
- data. Note that if outfile exists it will be replaced.
-
- To use the pointer in your C program merge the file 'outfile' with your
- source and then after opening your window call:
-
- SetPointer(MyWindow,ptrdata,PTR_HEIGHT,PTR_WIDTH,PTR_XOFFSET,PTR_YOFFSET);
-
- You can return to the default pointer with:
-
- ClearPointer(MyWindow);
-
-
- Donald L. Wahl
- CIS 76515,1510
- BIX dwahl
- Plink ops492
-