Last change
on this file since 5304 was
2645,
checked in by mkommend, 15 years ago
|
extracted external libraries and adapted dependent plugins (ticket #837)
|
File size:
1.2 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Drawing;
|
---|
3 | using System.Windows.Forms;
|
---|
4 |
|
---|
5 | namespace WeifenLuo.WinFormsUI.Docking
|
---|
6 | {
|
---|
7 | public interface IDockContent
|
---|
8 | {
|
---|
9 | DockContentHandler DockHandler { get; }
|
---|
10 | void OnActivated(EventArgs e);
|
---|
11 | void OnDeactivate(EventArgs e);
|
---|
12 | }
|
---|
13 |
|
---|
14 | public interface INestedPanesContainer
|
---|
15 | {
|
---|
16 | DockState DockState { get; }
|
---|
17 | Rectangle DisplayingRectangle { get; }
|
---|
18 | NestedPaneCollection NestedPanes { get; }
|
---|
19 | VisibleNestedPaneCollection VisibleNestedPanes { get; }
|
---|
20 | bool IsFloat { get; }
|
---|
21 | }
|
---|
22 |
|
---|
23 | internal interface IDragSource
|
---|
24 | {
|
---|
25 | Control DragControl { get; }
|
---|
26 | }
|
---|
27 |
|
---|
28 | internal interface IDockDragSource : IDragSource
|
---|
29 | {
|
---|
30 | Rectangle BeginDrag(Point ptMouse);
|
---|
31 | bool IsDockStateValid(DockState dockState);
|
---|
32 | bool CanDockTo(DockPane pane);
|
---|
33 | void FloatAt(Rectangle floatWindowBounds);
|
---|
34 | void DockTo(DockPane pane, DockStyle dockStyle, int contentIndex);
|
---|
35 | void DockTo(DockPanel panel, DockStyle dockStyle);
|
---|
36 | }
|
---|
37 |
|
---|
38 | internal interface ISplitterDragSource : IDragSource
|
---|
39 | {
|
---|
40 | void BeginDrag(Rectangle rectSplitter);
|
---|
41 | void EndDrag();
|
---|
42 | bool IsVertical { get; }
|
---|
43 | Rectangle DragLimitBounds { get; }
|
---|
44 | void MoveSplitter(int offset);
|
---|
45 | }
|
---|
46 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.