KF2-YetAnotherScoreboard/YAS/Classes/KFGUI_Page.uc

26 lines
678 B
Ucode
Raw Normal View History

2022-09-03 17:26:40 +00:00
class KFGUI_Page extends KFGUI_MultiComponent
abstract;
2020-01-10 13:14:11 +00:00
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.
2020-01-10 13:14:11 +00:00
var bool bWindowFocused; // This page is currently focused.
function DrawMenu()
{
2021-06-13 02:53:33 +00:00
if (!bNoBackground)
{
Owner.CurrentStyle.RenderWindow(Self);
}
2020-01-10 13:14:11 +00:00
}
defaultproperties
{
bUnique=true
bPersistant=true
FrameOpacity=175
2020-01-10 13:14:11 +00:00
}