I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Legacy:UWindowBase

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT :: Object >> UWindowBase (Package: UWindow)

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[edit]

Region[edit]

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[edit]

int X 
int Y 
int W 
int H 
Texture (UT)

HTMLStyle[edit]

int BulletLevel 
string LinkDestination 
Color TextColor 
Color BGColor 
bool bCenter 
bool bLink 
bool bUnderline 
bool bNoBR 
bool bHeading 
bool bBold 
bool bBlink 

Enums[edit]

TextAlign[edit]

TA_Left 
TA_Right 
TA_Center 

FrameHitTest[edit]

HT_NW 
HT_N 
HT_NE 
HT_W 
HT_E 
HT_SW 
HT_S 
HT_SE 
HT_TitleBar 
HT_DragHandle 
HT_None 

MenuSound[edit]

MS_MenuPullDown 
MS_MenuCloseUp 
MS_MenuItem 
MS_WindowOpen 
MS_WindowClose 
MS_ChangeTab 

MessageBoxButtons[edit]

MB_YesNo 
MB_OKCancel 
MB_OK 
MB_YesNoCancel 

MessageBoxResult[edit]

MR_None 
MR_Yes 
MR_No 
MR_OK 
MR_Cancel 

PropertyCondition[edit]

PC_None 
PC_LessThan 
PC_Equal 
PC_GreaterThan 
PC_NotEqual 
PC_Contains 
PC_NotContains 

Constants[edit]

F_Normal = 0 
Normal font
F_Bold = 1 
Bold font
F_Large = 2 
Large font
F_LargeBold = 3 
Large, Bold font

Functions[edit]

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>,...");

Known subclasses[edit]

Related topics[edit]