summaryrefslogtreecommitdiff
path: root/Userland/Applications/Terminal/TerminalSettingsWindow.gml
blob: 6c906fd463d0ec6f9769d12bef954b78c259f1c9 (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
69
70
71
72
73
74
75
76
@GUI::Widget {
    fill_with_background_color: true

    layout: @GUI::VerticalBoxLayout {
        margins: [4, 4, 4, 4]
    }

    @GUI::GroupBox {
        title: "Bell mode"
        shrink_to_fit: true

        layout: @GUI::VerticalBoxLayout {
            margins: [6, 16, 6, 6]
        }

        @GUI::RadioButton {
            name: "beep_bell_radio"
            text: "System beep"
        }

        @GUI::RadioButton {
            name: "visual_bell_radio"
            text: "Visual bell"
        }

        @GUI::RadioButton {
            name: "no_bell_radio"
            text: "No bell"
        }
    }

    @GUI::GroupBox {
        title: "Background opacity"
        shrink_to_fit: true

        layout: @GUI::VerticalBoxLayout {
            margins: [6, 16, 6, 6]
        }

        @GUI::OpacitySlider {
            name: "background_opacity_slider"
            min: 0
            max: 255
            orientation: "Horizontal"
        }
    }

    @GUI::GroupBox {
        title: "Scrollback size (lines)"
        shrink_to_fit: true

        layout: @GUI::VerticalBoxLayout {
            margins: [6, 16, 6, 6]
        }

        @GUI::SpinBox {
            name: "history_size_spinbox"
            min: 0
            max: 40960
            orientation: "Horizontal"
        }
    }

    @GUI::GroupBox {
        title: "Color scheme"
        shrink_to_fit: true

        layout: @GUI::VerticalBoxLayout {
            margins: [6, 16, 6, 6]
        }

        @GUI::ComboBox {
            name: "color_scheme_combo"
        }
    }
}