Make structural changes to repository

Modernizes the repository
This commit is contained in:
Tara 2022-11-20 07:05:44 -07:00
parent a67593b58f
commit 7f7f8970bc
412 changed files with 72437 additions and 155552 deletions

View file

@ -0,0 +1,46 @@
using System;
using System.Drawing;
using System.Windows.Forms;
namespace LSLEditor.Docking
{
public interface IDockContent
{
DockContentHandler DockHandler { get; }
void OnActivated(EventArgs e);
void OnDeactivate(EventArgs e);
}
public interface INestedPanesContainer
{
DockState DockState { get; }
Rectangle DisplayingRectangle { get; }
NestedPaneCollection NestedPanes { get; }
VisibleNestedPaneCollection VisibleNestedPanes { get; }
bool IsFloat { get; }
}
internal interface IDragSource
{
Control DragControl { get; }
}
internal interface IDockDragSource : IDragSource
{
Rectangle BeginDrag(Point ptMouse);
bool IsDockStateValid(DockState dockState);
bool CanDockTo(DockPane pane);
void FloatAt(Rectangle floatWindowBounds);
void DockTo(DockPane pane, DockStyle dockStyle, int contentIndex);
void DockTo(DockPanel panel, DockStyle dockStyle);
}
internal interface ISplitterDragSource : IDragSource
{
void BeginDrag(Rectangle rectSplitter);
void EndDrag();
bool IsVertical { get; }
Rectangle DragLimitBounds { get; }
void MoveSplitter(int offset);
}
}