Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

XInterface.JoeTest


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
// ====================================================================
//  Written by Joe Wilcox
//  (c) 2002, Epic Games, Inc.  All Rights Reserved
// ====================================================================

class JoeTest extends TestPageBase;

#exec OBJ LOAD FILE=InterfaceContent.utx

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
    Super.Initcomponent(MyController, MyOwner);
    Controls[2].OnClick=OnClick1;
}

function bool OnClick1(GUIComponent Sender)
{
    Controller.OpenMenu("xinterface.joetestB");
    return true;
}

function bool OnClick2(GUIComponent Sender)
{
//	Controller.CloseMenu(false);
    return true;
}

defaultproperties
{
     bCheckResolution=True
     Background=Texture'InterfaceContent.Backgrounds.bg10'
     Begin Object Class=GUIImage Name=TitleStrip
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageStyle=ISTY_Stretched
         WinTop=0.050000
         WinLeft=0.050000
         WinWidth=0.900000
         WinHeight=0.125000
     End Object
     Controls(0)=GUIImage'XInterface.JoeTest.TitleStrip'

     Begin Object Class=GUILabel Name=TitleText
         Caption="Joe's Amazing Test GUI"
         TextAlign=TXTA_Center
         TextColor=(B=128,G=255)
         TextFont="UT2LargeFont"
         WinTop=0.050000
         WinLeft=0.050000
         WinWidth=0.900000
         WinHeight=0.125000
     End Object
     Controls(1)=GUILabel'XInterface.JoeTest.TitleText'

     Begin Object Class=GUIButton Name=TestButton1
         Caption="Close Window"
         WinTop=0.250000
         WinLeft=0.250000
         WinWidth=0.500000
         OnKeyEvent=TestButton1.InternalOnKeyEvent
     End Object
     Controls(2)=GUIButton'XInterface.JoeTest.TestButton1'

     Begin Object Class=GUINumericEdit Name=TestNumEdit
         MinValue=0
         MaxValue=999
         WinTop=0.400000
         WinLeft=0.250000
         WinWidth=0.125000
         OnDeActivate=TestNumEdit.ValidateValue
     End Object
     Controls(3)=GUINumericEdit'XInterface.JoeTest.TestNumEdit'

     Begin Object Class=GUIEditBox Name=TestNumEdit2
         IniOption="ini:Engine.Engine.RenderDevice HighDetailActors"
         WinTop=0.600000
         WinLeft=0.250000
         WinWidth=0.500000
         OnActivate=TestNumEdit2.InternalActivate
         OnDeActivate=TestNumEdit2.InternalDeactivate
         OnKeyType=TestNumEdit2.InternalOnKeyType
         OnKeyEvent=TestNumEdit2.InternalOnKeyEvent
     End Object
     Controls(4)=GUIEditBox'XInterface.JoeTest.TestNumEdit2'

     WinHeight=1.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 23/10/2006 20:30:40.000 - Creation time: Wed 7/2/2007 19:16:42.656 - Created with UnCodeX