2020-01-10 07:14:11 -06:00
|
|
|
Class KFGUI_FloatingWindowHeader extends KFGUI_Base;
|
|
|
|
|
|
|
|
var bool bDragWindow;
|
|
|
|
|
|
|
|
function PreDraw()
|
|
|
|
{
|
2021-05-16 12:40:02 +03:00
|
|
|
ComputeCoords();
|
2020-01-10 07:14:11 -06:00
|
|
|
}
|
|
|
|
function MouseClick( bool bRight )
|
|
|
|
{
|
2021-05-16 12:40:02 +03:00
|
|
|
if( !bRight )
|
|
|
|
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(true);
|
2020-01-10 07:14:11 -06:00
|
|
|
}
|
|
|
|
function MouseRelease( bool bRight )
|
|
|
|
{
|
2021-05-16 12:40:02 +03:00
|
|
|
if( !bRight )
|
|
|
|
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(false);
|
2020-01-10 07:14:11 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
2021-05-16 12:40:02 +03:00
|
|
|
bClickable=true
|
2020-01-10 07:14:11 -06:00
|
|
|
}
|