aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/ILayoutable.cs
blob: f732a2ca142c73d925e6f31082d9a8027eb81e93 (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
using System;

namespace go
{
	public interface ILayoutable
	{
		ILayoutable Parent { get; set; }

		Rectangle ClientRectangle { get; }
		Rectangle getSlot();
		Rectangle getBounds();

		IGOLibHost TopContainer { get; }

		void RegisterForLayouting(int layoutType);
		void UpdateLayout(LayoutingType layoutType);


		Rectangle ContextCoordinates(Rectangle r);
		Rectangle ScreenCoordinates (Rectangle r);

	}
}