]> git.draconx.ca Git - rrace.git/blob - tests/gui.at
Implement window icons.
[rrace.git] / tests / gui.at
1 # Copyright © 2022 Nick Bowler
2 #
3 # This program is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 3 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
15
16 AT_SETUP([_NET_WM_ICON tiles (16x16)])
17
18 AT_CHECK([ewmhicon 16x16], [0], [dnl
19 ....%+....%+....
20 ....%+....%+....
21 ....%+....%+....
22 ....%+....%+....
23 %%%%%+%%%%%+%%%%
24 ++++++++++++++++
25 ....%+....%+....
26 ....%+....%+....
27 ....%+....%+....
28 ....%+....%+....
29 %%%%%+%%%%%+%%%%
30 ++++++++++++++++
31 ....%+....%+....
32 ....%+....%+....
33 ....%+....%+....
34 ....%+....%+....
35 ])
36
37 AT_CLEANUP
38
39 AT_SETUP([_NET_WM_ICON tiles (24x24)])
40
41 AT_CHECK([ewmhicon 24x24], [0], [dnl
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 AT_CLEANUP
69
70 AT_SETUP([_NET_WM_ICON tiles (32x32)])
71
72 AT_CHECK([ewmhicon 32x32], [0], [dnl
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 AT_CLEANUP
108
109 AT_SETUP([_NET_WM_ICON tiles (48x48)])
110
111 AT_CHECK([ewmhicon 48x48], [0], [dnl
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 AT_CLEANUP