2017-10-20 02:00:49 +00:00
|
|
|
Class KFGUI_FloatingWindowHeader extends KFGUI_Base;
|
|
|
|
|
|
|
|
var bool bDragWindow;
|
|
|
|
|
|
|
|
function PreDraw()
|
|
|
|
{
|
|
|
|
ComputeCoords();
|
|
|
|
}
|
2020-11-28 21:54:57 +00:00
|
|
|
|
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 21:54:57 +00:00
|
|
|
|
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
|
2023-05-14 02:49:12 +00:00
|
|
|
}
|