Load9Image

From IfsoGUIWiki

Jump to: navigation, search

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

Contents

Declaration

Load9Image(srcpath:String, dimensions:String[], gImage:TImage[] Var, strSkin:String = "")
Loads the graphics for an image in 9 standard parts.

Returns

Nothing

Parameters

  • srcpath:String - Path to the image file to load.
  • dimensions:String[] - Array containing the dimensions from the dimensions file.
  • gImage:TImage[] - TImage array that will be overwritten by the 9 images that form the gadget graphics.
  • strSkin:String = "" - Path of the skin to load if loading a skin for just one instance of a gadget. Defaults to "".

Gadget Information

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

Example

Personal tools