aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Enums.cs
blob: 34e368d705118ccd8b3f811d602ed98399a29991 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace go
{
    public enum Orientation
    {
        Horizontal,
        Vertical
    }
    public enum Alignment
    {
        None,
        TopCenter,
        TopStretch,
        LeftCenter,
        LeftStretch,
        RightCenter,
        RightStretch,
        BottomCenter,
        BottomStretch,
        TopLeft,
        TopRight,
        BottomLeft,
        BottomRight,
        Center,
        Fit,
        HorizontalStretch,
        VerticalStretch
    }

    public enum PanelBorderPosition
    {
        Top,
        Left,
        Right,
        Bottom,
        TopLeft,
        TopRight,
        BottomLeft,
        BottomRight,
        Moving,
        Closing,
        ClientArea
    }
    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
    }
}