home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
GUI
/
Classes
/
MyTest2Page.uc
< prev
next >
Wrap
Text File
|
2003-06-30
|
2KB
|
99 lines
// ====================================================================
// (C) 2002, Epic Games
// ====================================================================
class MyTest2Page extends GUIPage;
var Automated moComboBox ComboTest;
var Automated moCheckBox CheckTest;
var Automated moEditBox EditTest;
var Automated moFloatEdit FloatTest;
var Automated moNumericEdit NumEditTest;
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
Super.Initcomponent(MyController, MyOwner);
ComboTest.AddItem("Test1");
ComboTest.AddItem("Test2");
ComboTest.AddItem("Test3");
ComboTest.AddItem("Test4");
ComboTest.AddItem("Test5");
}
defaultproperties
{
Begin Object class=moComboBox Name=cOne
WinWidth=0.5
WinHeight=0.050000
WinLeft=0.25
WinTop=0.1
Caption="moComboBox Test"
CaptionWidth=0.5
ComponentJustification=TXTA_Left
TabOrder=0
End Object
Begin Object class=moCheckBox Name=cTwo
WinWidth=0.5
WinHeight=0.050000
WinLeft=0.25
WinTop=0.2
Caption="moCheckBox Test"
CaptionWidth=0.9
bSquare=true
ComponentJustification=TXTA_Left
TabOrder=1
End Object
Begin Object class=moEditBox Name=cThree
WinWidth=0.5
WinHeight=0.050000
WinLeft=0.25
WinTop=0.3
Caption="moEditBox Test"
CaptionWidth=0.4
TabOrder=2
End Object
Begin Object class=moNumericEdit Name=cFive
WinWidth=0.5
WinHeight=0.050000
WinLeft=0.25
WinTop=0.5
Caption="moNumericEdit Test"
CaptionWidth=0.6
MinValue=1
MaxValue=16
TabOrder=4
End Object
Begin Object class=moFloatEdit Name=cFour
WinWidth=0.5
WinHeight=0.050000
WinLeft=0.25
WinTop=0.4
MinValue=0.0
MaxValue=1.0
Step=0.05
Caption="moFloatEdit Test"
CaptionWidth=0.725
ComponentJustification=TXTA_Left
TabOrder=3
End Object
ComboTest=cOne
CheckTest=cTwo
EditTest=cThree
FloatTest=cFour
NumEditTest=cFive
Background=Material'GUIContent.EpicLogo'
WinWidth=1.0
WinHeight=1.0
WinTop=0.0
WinLeft=0.0
}