| Home Page | Recent Changes | Preferences

UWindowWindow

UT :: UWindowBase >> UWindowWindow (Package: UWindow)

UWindowWindow is the base class of any visible objects in UT's menu system including the ingame speech menu.

Properties

UWindowWindow ParentWindow
The parentwindow (window in wich this window is).
UWindowWindow FirstChildWindow
The first child of this UWindowWindow. All child windows are organized in a linked list.
UWindowWindow LastChildWindow
The last child of this UWindowWindow.
UWindowWindow NextSiblingWindow
The next UWindowWindow with the same OwnerWindow like this one.
UWindowWindow PrevSiblingWindow
The previous UWindowWindow with the same OwnerWindow like this one.
UWindowWindow ActiveWindow
The currently active child window.
UWindowRootWindow Root
This is the window on wich all windows exists.
UWindowWindow OwnerWindow
This is the window that owns this window. this will normally be the same as ParentWindow, but it doesn't have to be.
UWindowWindow ModalWindow

bool bWindowVisible
If set to false this window will not be drawn
bool bNoClip
If set to true then windows that are in this window will not be 'cut off' at the edge of this window.
bool bMouseDown
Is the left mouse button down ow this window?
bool bRMouseDown
Is the right mouse button down on this window?
bool bMMouseDown
Is the middle mouse button down on this window?
bool bAlwaysBehind
This window should always be the first item in the child list of the OwnerWindow, so it will always be drawn behind all other childs.
bool bAcceptsFocus
bool bAlwaysOnTop
If set to true this window will always stay on the front, even if another window get's focus.
bool bLeaveOnscreen
If set to true this window will also be drawn when bUWindowActive is false. This is normally used to show windows without shwoing the rootwindow (UT uses this for windows like the speech menu, and console)
bool bUWindowActive
If this is false the window will not be drawn, except if bLeaveOnScreen is set to true.
bool bTransient
bool bAcceptsHotKeys
bool bIgnoreLDoubleClick
bool bIgnoreMDoubleClick
bool bIgnoreRDoubleClick

float ClickTime
float MClickTime
float RClickTime
float ClickX
float ClickY
float MClickX
float MClickY
float RClickX
float RClickY
float WinLeft, WinTop
Location of the window relative to the parent window.
float WinWidth, WinHeight
Dimensions of the window.

UWindowLookAndFeel LookAndFeel
A reference to the active GUI skin.
Region ClippingRegion
MouseCursor Cursor
The cursor to draw when the mouse is over this window.

Structs

MouseCursor

Texture (UT) Tex
Cursor texture.
int HotX, HotY
byte WindowsCursor
This tells which Windows cursor should be used when UT is not displayed fullscreen.

Enums

WinMessage

WM_LMouseDown
Left mouse button pressed.
WM_LMouseUp
Left mouse button released.
WM_MMouseDown
Middle mouse button pressed.
WM_MMouseUp
Middle mouse button released.
WM_RMouseDown
Right mouse button pressed.
WM_RMouseUp
Right mouse button released.
WM_KeyUp
A key was pressed.
WM_KeyDown
A key was released.
WM_KeyType
WM_Paint
A window should be drawn.

Constants

DE_Created = 0
A control has been created.
DE_Change = 1
The value of a control has changed.
DE_Click = 2
Click with the left mouse button.
DE_Enter = 3
DE_Exit = 4
DE_MClick = 5
Click with the middle mouse button.
DE_RClick = 6
Click with the right mouse button.
DE_EnterPressed = 7
DE_MouseMove = 8
Mouse cursor moved.
DE_MouseLeave = 9
Mouse cursor left the area of the control.
DE_LMouseDown = 10
Left mouse button pressed.
DE_DoubleClick = 11
Double click. (with left button?)
DE_MouseEnter = 12
Mouse cursor entered the area of the control.
DE_HelpChanged = 13
DE_WheelUpPressed = 14
DE_WheelDownPressed = 15

Methods

