home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
GUI
/
Classes
/
GUITabPanel.uc
< prev
next >
Wrap
Text File
|
2003-08-27
|
1KB
|
40 lines
// ====================================================================
// GUITabButton - A Tab Button has an associated Tab Control, and
// TabPanel.
//
// Written by Joe Wilcox
// (c) 2002, Epic Games, Inc. All Rights Reserved
// ====================================================================
class GUITabPanel extends GUIPanel
Native Abstract;
cpptext
{
void PreDraw(UCanvas* Canvas);
}
var(Menu) bool bFillHeight; // If true, the panel will set it's height = Top - ClipY
var GUITabButton MyButton;
function InitPanel(); // Should be Subclassed
function OnDestroyPanel(optional bool bCancelled) // Always call Super.OnDestroyPanel()
{
MyButton = None;
}
function ShowPanel(bool bShow) // Show Panel should be subclassed if any special processing is needed
{
SetVisibility(bShow);
}
function bool CanShowPanel() // Subclass this function to change selection behavior of the tab
{
return true;
}
defaultproperties
{
PropagateVisibility=False
}