summaryrefslogtreecommitdiff
path: root/Userland/Games/Minesweeper/MinesweeperWindow.gml
blob: b4ca40408ea9fef7b519b694279cccd1a7a2b131 (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
@GUI::Widget {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        spacing: 0
    }

    @GUI::HorizontalSeparator {
        name: "separator"
        fixed_height: 2
    }

    @GUI::Widget {
        name: "container"
        fixed_height: 36
        layout: @GUI::HorizontalBoxLayout {}

        @GUI::Layout::Spacer {}

        @GUI::ImageWidget {
            name: "flag_image"
            bitmap: "/res/icons/minesweeper/flag.png"
        }

        @GUI::Label {
            name: "flag_label"
            autosize: true
        }

        @GUI::Layout::Spacer {}

        @GUI::Button {
            name: "face_button"
            fixed_size: [36, 36]
            focus_policy: "TabFocus"
            button_style: "Coolbar"
        }

        @GUI::Layout::Spacer {}

        @GUI::ImageWidget {
            name: "time_image"
            bitmap: "/res/icons/minesweeper/timer.png"
        }

        @GUI::Label {
            name: "time_label"
            autosize: true
        }

        @GUI::Layout::Spacer {}
    }
}