Drawbox

From IfsoGUIWiki

Jump to: navigation, search

Internal Function - Should only be called by the GUI and or a gadget.

Contents

Declaration

Drawbox(images:TImage[], rX:Int, rY:Int, rW:Int, rH:Int, bDrawBorder:Int = True, bTileSides:Int = False, bTileCenter:Int = False)
Draws the standard ifsoGUI image based on 4 corners, 4 sides, and a center background portion.

Returns

Nothing

Parameters

  • images:TImage[] - The nine images to draw the gadget.
  • rX:Int - X position where to draw the gadget.
  • rY:Int - Y position where to draw the gadget.
  • rW:Int - The width to draw the gadget.
  • rH:Int - The height to draw the gadget.
  • bDrawBorder:Int - True or False, whether or not to draw the border.
  • bTileSides:Int - True or False, whether or not to tile the sides. If not tiled, they are stretched.
  • bTileCenter:Int - True or False, whether or not to tile the center. if not tiled, it is stretched.

Gadget Information

Internal Function - Should only be called by the GUI and or a gadget.

Example

Personal tools