Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
// ==================================================================== // Class: GUI.UT2SpinnerButton // // Written by Joe Wilcox // (c) 2002, Epic Games, Inc. All Rights Reserved // ==================================================================== /*============================================================================= In Game GUI Editor System V1.0 2003 - Irrational Games, LLC. * Dan Kaplan =============================================================================*/ #if !IG_GUI_LAYOUT #error This code requires IG_GUI_LAYOUT to be defined due to extensive revisions of the origional code. [DKaplan] #endif /*===========================================================================*/ class GUISpinnerButton extends GUIGFXButton HideCategories(Menu,Object) Native; var(GUISpinnerButton) config bool PlusButton "If true this uses a plus graphic, else it uses minus graphic"; var(GUISpinnerButton) config Material PlusImage "Image to use for a plus"; var(GUISpinnerButton) config Material MinusImage "Image to use for a minus"; function InitComponent(GUIComponent MyOwner) { Super.InitComponent(MyOwner); if (PlusButton) Graphic = PlusImage; else Graphic = MinusImage; } defaultproperties { StyleName="STY_RoundScaledButton" PlusButton=false Position=ICP_Scaled bNeverFocus=true bRepeatClick=true bCaptureMouse=true PlusImage=Material'GUITribes.NumButPlus' MinusImage=Material'GUITribes.NumButMinus' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |