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

From Lavish Software Wiki
Jump to navigation Jump to search
Line 41: Line 41:
  
 
== See Also ==
 
== See Also ==
 +
*[[LavishGUI]]
 
* [[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]]
 

Revision as of 21:01, 16 September 2005

Description

This data type provides and controls data for ISUI consoles.

Members

  • isuifont Font : font type the console is using
  • int BorderColor : border color of the console
  • int ScrollbackColor : scrollback color of the console
  • int BackgroundColor : background color of the console
  • int SelectionColor : selection color of the console

Methods

  • SetBorderColor[#] : set the color of the border with <#> in hex format <e.g. FFFFFF00>
  • SetScrollbackColor[#] : set the color of the scrollback with <#> in hex format <e.g. FFFFFF00>
  • SetBackgroundColor#] : set the color of the background with <#> in hex format <e.g. FFFFFF00>
  • SetSelectionColor#] : set the color of selected text with <#> in hex format <e.g. FFFFFF00>

Inherits

isuielement

Returns

Same as isuielement.Name

Examples

Display the font the Console is using

  • echo Console font: ${UIElement[console].FindChild[output].Font}
Output
Console font: Terminal

Display the scrollback color the Console is using

  • echo Scrollback color(in hex): ${UIElement[console].FindChild[output].ScrollbackColor.Hex}
Output
Scrollback color(in hex): ff330000

Display the background color the Console is using

  • echo Background color(in hex): ${UIElement[console].FindChild[output].BackgroundColor.Hex}
Output
Background color(in hex): ff000033

Set the Console border color

  • UIElement[console].FindChild[output]:SetBorderColor[FFFF00FF]
This command sets the Console border to pink

Set the Console selection color

  • UIElement[console].FindChild[output]:SetSelectionColor[FF00FF00]
This command changes the color when you click and drag your mouse over text, yay, bright green!

See Also