Squirrel/Client/Functions/GUIButton/Size

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(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>VectorScreen GUIButton.Size</code>
+
<code>ScreenSize GUIButton.Size</code>
<code>GUIButton.Size = VectorScreen size</code>
+
<code>GUIButton.Size = ScreenSize size</code>
  
 
== Arguments ==
 
== Arguments ==
  
* '''size''' - This is the new size of the button as a ''VectorScreen'' object
+
* '''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

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This member variable sets/returns the size of the button.

[edit] Syntax

  1. ScreenSize GUIButton.Size
  1. 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

  1.  
  2. -- todo
  3.  

[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

  1.  
  2. -- todo
  3.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox