home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
GUI
/
Classes
/
GUIVertScrollButton.uc
< prev
next >
Wrap
Text File
|
2003-06-30
|
794b
|
33 lines
// ====================================================================
// Class: GUI.GUIVertScrollButton
//
// Written by Joe Wilcox
// (c) 2002, Epic Games, Inc. All Rights Reserved
// ====================================================================
class GUIVertScrollButton extends GUIGFXButton
Native;
#exec OBJ LOAD FILE=GUIContent.utx
var(Menu) bool UpButton;
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
Super.Initcomponent(MyController, MyOwner);
if (UpButton)
Graphic = Material'GUIContent.Menu.ArrowBlueUp';
else
Graphic = Material'GUIContent.Menu.ArrowBlueDown';
}
defaultproperties
{
StyleName="RoundScaledButton"
UpButton=false
Position=ICP_Scaled
bNeverFocus=true
bCaptureMouse=True
}