summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/GameOfLife.gml
blob: 4a0d0803f1e38cbbf8f417ba1b9780a39b1ec38c (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
@GUI::Widget {
    layout: @GUI::VerticalBoxLayout {
    }

    @GUI::ToolbarContainer {

        @GUI::Toolbar {
            name: "toolbar"

            @GUI::Label {
                text: "Columns:"
                fixed_width: 60
            }

            @GUI::SpinBox {
                name: "columns_spinbox"
                min: 10
                max: 999
                fixed_width: 40
            }
            @GUI::VerticalSeparator {
            }
            @GUI::Label {
                text: "Rows:"
                fixed_width: 40
            }

            @GUI::SpinBox {
                name: "rows_spinbox"
                min: 10
                max: 999
                fixed_width: 40
            }
            @GUI::VerticalSeparator {
            }
            @GUI::Label {
                text: "Update Speed:"
                fixed_width: 90
            }
            @GUI::SpinBox {
                name: "interval_spinbox"
                min: 10
                max: 5000
                fixed_width: 60
            }
        }
    }

    @GUI::Widget {
        name: "board_widget_container"
        fill_with_background_color: true
    }

    @GUI::Statusbar {
        name: "statusbar"
    }
}