WindowEvent (WinMessage Msg, Canvas C, float X, float Y, int Key)
SaveConfigs ( )
PlayerPawn GetPlayerOwner ( ) [final]
Returns the local PlayerPawn.
LevelInfo GetLevel ( ) [final]
Returns the current map's LevelInfo.
LevelInfo GetEntryLevel ( ) [final]
Returns the LevelInfo of the entry level.
Resized ( )
Called by the SetSize function.
BeginPlay ( )
BeforeCreate ( )
Called when the window is created.
Create ( )
Called when the window is created.
AfterCreate ( )
Called when the window is created.
Activated ( )
Deactivated ( )
FocusWindow ( )
FocusOtherWindow (UWindowWindow W)
EscClose ( )
Close (optional bool bByParent)
SetSize (float W, float H) [final]
Sets the size of the window and calles the Resized function.
Tick (float Delta)
Similar to the Tick function of the Actor class.
DoTick (float Delta) [final]
Calles the Tick function.
UWindowWindow FindWindowUnder (float X, float Y) [final]
Finds the child window at the location (X,Y).
bool PropagateKey (WinMessage Msg, Canvas C, float X, float Y, int Key) [final]
Send a key press to child windows.
UWindowWindow CheckKeyFocusWindow ( ) [final]
bool MessageClients (WinMessage Msg, Canvas C, float X, float Y, int Key) [final]
ActivateWindow (int Depth, bool bTransientNoDeactivate) [final]
BringToFront ( ) [final]
SendToBack ( ) [final]
HideChildWindow (UWindowWindow Child) [final]
SetAcceptsFocus ( ) [final]
CancelAcceptsFocus ( ) [final]
bool IsActive ( )
GlobalToWindow (float GlobalX, float GlobalY, out float WinX, out float WinY) [final]
Convert absolute screen coordinates to relative window coordinates.
WindowToGlobal (float WinX, float WinY, out float GlobalX, out float GlobalY) [final]
Convert relative window coordinates to absolute screen coordinates.
ShowChildWindow (UWindowWindow Child, optional bool bAtBack) [final]
ShowWindow ( )
Display this window.
HideWindow ( )
Hide this window.
ShowModal (UWindowWindow W)
Show a window modally, i.e. deactivate this window until the new window is closed.
bool WaitModal ( )
Returns whether a window is shown modally.
WindowHidden ( )
WindowShown ( )
SetMouseWindow ( ) [final]
UWindowWindow CreateWindow (class<UWindowWindow> WndClass, float X, float Y, float W, float H, optional UWindowWindow OwnerW, optional bool bUnique, optional name ObjectName) [final]
Create a new child window.
UWindowWindow GetParent (class<UWindowWindow> ParentClass, optional bool bExactClass) [final]
UWindowWindow FindChildWindow (class<UWindowWindow> ChildClass, optional bool bExactClass) [final]
GetDesiredDimensions (out float W, out float H)
ResolutionChanged (float W, float H)
bool WindowIsVisible ( ) [final]
SetParent (UWindowWindow NewParent)
Sets the ParentWindow of this window.
UWindowMessageBox? MessageBox (string Title, string Message, MessageBoxButtons Buttons, MessageBoxResult ESCResult, optional MessageBoxResult EnterResult, optional int TimeOut)
Displays a message box window.
MessageBoxDone (UWindowMessageBox? W, MessageBoxResult Result)
Called when message box is closed.
NotifyQuitUnreal ( )
UT/Unreal is about to quit.
NotifyBeforeLevelChange ( )
The level is about to change.
NotifyAfterLevelChange ( )
The level changed.
SetCursor (MouseCursor C)
Sets the mouse cursor's style.

Canvas Methods

BeforePaint (Canvas (UT) C, float X, float Y)
Called before the window is drawn.
Paint (Canvas (UT) C, float X, float Y)
Draws the window.
AfterPaint (Canvas (UT) C, float X, float Y)
Called after the window was drawn.
PaintClients (Canvas (UT) C, float X, float Y) [final]
Draws child windows.
Tile (Canvas (UT) C, Texture (UT) T) [final]
DrawHorizTiledPieces (Canvas (UT) C, float DestX, float DestY, float DestW, float DestH, TexRegion T1, TexRegion T2, TexRegion T3, TexRegion T4, TexRegion T5, float Scale) [final]
DrawVertTiledPieces (Canvas (UT) C, float DestX, float DestY, float DestW, float DestH, TexRegion T1, TexRegion T2, TexRegion T3, TexRegion T4, TexRegion T5, float Scale) [final]
DrawClippedTexture (Canvas (UT) C, float X, float Y, texture Tex) [final]
DrawStretchedTexture (Canvas (UT) C, float X, float Y, float W, float H, texture Tex) [final]
DrawStretchedTextureSegment (Canvas (UT) C, float X, float Y, float W, float H, float tX, float tY, float tW, float tH, texture Tex) [final]
ClipText (Canvas (UT) C, float X, float Y, coerce string S, optional bool bCheckHotkey) [final]
int WrapClipText (Canvas (UT) C, float X, float Y, coerce string S, optional bool bCheckHotkey, optional int Length, optional int PaddingLength, optional bool bNoDraw) [final]
ClipTextWidth (Canvas (UT) C, float X, float Y, coerce string S, float W) [final]
DrawClippedActor (Canvas (UT) C, float X, float Y, Actor A, bool WireFrame, rotator RotOffset, vector LocOffset) [final]
DrawUpBevel (Canvas (UT) C, float X, float Y, float W, float H, Texture (UT) T) [final]
DrawMiscBevel (Canvas (UT) C, float X, float Y, float W, float H, Texture (UT) T, int BevelType) [final]
Texture (UT) GetLookAndFeelTexture ( )
TextSize (Canvas (UT) C, string Text, out float W, out float H) [final]

String Methods

string RemoveAmpersand (string S) [final]
Returnes the string without &.
byte ParseAmpersand (string S, out string Result, out string Underline, bool bCalcUnderline) [final]
ToolTip (string strTip)
ReplaceText (out string Text, string Replace, string With) [final]
Replace any occurance of Replace in Text with With.
StripCRLF (out string Text)
Remove all CR, LF and CRLF characters from the string.

Mouse Events

Click (float X, float Y)
Click with left mouse button.
MClick (float X, float Y)
Click with middle mouse button.
RClick (float X, float Y)
Click with right mouse button.
DoubleClick (float X, float Y)
Double click with left mouse button.
MDoubleClick (float X, float Y)
Double click with middle mouse button.
RDoubleClick (float X, float Y)
Double click with right mouse button.
MouseEnter ()
Called when the mouse pointer enters this window.
MouseLeave ()
Called when the mouse pointer leaves the window.
MouseMove (float X, float Y)
Called each time the mouse cursor moved.
LMouseDown (float X, float Y)
MMouseDown (float X, float Y)
RMouseDown (float X, float Y)
LMouseUp (float X, float Y)
Handles clicks and double clicks with the left mouse button.
MMouseUp (float X, float Y)
Handles clicks and double clicks with the middle mouse button.
RMouseUp (float X, float Y)
Handles clicks and double clicks with the right mouse button.
bool MouseIsOver ( ) [final]
Returns whether the mouse cursor is over this window.
GetMouseXY (out float X, out float Y) [final]
bool CheckMousePassThrough (float X, float Y)

Keyboard Events

KeyDown (int Key, float X, float Y)
KeyUp (int Key, float X, float Y)
bool HotKeyDown (int Key, float X, float Y)
bool HotKeyUp (int Key, float X, float Y)
KeyType (int Key, float X, float Y)
ProcessMenuKey (int Key, string KeyName)
KeyFocusEnter ( )
KeyFocusExit ( )
SetAcceptsHotKeys (bool bNewAccpetsHotKeys)

Known Subclasses

Subclasses sorted by package.

See UWindow Class Hierarchy for a complete list of UWindow classes.

UWindow

UMenu

  • UMenuHelpTextArea?
  • UMenuStatusBar?
  • UMenuToolBar?

UTMenu

  • DoorArea?
  • MessageWindow?
  • NotifyWindow?
  • StaticArea?
  • DemoStoryWindow?

Category Class (UT)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In