2017-10-19 21:00:49 -05:00
|
|
|
Class KFGUI_FloatingWindowHeader extends KFGUI_Base;
|
|
|
|
|
|
|
|
var bool bDragWindow;
|
|
|
|
|
|
|
|
function PreDraw()
|
|
|
|
{
|
|
|
|
ComputeCoords();
|
|
|
|
}
|
2020-11-29 00:54:57 +03:00
|
|
|
|
2020-11-28 23:04:55 +03:00
|
|
|
function MouseClick(bool bRight)
|
2017-10-19 21:00:49 -05:00
|
|
|
{
|
2020-11-28 23:12:58 +03:00
|
|
|
if (!bRight)
|
2017-10-19 21:00:49 -05:00
|
|
|
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(true);
|
|
|
|
}
|
2020-11-29 00:54:57 +03:00
|
|
|
|
2020-11-28 23:04:55 +03:00
|
|
|
function MouseRelease(bool bRight)
|
2017-10-19 21:00:49 -05:00
|
|
|
{
|
2020-11-28 23:12:58 +03:00
|
|
|
if (!bRight)
|
2017-10-19 21:00:49 -05:00
|
|
|
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
|
|
|
bClickable=true
|
2023-05-14 05:49:12 +03:00
|
|
|
}
|