AddGUILayer

From Liberty Unleashed Wiki
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