This wiki is out of date, use the continuation of this wiki instead

Scroll window

From FenixWiki

Revision as of 00:29, 28 July 2008 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Definition

A scroll window is a region in which a scroll has been started by start_scroll() and setup with the global variable [[scroll]. This scroll window provides a view window into the scroll that has been setup there, with certain background and foreground graphics. The view window can be 'scrolled' over the scroll (and the graphics).

Processes can also be added to a scroll (see the global variable ctype), in which case a lot of things related to that process change.

  • The graphic of the process is not drawn to the screen, but to the scroll window, using the region of the scroll.
  • The z of an added process only has a meaning to the scroll window and compared to other processes added to the same scroll, meaning from a user perspective, the process is drawn at the z value of the scroll. If two processes are added to the same scroll, the one with the lower z value will be drawn over the other one.
  • The x- and y-coordinates are not relative to the upper left corner of the screen, but relative to the upper left corner of the scroll.

You can control scrolls in multiple ways.

More about scrolls:

  • A scroll with a lower z value will be drawn over a scroll with a lower z value.
  • The foreground is the plane to be controlled and the background moves relative to the foreground.

Example

Global variables
ArgcArgvCdinfoDump_typeFadingFileinfoFpsFrame_timeFull_screenGraph_modeMouseOs_idRestore_typeScale_modeScrollSound_channelsSound_freqSound_modeText_flagsText_zTimer
Personal tools