KF2-YetAnotherScoreboard/ScoreboardExt/Classes/KFGUI_Page.uc

29 lines
720 B
Ucode
Raw Normal View History

2020-01-10 13:14:11 +00:00
Class KFGUI_Page extends KFGUI_MultiComponent
abstract;
2020-01-10 13:14:11 +00:00
2021-06-12 20:11:37 +00:00
`include(Build.uci)
`include(Logger.uci)
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
}