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

From Lavish Software Wiki
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 ISUI 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
 
* [[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 ==
[[ISSession:isuielement (Data Type)|isuielement]]
+
[[LavishGUI:lguielement_%28Data_Type%29|lguielement]]
  
 
== Returns ==
 
== Returns ==
Same as '''isuielement.Name'''
+
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]]
  
{{DT-Stub}}
+
[[Category:LavishGUI]]
[[Category:Inner Space]]
 
[[Category:Inner Space Session]]
 
[[Category:Inner Space Session Data Types]]
 

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