WindowProp

Last Modified: 1/18/2021

Displays the Window plane and sets its properties.

Arguments

NameTypeRequiredDescription
HzAlign System Identifier Yes The horizontal alignment for the Window plane. Valid values are Left and Right
VtAlign System Identifier Yes The vertical alignment for the Window plane. Valid values are Up and Down
Width Integer Yes The width you want the Window plane to be in tiles. Entries must be even numbered.
Height Integer Yes The height you want the Window plane to be in tiles.

Example

Syntax: WindowProp <HzAlign>, <VtAlign>, <Width>, <Height>
    WindowProp Left,Down,6,3
    
    SetGfxPlane Window
    
    For y = 0 To 27
        For x = 0 To 39
            DrawTile 1,x,y
        Next
    Next

Remarks

If the alignment is to the Left or Right and the value of Height is 0, then the Window will display only on the aligned edge by the amount specified. The same holds true for aligning vertically.

See Also

SetGfxPlane