Squirrel/Client/Functions/GUIButton/GUIButton
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|GUIButton}} This function creates a GUI button. == Syntax == <code>GUIButton GUIButton( VectorScreen pos, VectorScreen size, string text )</code> == Argument…') |
m (Wrong types) |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
− | <code>GUIButton GUIButton( VectorScreen pos, | + | <code>GUIButton GUIButton( VectorScreen pos, ScreenSize size, string text )</code> |
== Arguments == | == Arguments == | ||
* '''pos''' - The position of the button on screen or related to its parent element | * '''pos''' - The position of the button on screen or related to its parent element | ||
− | * '''size''' - The size of the button | + | * '''size''' - The size of the button as a ''ScreenSize'' object |
* '''text''' - Text on the button | * '''text''' - Text on the button | ||
Latest revision as of 20:49, 17 October 2010
This function creates a GUI button.
[edit] Syntax
GUIButton GUIButton( VectorScreen pos, ScreenSize size, string text )
[edit] Arguments
- pos - The position of the button on screen or related to its parent element
- size - The size of the button as a ScreenSize object
- text - Text on the button
[edit] Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Explanation here.
-- todo
[edit] Notes
Used functions and other notes here.