KF2-YetAnotherScoreboard/Src/KFClassicHUD/Classes/KFGUI_Page.uc
2020-01-10 07:14:11 -06:00

26 lines
742 B
Ucode

Class KFGUI_Page extends KFGUI_MultiComponent
abstract;
var() byte FrameOpacity; // Transperancy of the frame.
var() bool bPersistant, // Reuse the same menu object throughout the level.
bUnique, // If calling OpenMenu multiple times with same menu class, only open one instance of it.
bAlwaysTop, // This menu should stay always on top.
bOnlyThisFocus, // Only this menu should stay focused.
bNoBackground; // Don't draw the background.
var bool bWindowFocused; // This page is currently focused.
function DrawMenu()
{
if( !bNoBackground )
{
Owner.CurrentStyle.RenderWindow(Self);
}
}
defaultproperties
{
bUnique=true
bPersistant=true
FrameOpacity=175
}