AddGUILayer

From Liberty Unleashed Wiki
Revision as of 01:09, 18 October 2010 by Juppi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function creates a new GUI layer for a GUI element. A layer allows the element to be rendered. Possible element types (later referred as GUIElement) are either GUIEditbox, GUILabel, GUIMemobox, GUISprite or GUIWindow. If you want to add a layer for another element type, it must be added as a child for one of the types listed here.

Syntax

  1. bool AddGUILayer( GUIElement element )

Arguments

  • element - This is the GUI element you wish to add the layer for. If an invalid element type is used this function will throw an error

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation here.

  1.  
  2. -- todo
  3.  

Notes

Used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox