Class DockHintWindow
Helper class used to handle docking windows dragging and docking.
Inheritance
System.Object
DockHintWindow
Namespace: FlaxEditor.GUI.Docking
Assembly: FlaxEngine.CSharp.dll
Syntax
public class DockHintWindow : Object
Methods
CalculateDockRect(DockState, ref Rectangle)
Calculates window rectangle in the dock window.
Declaration
public static Rectangle CalculateDockRect(DockState state, ref Rectangle rect)
Parameters
FlaxEditor.GUI.Docking.DockState
state
Window dock state. |
Rectangle
rect
Dock panel rectangle. |
Returns
Rectangle
Calculated window rectangle. |
Create(DockWindow)
Creates the new dragging hit window.
Declaration
public static DockHintWindow Create(DockWindow toMove)
Parameters
DockWindow
toMove
Dock window to move. |
Returns
DockHintWindow
The dock hint window object. |
Create(FloatWindowDockPanel)
Creates the new dragging hit window.
Declaration
public static DockHintWindow Create(FloatWindowDockPanel toMove)
Parameters
FloatWindowDockPanel
toMove
Floating dock panel to move. |
Returns
DockHintWindow
The dock hint window object. |
Dispose()
Releases unmanaged and - optionally - managed resources.
Declaration
public void Dispose()