Squirrel/Client/Functions/GUIButton/Size
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|GUIButton.Size}} This member variable sets/returns the size of the button. == Syntax == <code>VectorScreen GUIButton.Size</code> <code>GUIButton.Size = VectorS…') |
m (Changed some types) |
||
Line 4: | Line 4: | ||
== Syntax == | == Syntax == | ||
− | <code> | + | <code>ScreenSize GUIButton.Size</code> |
− | <code>GUIButton.Size = | + | <code>GUIButton.Size = ScreenSize size</code> |
== Arguments == | == Arguments == | ||
− | * '''size''' - This is the new size of the button as a '' | + | * '''size''' - This is the new size of the button as a ''ScreenSize'' object |
== Example 1. Returning == | == Example 1. Returning == |
Latest revision as of 19:15, 15 October 2010
This member variable sets/returns the size of the button.
[edit] Syntax
ScreenSize GUIButton.Size
GUIButton.Size = ScreenSize size
[edit] Arguments
- size - This is the new size of the button as a ScreenSize object
[edit] Example 1. Returning
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Some explanation here
-- todo
[edit] Notes
-- List of used functions and other notes here.
[edit] Example 2. Setting
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Some explanation here too
-- todo
[edit] Notes
-- List of used functions and other notes here.