summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings/EffectsSettings.gml
blob: 7497b49c73e5f444a07894fa52a5a59603e50d1d (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
@GUI::Widget {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        margins: [8]
        spacing: 8
    }

    @GUI::GroupBox {
        preferred_height: "shrink"
        title: "Animations"
        layout: @GUI::VerticalBoxLayout {
            margins: [8]
            spacing: 2
        }

        @GUI::Widget {
            layout: @GUI::HorizontalBoxLayout {
                spacing: 16
            }

            @GUI::Widget {
                fixed_width: 32
                layout: @GUI::VerticalBoxLayout {}

                @GUI::ImageWidget {
                    bitmap: "/res/icons/32x32/animation-effects.png"
                }

                @GUI::Layout::Spacer {}
            }

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

                @GUI::CheckBox {
                    name: "animate_menus_checkbox"
                    text: "Fade menus on activation"
                }

                @GUI::CheckBox {
                    name: "flash_menus_checkbox"
                    text: "Flash menus activated by keyboard shortcuts"
                }

                @GUI::CheckBox {
                    name: "animate_windows_checkbox"
                    text: "Animate windows when minimizing and maximizing"
                }

                @GUI::CheckBox {
                    name: "smooth_scrolling_checkbox"
                    text: "Use smooth scrolling"
                }
            }
        }
    }

    @GUI::GroupBox {
        preferred_height: "shrink"
        title: "Appearance"
        layout: @GUI::VerticalBoxLayout {
            margins: [8]
            spacing: 2
        }

        @GUI::Widget {
            layout: @GUI::HorizontalBoxLayout {
                spacing: 16
            }

            @GUI::Widget {
                fixed_width: 32
                layout: @GUI::VerticalBoxLayout {}

                @GUI::ImageWidget {
                    bitmap: "/res/icons/32x32/theming-effects.png"
                }

                @GUI::Layout::Spacer {}
            }

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

                @GUI::CheckBox {
                    name: "tab_accents_checkbox"
                    text: "Show accents on tabs"
                }

                @GUI::CheckBox {
                    name: "splitter_knurls_checkbox"
                    text: "Show knurls on splitters"
                }

                @GUI::CheckBox {
                    name: "tooltips_checkbox"
                    text: "Show tooltips"
                }

                @GUI::Widget {
                    fixed_height: 4
                }

                @GUI::Widget {
                    layout: @GUI::HorizontalBoxLayout {}

                    @GUI::Label {
                        text: "Show window geometry:"
                        autosize: true
                    }

                    @GUI::Layout::Spacer {}

                    @GUI::ComboBox {
                        name: "geometry_combobox"
                        fixed_width: 130
                    }
                }

                @GUI::Widget {
                    layout: @GUI::HorizontalBoxLayout {}

                    @GUI::Label {
                        text: "Tile Window Behavior:"
                        autosize: true
                    }

                    @GUI::Layout::Spacer {}

                    @GUI::ComboBox {
                        name: "tile_window_combobox"
                        fixed_width: 130
                    }
                }

                @GUI::Widget {
                    fixed_height: 4
                }

                @GUI::Widget {
                    layout: @GUI::HorizontalBoxLayout {}

                    @GUI::Label {
                        text: "Shadows"
                        autosize: true
                    }

                    @GUI::HorizontalSeparator {}
                }

                @GUI::CheckBox {
                    name: "menu_shadow_checkbox"
                    text: "Show menu shadow"
                }

                @GUI::CheckBox {
                    name: "window_shadow_checkbox"
                    text: "Show window shadow"
                }

                @GUI::CheckBox {
                    name: "tooltip_shadow_checkbox"
                    text: "Show tooltip shadow"
                }
            }
        }
    }
}