Difference between revisions of "LavishGUI:lguiframe (Data Type)"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | This data type provides and controls data for | + | This data type provides and controls data for [[LavishGUI:frame_%28Element_Type%29|frame (Element Type)]]. |
== Members == | == Members == | ||
* [[DataType:int|int]] '''BackgroundColor''' : color of the background | * [[DataType:int|int]] '''BackgroundColor''' : color of the background | ||
* [[DataType:int|int]] '''BorderColor''' : color of the border | * [[DataType:int|int]] '''BorderColor''' : color of the border | ||
+ | * [[LavishGUI:lguitexture_%28Data_Type%29|lguitexture]] '''Texture''': texture of the frame | ||
== Methods == | == Methods == | ||
*'''SetBackgroundColor['''#''']''' : sets the background color to <#> (use hex value e.g. FFFFFF00) | *'''SetBackgroundColor['''#''']''' : sets the background color to <#> (use hex value e.g. FFFFFF00) | ||
Line 10: | Line 11: | ||
== Inherits == | == Inherits == | ||
− | [[ | + | [[LavishGUI:lguielement_%28Data_Type%29|lguielement]] |
== Returns == | == Returns == | ||
− | Same as ''' | + | Same as '''lguielement.Name''' |
== Examples == | == Examples == | ||
===Display BorderColor=== | ===Display BorderColor=== | ||
Line 24: | Line 25: | ||
== See Also == | == See Also == | ||
+ | * [[LavishGUI]] | ||
+ | * [[LavishGUI:frame_%28Element_Type%29|frame (Element Type)]] | ||
* [[LavishScript:Data Types|LavishScript Data Types]] | * [[LavishScript:Data Types|LavishScript Data Types]] | ||
* [[IS:Session#Data_Types|Inner Space Session Data Types]] | * [[IS:Session#Data_Types|Inner Space Session Data Types]] | ||
− | + | [[Category:LavishGUI]] | |
− | [[Category: | ||
− | |||
− |
Latest revision as of 22:51, 15 December 2005
Contents
Description
This data type provides and controls data for frame (Element Type).
Members
- int BackgroundColor : color of the background
- int BorderColor : color of the border
- lguitexture Texture: texture of the frame
Methods
- SetBackgroundColor[#] : sets the background color to <#> (use hex value e.g. FFFFFF00)
- SetBorderColor[#] : sets the background color to <#> (use hex value e.g. FFFFFF00)
Inherits
Returns
Same as lguielement.Name
Examples
Display BorderColor
- echo Border Color(in hex): ${UIElement[test].FindChild[test].BorderColor.Hex}
- Output
Border Color(in hex): ffffebce
Set background color
- UIElement[test].FindChild[test]:SetBackgroundColor[FFFF00FF]
- This command sets the BackgroundColor to FFFF00FF(pink)