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

XInterface.GUICheckBoxButton


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
// ====================================================================
//  Class:  UT2K4UI.GUIGFXButton
//
//  Written by Joe Wilcox
//  (c) 2002, Epic Games, Inc.  All Rights Reserved
// ====================================================================

class GUICheckBoxButton extends GUIGFXButton
    Native;

// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)

var()   Material    CheckedOverlay[10];
var()   bool        bAllOverlay;

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
    local int i;

    Super.InitComponent(MyController, MyOwner);

    for ( i = 0; i < ArrayCount(CheckedOverlay); i++ )
    {
        if ( CheckedOverlay[i] == None )
            CheckedOverlay[i] = Graphic;
    }
}

defaultproperties
{
     CheckedOverlay(0)=Texture'2K4Menus.Controls.checkBoxX_b'
     CheckedOverlay(1)=Texture'2K4Menus.Controls.checkBoxX_w'
     CheckedOverlay(2)=Texture'2K4Menus.Controls.checkBoxX_f'
     CheckedOverlay(3)=Texture'2K4Menus.Controls.checkBoxX_p'
     CheckedOverlay(4)=Texture'2K4Menus.Controls.checkBoxX_d'
     Position=ICP_Scaled
     bCheckBox=True
     StyleName="CheckBox"
     bTabStop=True
}

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