KF2-YetAnotherScoreboard/YAS/Classes/KFGUI_Page.uc
2022-09-03 20:26:40 +03:00

26 lines
678 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
}