Add
From IfsoGUIWiki
Contents |
Declaration
Add(iX:Int, iY:Int, iW:Int, iH:Int)
Pushes a viewport onto the queue in add mode. If the viewport being pushed onto the queue is less restrictive than the current viewport, then it will inherit the more strict settings. For example, if the current viewport is at x position 150, and you Add a viewport with x position 100, the new viewport will still have x position 150, since it is more restrictive. In this way, you can add more and more restrictive viewports to the queue without worrying about drawing outside of the bounds of the previous viewport.
When finished with the viewport, you must Pop() it to return the viewport to its previous state.
Returns
Nothing
Parameters
- iX:Int - X position of the viewport to be added.
- iY:Int - Y position of the viewport to be added.
- iW:Int - Width of the viewport to add.
- iH:Int - Height of the view port to add.
Gadget Information
Pertains to ifsoGUI_VP.
