KF2-YetAnotherScoreboard/ScoreboardExt/Classes/KFGUI_Page.uc
2021-05-16 06:26:35 +03: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
}