PointEd enables the mouse pointer to be redefined. When run, a 32 by 32 grid is displayed, along with a menu and two colour selectors.
Editing:
Clicking Select on any square within the grid will cause the square to be filled with the current editing colour. The current editing colour is selected by clicking Select over one of the three colours in the colour selector box below the menu. Clicking Adjust over a square will clear that square, so that it becomes transparent in the pointer definition. Clicking Menu on a square will set the active point to that square. The active point is the part of the pointer which determines the pointer position. For the conventional arrow pointer, this is the top-left corner. An actual size mouse pointer is displayed at the bottom right of the display.
Note: There must only be one active point. If no active point is defined, then the top left-hand corner is used. If more than one active point is defined, then the one nearest the bottom left-hand corner is used.
To alter the mouse palette, select a colour as the current editing colour, and then click Select on one of the sixteen colours shown in the top right-hand corner of the display. The display is then updated.
The menu:
The menu provides options for loading, saving, changing pointer, flipping the pointer, and terminating the program. The options work as follows:
Ŷ Load: Choosing this option will display a box allowing a filename to be entered. Entering a filename and pressing Return results in the named pointer being loaded.
Ŷ Save: Displays a box allowing a filename to be entered. Pressing Return results in the current pointer definition being saved in the named file.
Ŷ Define Pointer II: This causes the displayed pointer to be set to the pointer being defined.
Ŷ Pointer I: This causes the pointer to be restored to the default arrow shape.
Ŷ Flip Top/Bottom: Causes the pointer to be flipped about the x-axis.
Ŷ Flip Left/Right: Causes the pointer to be flipped about the y-axis.
Ŷ Quit: Choosing this option displays a dialogue box containing the message 'Sure Y/N'. Clicking Select or pressing Y quits, while clicking Adjust or pressing any other key resumes.
Using the pointer in your programs:
To use a pointer, copy the pointer definition file to your directory, and rename it to 'Pointer'. Then append PROCdefinepointer from the Basic program !PointEd.Ptr_Def to your own program. Calling PROCdefinepointer will then define pointer 2 according to the file Pointer, which can then be selected using MOUSE ON 2.