Squirrel/Client/Functions/GUICheckbox/GUICheckbox
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|GUICheckbox}} This function creates a GUI checkbox. == Syntax == <code>GUICheckbox GUICheckbox( VectorScreen pos, VectorScreen size, [ bool checked ] )</code>…') |
m (Wrong types) |
||
Line 1: | Line 1: | ||
{{Squirrel/Title|GUICheckbox}} | {{Squirrel/Title|GUICheckbox}} | ||
− | |||
This function creates a GUI checkbox. | This function creates a GUI checkbox. | ||
== Syntax == | == Syntax == | ||
− | <code>GUICheckbox GUICheckbox( VectorScreen pos, | + | <code>GUICheckbox GUICheckbox( VectorScreen pos, ScreenSize size, [ bool checked ] )</code> |
== Arguments == | == Arguments == | ||
* '''pos''' - The position of the checkbox on screen or related to its parent element | * '''pos''' - The position of the checkbox on screen or related to its parent element | ||
− | * '''size''' - The size of the checkbox | + | * '''size''' - The size of the checkbox as a ''ScreenSize'' object |
* '''checked''' - If this is true the checkbox will be selected by default | * '''checked''' - If this is true the checkbox will be selected by default | ||
Latest revision as of 19:50, 17 October 2010
This function creates a GUI checkbox.
[edit] Syntax
GUICheckbox GUICheckbox( VectorScreen pos, ScreenSize size, [ bool checked ] )
[edit] Arguments
- pos - The position of the checkbox on screen or related to its parent element
- size - The size of the checkbox as a ScreenSize object
- checked - If this is true the checkbox will be selected by default
[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.