Drawbox2

From IfsoGUIWiki

Jump to: navigation, search

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

Contents

Declaration

Drawbox2(images:ifsoGUI_Image, 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:ifsoGUI_Image - The image and arrays that describe 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

This function is left in to be backwards compatible. v1.15 includes Drawbox2 which is used now.
Internal Function - Should only be called by the GUI and or a gadget.

Example

Personal tools