UWindowBase
UWindowBase is the parent class of objects used to create the Windows-style interface (windows, widgets, dialog boxes, menus, etc.) of WindowConsole.
See GUI for a similar class in UT2003.
Structs
Region
- int X
- int Y
- int W
- int H
Note: This Region struct is not the same as the Region struct of the Actor (UT) class. The Region struct here describes a rectangular screen area while the Actor (UT) Region struct describes the BSP location of a point in the virtual world.
TexRegion
- int X
- int Y
- int W
- int H
- Texture (UT) T
HTMLStyle
- int BulletLevel
- string LinkDestination
- Color TextColor
- Color BGColor
- bool bCenter
- bool bLink
- bool bUnderline
- bool bNoBR
- bool bHeading
- bool bBold
- bool bBlink
Enums
TextAlign
- TA_Left
- TA_Right
- TA_Center
FrameHitTest
- HT_NW
- HT_N
- HT_NE
- HT_W
- HT_E
- HT_SW
- HT_S
- HT_SE
- HT_TitleBar
- HT_DragHandle
- HT_None
MenuSound
- MS_MenuPullDown
- MS_MenuCloseUp
- MS_MenuItem
- MS_WindowOpen
- MS_WindowClose
- MS_ChangeTab
MessageBoxButtons
- MB_YesNo
- MB_OKCancel
- MB_OK
- MB_YesNoCancel
MessageBoxResult
- MR_None
- MR_Yes
- MR_No
- MR_OK
- MR_Cancel
PropertyCondition
- PC_None
- PC_LessThan
- PC_Equal
- PC_GreaterThan
- PC_NotEqual
- PC_Contains
- PC_NotContains
Constants
- F_Normal = 0
- Normal font
- F_Bold = 1
- Bold font
- F_Large = 2
- Large font
- F_LargeBold = 3
- Large, Bold font
Functions
- function Region NewRegion(float X, float Y, float W, float H)
- Returns a new Region struct based on the parameters.
- function TexRegion NewTexRegion(float X, float Y, float W, float H, Texture (UT) T)
- Returns a new TexRegion struct based on the parameters.
- function Region GetRegion(TexRegion T)
- Creates a Region struct from a TexRegion struct.
- static function int InStrAfter(string Text, string Match, int Pos)
- Searches for Match in Text starting at character position Pos.
- static function Object BuildObjectWithProperties(string Text)
- This will create an object of the class you want, with properties set you want
use: BuildObjectWithProperties("<objectclass>,<property>=<value>,<property>=<value>,...");