- This wiki is out of date, use the continuation of this wiki instead
Start scroll
From FenixWiki
Contents |
Definition
start_scroll ( <number of scroll>, <file>, <graphic>, <background graphic>, <number of region>, <locking indicator> )
This creates a scroll window in which it will perform a view against a background graphic. That is, by using a graphic bigger than the display window, a part of this graphic can be shown and shifted in any direction.
Returns
Nothing
Parameters
Number of scroll - the id for the new scroll window, so it can be referenced to later
File - the fpg containing the scroll graphics
Graphic - the graphic code of the main graphic to be scrolled
Background graphic - the graphic code for the background of the scroll window (deeper than the main graphic)
Number of region - the region in which to put the scroll window
Locking indicator - A value defining whether each of the two scroll planes is horizontally and vertically cyclical
+ 1 - If the foreground is horizontally cyclical. + 2 - If the foreground is vertically cyclical. + 4 - If the background is horizontally cyclical. + 8 - If the background is vertically cyclical.
Using Scrolling
For each process that you want to be part of a scroll window, you must set the variable c_type to value 'c_scroll'. Additionally, you must set the camera property of the scroll structure to the identifying code of the process you wish to be followed.