Picker - Risc PC colour picker demo

by David Spencer


Picker is a demonstration of Acorn's new colour selector dialogue box. It will normally only run on a Risc PC but if you use any programs on a non-Risc PC machine that make use of the new colour selector, you may find that you are able to run it anyway.

To load the program, click on its icon in the RISC User Menu Program or double-click on its icon in a directory display.  A window will open showing a circle in outline. You can click on the circle to open the colour selector which you can then use to change the colour of the circle.

By default the program is in live mode. This means that the
colour you edit in the colour selector is instantly used to redraw the circle. You do not have to press OK. If you subsequently press Cancel the of the circle will revert to its former colour.

You can change the program so that it does not use live update. This is done by loading the !RunImage file into Edit or DeskEdit and altering the first line of the programs after the initial comments. The !RunImage file can be found by holding down Shift and double-clicking on the !Picker icon in a directory display. It is a good idea to make a backup of the program before changing it. The line you should change initially reads:
     usemenu%=TRUE
you should change it so that it reads
     usemenu%=FALSE
and then save the file and run Picker again.

Now when you run the program, clicking Select on the window will have no effect. Instead a menu will be available which has a single item Colour. If you follow the submenu arrow you will see the colour picker window. Any editing of the colour will only take effect when the OK button is pressed.


 Copyright RISC User 1994
