Difference between revisions of "LavishGUI:lguiframe (Data Type)"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* [[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) |
Revision as of 21:06, 9 December 2005
Contents
Description
This data type provides and controls data for LGUI frames.
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)