home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / GUI / Classes / MyTest2Page.uc < prev    next >
Text File  |  2003-06-30  |  2KB  |  99 lines

  1. // ====================================================================
  2. // (C) 2002, Epic Games
  3. // ====================================================================
  4.  
  5. class MyTest2Page extends GUIPage;
  6.  
  7. var Automated moComboBox ComboTest;
  8. var Automated moCheckBox CheckTest;
  9. var Automated moEditBox EditTest;
  10. var Automated moFloatEdit FloatTest;
  11. var Automated moNumericEdit NumEditTest;
  12.  
  13. function InitComponent(GUIController MyController, GUIComponent MyOwner)
  14. {
  15.     Super.Initcomponent(MyController, MyOwner);
  16.     ComboTest.AddItem("Test1");
  17.     ComboTest.AddItem("Test2");
  18.     ComboTest.AddItem("Test3");
  19.     ComboTest.AddItem("Test4");
  20.     ComboTest.AddItem("Test5");
  21. }
  22.  
  23. defaultproperties
  24. {
  25.  
  26.     Begin Object class=moComboBox Name=cOne
  27.         WinWidth=0.5
  28.         WinHeight=0.050000
  29.         WinLeft=0.25
  30.         WinTop=0.1
  31.         Caption="moComboBox Test"
  32.         CaptionWidth=0.5
  33.         ComponentJustification=TXTA_Left
  34.         TabOrder=0
  35.     End Object
  36.  
  37.     Begin Object class=moCheckBox Name=cTwo
  38.         WinWidth=0.5
  39.         WinHeight=0.050000
  40.         WinLeft=0.25
  41.         WinTop=0.2
  42.         Caption="moCheckBox Test"
  43.         CaptionWidth=0.9
  44.         bSquare=true
  45.         ComponentJustification=TXTA_Left
  46.         TabOrder=1
  47.     End Object
  48.  
  49.     Begin Object class=moEditBox Name=cThree
  50.         WinWidth=0.5
  51.         WinHeight=0.050000
  52.         WinLeft=0.25
  53.         WinTop=0.3
  54.         Caption="moEditBox Test"
  55.         CaptionWidth=0.4
  56.         TabOrder=2
  57.     End Object
  58.  
  59.     Begin Object class=moNumericEdit Name=cFive
  60.         WinWidth=0.5
  61.         WinHeight=0.050000
  62.         WinLeft=0.25
  63.         WinTop=0.5
  64.         Caption="moNumericEdit Test"
  65.         CaptionWidth=0.6
  66.         MinValue=1
  67.         MaxValue=16
  68.         TabOrder=4
  69.     End Object
  70.  
  71.     Begin Object class=moFloatEdit Name=cFour
  72.         WinWidth=0.5
  73.         WinHeight=0.050000
  74.         WinLeft=0.25
  75.         WinTop=0.4
  76.         MinValue=0.0
  77.         MaxValue=1.0
  78.         Step=0.05
  79.         Caption="moFloatEdit Test"
  80.         CaptionWidth=0.725
  81.         ComponentJustification=TXTA_Left
  82.         TabOrder=3
  83.     End Object
  84.  
  85.     ComboTest=cOne
  86.     CheckTest=cTwo
  87.     EditTest=cThree
  88.     FloatTest=cFour
  89.     NumEditTest=cFive
  90.  
  91.     Background=Material'GUIContent.EpicLogo'
  92.     WinWidth=1.0
  93.     WinHeight=1.0
  94.     WinTop=0.0
  95.     WinLeft=0.0
  96.  
  97.  
  98.  
  99. }