blob: 3315393576d33ceef31d65688d8250b8f6453831 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using System;
using System.Collections.Generic;
namespace Crow
{
public interface ILayoutable
{
/// <summary> Parent in the graphic tree </summary>
ILayoutable Parent { get; set; }
/// <summary> The logical parent (used mainly for bindings) as opposed
/// to the parent in the graphic tree </summary>
ILayoutable LogicalParent { get; set; }
Rectangle ClientRectangle { get; }
Rectangle getSlot();
bool ArrangeChildren { get; }
LayoutingType RegisteredLayoutings { get; set; }
void RegisterForLayouting(LayoutingType layoutType);
void RegisterClip(Rectangle clip);
bool UpdateLayout(LayoutingType layoutType);
Rectangle ContextCoordinates(Rectangle r);
Rectangle ScreenCoordinates (Rectangle r);
}
}
|