OOF2: The Manual
Name
OOF.Graphics_n.Layer.Raise.One_Level — Raise the selected graphics layer.
Synopsis
OOF.Graphics_n.Layer.Raise.One_Level(n
)
Details
- Parent Menu: OOF.Graphics_n.Layer.Raise
-
Callback: function
GhostGfxWindow.raiseLayer
in moduleooflib.common.IO.ghostgfxwindow
-
Parameters:
n
- Layer index. Type: Integer.
Description
Raise
the given Layer
by one position in the layer stack, by
interchanging it with the Layer
above. If the Layer
above is
hidden
or currently empty[17], this command will have no
visible effect. It may be necessary to
invoke it many times to achieve the desired result. See OOF.Graphics_n.Layer.Raise.To_Top.
In GUI mode, this command operates on the currently selected
Layer
. In text mode and in scripts, the Layer
is specified by
its position n
in the window's layer list. The
unlisted layers must be counted when computing
n
. This command isn't very friendly in
scripts, because it can be hard to determine n
.