KF2-YetAnotherScoreboard/YAS/Classes/KFGUI_FloatingWindowHeader.uc
GenZmeY b1635b8e28 update .editorconfig
I changed my mind a little
2023-05-02 22:15:56 +03:00

23 lines
384 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
}