KF2-YetAnotherScoreboard/Src/KFClassicHUD/Classes/KFGUI_FloatingWindowHeader.uc
2020-01-10 07:14:11 -06:00

23 lines
414 B
Ucode

Class KFGUI_FloatingWindowHeader extends KFGUI_Base;
var bool bDragWindow;
function PreDraw()
{
ComputeCoords();
}
function MouseClick( bool bRight )
{
if( !bRight )
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(true);
}
function MouseRelease( bool bRight )
{
if( !bRight )
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(false);
}
defaultproperties
{
bClickable=true
}