2020-01-10 13:14:11 +00:00
|
|
|
Class KFGUI_Page extends KFGUI_MultiComponent
|
2021-05-16 09:40:02 +00:00
|
|
|
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.
|
2021-05-16 09:40:02 +00:00
|
|
|
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-05-16 09:40:02 +00:00
|
|
|
if( !bNoBackground )
|
|
|
|
{
|
|
|
|
Owner.CurrentStyle.RenderWindow(Self);
|
|
|
|
}
|
2020-01-10 13:14:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
2021-05-16 09:40:02 +00:00
|
|
|
bUnique=true
|
|
|
|
bPersistant=true
|
|
|
|
FrameOpacity=175
|
2020-01-10 13:14:11 +00:00
|
|
|
}
|