AMOSi:Resource Screen Open

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

an example can be found on AMOSPro_Tutorial:Tutorials/Interface/Simple_requester.AMOS

Opens up a screen using the screen settings stored in the resource bank. These include the number of colours, the resolution, and the entire colour palette.

Resource Screen Open n,w,h,flash

n selects a screen number from 0 to 7 to be defined.

w specifies the width of the screen in pixels.

h enters the height of your screen in lines.

flash tells AMOS whether or not to flash the cursor colour. If it's set to zero, the flash will be turned off. Any other value enters a colour number to be assigned to the flash effect.

The screen will be automatically installed with the colour palette held in the resource bank