Difference between revisions of "LavishGUI:lguiframe (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Description ==
 
== Description ==
This data type provides and controls data for LGUI frames.
+
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
Line 26: Line 26:
 
== See Also ==
 
== See Also ==
 
* [[LavishGUI]]
 
* [[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:LavishGUI]]

Latest revision as of 22:51, 15 December 2005

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

lguielement

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)

See Also