2017-10-20 02:00:49 +00:00
|
|
|
Class KFGUI_FloatingWindowHeader extends KFGUI_Base;
|
|
|
|
|
|
|
|
var bool bDragWindow;
|
|
|
|
|
|
|
|
function PreDraw()
|
|
|
|
{
|
|
|
|
ComputeCoords();
|
|
|
|
}
|
2020-11-28 20:04:55 +00:00
|
|
|
function MouseClick(bool bRight)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
2020-11-28 20:12:58 +00:00
|
|
|
if (!bRight)
|
2017-10-20 02:00:49 +00:00
|
|
|
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(true);
|
|
|
|
}
|
2020-11-28 20:04:55 +00:00
|
|
|
function MouseRelease(bool bRight)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
2020-11-28 20:12:58 +00:00
|
|
|
if (!bRight)
|
2017-10-20 02:00:49 +00:00
|
|
|
KFGUI_FloatingWindow(ParentComponent).SetWindowDrag(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
|
|
|
bClickable=true
|
|
|
|
}
|