Squirrel/Client/Functions/GUILayers/AddGUILayer

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|AddGUILayer}} 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 ''GUIā€¦')
 

Latest revision as of 01:09, 18 October 2010

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.

[edit] Syntax

  1. bool AddGUILayer( GUIElement element )

[edit] 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

[edit] 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.  

[edit] Notes

Used functions and other notes here.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox