Mostly Harmless
Difference between revisions of "Legacy:UWindowBase"
From Unreal Wiki, The Unreal Engine Documentation Site
(BuildObjectWithProperties description) |
m |
||
Line 5: | Line 5: | ||
==Structs == | ==Structs == | ||
− | + | ===Region === | |
; int X : | ; int X : | ||
; int Y : | ; int Y : | ||
Line 13: | Line 13: | ||
:''Note:'' This Region struct is not the same as the Region struct of the [[Legacy:Actor|Actor]] class. The Region struct here describes a rectangular screen area while the [[Legacy:Actor|Actor]] Region struct describes the [[Legacy:BSP|BSP]] location of a point in the virtual world. | :''Note:'' This Region struct is not the same as the Region struct of the [[Legacy:Actor|Actor]] class. The Region struct here describes a rectangular screen area while the [[Legacy:Actor|Actor]] Region struct describes the [[Legacy:BSP|BSP]] location of a point in the virtual world. | ||
− | + | ===TexRegion === | |
; int X : | ; int X : | ||
; int Y : | ; int Y : | ||
Line 20: | Line 20: | ||
; [[Legacy:Texture (UT)|Texture (UT)]] T : | ; [[Legacy:Texture (UT)|Texture (UT)]] T : | ||
− | + | ===HTMLStyle === | |
; int BulletLevel : | ; int BulletLevel : | ||
; string LinkDestination : | ; string LinkDestination : | ||
Line 35: | Line 35: | ||
==Enums == | ==Enums == | ||
− | + | ===TextAlign === | |
; TA_Left : | ; TA_Left : | ||
; TA_Right : | ; TA_Right : | ||
; TA_Center : | ; TA_Center : | ||
− | + | ===FrameHitTest === | |
; HT_NW : | ; HT_NW : | ||
; HT_N : | ; HT_N : | ||
Line 53: | Line 53: | ||
; HT_None : | ; HT_None : | ||
− | + | ===MenuSound === | |
; MS_MenuPullDown : | ; MS_MenuPullDown : | ||
; MS_MenuCloseUp : | ; MS_MenuCloseUp : | ||
Line 61: | Line 61: | ||
; MS_ChangeTab : | ; MS_ChangeTab : | ||
− | + | ===MessageBoxButtons === | |
; MB_YesNo : | ; MB_YesNo : | ||
; MB_OKCancel : | ; MB_OKCancel : | ||
Line 67: | Line 67: | ||
; MB_YesNoCancel : | ; MB_YesNoCancel : | ||
− | + | ===MessageBoxResult === | |
; MR_None : | ; MR_None : | ||
; MR_Yes : | ; MR_Yes : | ||
Line 74: | Line 74: | ||
; MR_Cancel : | ; MR_Cancel : | ||
− | + | ===PropertyCondition === | |
; PC_None : | ; PC_None : | ||
; PC_LessThan : | ; PC_LessThan : | ||
Line 100: | Line 100: | ||
* [[Legacy:UWindowLookAndFeel|UWindowLookAndFeel]] | * [[Legacy:UWindowLookAndFeel|UWindowLookAndFeel]] | ||
* [[Legacy:UWindowWindow|UWindowWindow]] | * [[Legacy:UWindowWindow|UWindowWindow]] | ||
+ | |||
+ | ==Related topics == | ||
+ | * [[Legacy:UWindow Class Hierarchy|UWindow Class Hierarchy]] |
Revision as of 10:54, 22 December 2002
Object >> UWindowBase
UWindowBase is the parent class of objects used to create the Windows-style interface (windows, widgets, dialog boxes, menus, etc.) of WindowConsole.
Contents
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 class. The Region struct here describes a rectangular screen area while the Actor 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>,...");