aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Enums.cs
blob: aac12e16c2dfb9f73d9c965851c5d06ea51f6f82 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Crow
{
    public enum Orientation
    {
        Horizontal,
        Vertical
    }

	public enum Alignment : byte
    {
        Top = 0x01,
        Left = 0x02,
		TopLeft = 0x03,
		Right = 0x04,
		TopRight = 0x05,
		Bottom = 0x08,
        BottomLeft = 0x0a,
        BottomRight = 0x0c,
		Center = 0x10
    }
    public enum HorizontalAlignment
    {
        Left,
        Right,
        Center,
    }
    public enum VerticalAlignment
    {
        Top,
        Bottom,
        Center,
    }

    public enum RectanglesRelations
    {
        NoRelation, //nothing to do
        Intersect,  //clipped clear & repaint, no test
        Contains,   //clipped clear & repaint, test children
        Equal       //repaint, no test
    }
}