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

GUI2K4.GUI2K4QuestionPage


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
//==============================================================================
// UT2004 Style Question Page
//
// Written by Michiel Hendriks
// (c) 2003, Epic Games, Inc.  All Rights Reserved
//==============================================================================

class GUI2K4QuestionPage extends GUIQuestionPage;

function bool ButtonClick(GUIComponent Sender)
{
    local int T;

    T = GUIButton(Sender).Tag;
    ParentPage.InactiveFadeColor=ParentPage.Default.InactiveFadeColor;
    if ( NewOnButtonClick(T) ) Controller.CloseMenu( bool(T & (QBTN_Cancel|QBTN_Abort)) );
    OnButtonClick(T);
    return true;
}

defaultproperties
{
     Begin Object Class=GUIImage Name=imgBack
         Image=Texture'2K4Menus.NewControls.Display2'
         DropShadow=Texture'2K4Menus.Controls.Shadow'
         ImageStyle=ISTY_Stretched
         ImageRenderStyle=MSTY_Normal
         DropShadowY=10
         WinTop=0.297917
         WinHeight=0.401563
     End Object
     Controls(0)=GUIImage'GUI2K4.GUI2K4QuestionPage.imgBack'

     Begin Object Class=GUILabel Name=lblQuestion
         bMultiLine=True
         StyleName="TextLabel"
         WinTop=0.450000
         WinLeft=0.150000
         WinWidth=0.700000
         WinHeight=0.200000
     End Object
     Controls(1)=GUILabel'GUI2K4.GUI2K4QuestionPage.lblQuestion'

     WinTop=0.000000
     WinHeight=1.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Tue 24/10/2006 17:13:16.000 - Creation time: Wed 7/2/2007 19:16:40.546 - Created with UnCodeX