pos_x
pos_y
Distance of the upper left border of a panel,
text, or view object
from the upper left border of the screen. The position values can be changed during gameplay in order to scroll text or move the panel or view over the screen.
The position may be outside the screen; then only the visible part of the
object is displayed.
Texts can be horizontally or vertically scrolled by moving pos_x or pos_y.
Range:
-screen size .. + screen size (default: 0)
Type:
varExample:
PANEL* aircraft_pan =
{
bmap = "compass.pcx";
pos_x = 4;
pos_y = 4;
flags = SHOW;
}
See also:
PANEL, TEXT, VIEW, size_y, offset_y, layer
► latest
version online