Revert "cpml: protect cpml_segment_reverse from NULL"
[adg.git] / demo / cpml-demo.ui.in
blobe23d16a56d9ed2bcc9c9b5525de7f0e84ca43ba6
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy toplevel-contextual -->
5 <object class="GtkIconFactory" id="if">
6 <sources>
7 <source stock-id="adg-segment" filename="adg-segment.png"/>
8 <source stock-id="adg-intersection" filename="adg-intersection.png"/>
9 <source stock-id="adg-arc" filename="adg-arc.png"/>
10 <source stock-id="adg-curve" filename="curve.png"/>
11 <source stock-id="adg-browsing" filename="adg-browsing.png"/>
12 </sources>
13 </object>
14 <object class="GtkListStore" id="lsPages">
15 <columns>
16 <!-- column-name icon -->
17 <column type="gchararray"/>
18 <!-- column-name label -->
19 <column type="gchararray"/>
20 </columns>
21 <data>
22 <row>
23 <col id="0">adg-browsing</col>
24 <col id="1" translatable="yes">&lt;b&gt;Browsing&lt;/b&gt;
25 Primitives and segments</col>
26 </row>
27 <row>
28 <col id="0">adg-arc</col>
29 <col id="1" translatable="yes">&lt;b&gt;Arcs&lt;/b&gt;
30 Native support for arcs and circles</col>
31 </row>
32 <row>
33 <col id="0">adg-intersection</col>
34 <col id="1" translatable="yes">&lt;b&gt;Intersections&lt;/b&gt;
35 Geometrical helper functions</col>
36 </row>
37 <row>
38 <col id="0">adg-curve</col>
39 <col id="1" translatable="yes">&lt;b&gt;Offset curves&lt;/b&gt;
40 Test bed for cubic Bézier offset</col>
41 </row>
42 <row>
43 <col id="0">adg-segment</col>
44 <col id="1" translatable="yes">&lt;b&gt;Offset segments&lt;/b&gt;
45 Offseting complex segments</col>
46 </row>
47 </data>
48 </object>
49 <object class="GtkWindow" id="wndMain">
50 <property name="can_focus">False</property>
51 <child>
52 <object class="GtkVBox" id="vbMain">
53 <property name="visible">True</property>
54 <property name="can_focus">False</property>
55 <property name="border_width">6</property>
56 <property name="spacing">6</property>
57 <child>
58 <object class="GtkHBox" id="hbPages">
59 <property name="visible">True</property>
60 <property name="can_focus">False</property>
61 <property name="border_width">6</property>
62 <property name="spacing">6</property>
63 <child>
64 <object class="GtkTreeView" id="tvPages">
65 <property name="visible">True</property>
66 <property name="can_focus">True</property>
67 <property name="model">lsPages</property>
68 <property name="headers_visible">False</property>
69 <property name="headers_clickable">False</property>
70 <property name="enable_search">False</property>
71 <property name="show_expanders">False</property>
72 <child>
73 <object class="GtkTreeViewColumn" id="tvcPages">
74 <property name="title" translatable="yes">Pages</property>
75 <property name="expand">True</property>
76 <child>
77 <object class="GtkCellRendererPixbuf" id="crpPage">
78 <property name="ypad">6</property>
79 <property name="stock_size">6</property>
80 </object>
81 <attributes>
82 <attribute name="icon-name">0</attribute>
83 </attributes>
84 </child>
85 <child>
86 <object class="GtkCellRendererText" id="crtPage"/>
87 <attributes>
88 <attribute name="markup">1</attribute>
89 </attributes>
90 </child>
91 </object>
92 </child>
93 </object>
94 <packing>
95 <property name="expand">False</property>
96 <property name="fill">True</property>
97 <property name="position">0</property>
98 </packing>
99 </child>
100 <child>
101 <object class="GtkNotebook" id="nbPages">
102 <property name="visible">True</property>
103 <property name="can_focus">True</property>
104 <property name="show_tabs">False</property>
105 <property name="show_border">False</property>
106 <child>
107 <object class="GtkVBox" id="vbBrowsing">
108 <property name="visible">True</property>
109 <property name="can_focus">False</property>
110 <property name="spacing">6</property>
111 <child>
112 <object class="GtkDrawingArea" id="areaBrowsing">
113 <property name="visible">True</property>
114 <property name="can_focus">False</property>
115 </object>
116 <packing>
117 <property name="expand">True</property>
118 <property name="fill">True</property>
119 <property name="position">0</property>
120 </packing>
121 </child>
122 <child>
123 <object class="GtkHBox" id="hbBrowsing">
124 <property name="visible">True</property>
125 <property name="can_focus">False</property>
126 <property name="spacing">6</property>
127 <child>
128 <object class="GtkFrame" id="frmBrowsingSubject">
129 <property name="visible">True</property>
130 <property name="can_focus">False</property>
131 <property name="label_xalign">0</property>
132 <property name="shadow_type">none</property>
133 <child>
134 <object class="GtkHBox" id="hbBrowsingSubject">
135 <property name="visible">True</property>
136 <property name="can_focus">False</property>
137 <property name="border_width">3</property>
138 <child>
139 <object class="GtkRadioButton" id="optBrowsingSegment">
140 <property name="label">CpmlSegment</property>
141 <property name="visible">True</property>
142 <property name="can_focus">True</property>
143 <property name="receives_default">False</property>
144 <property name="active">True</property>
145 <property name="draw_indicator">True</property>
146 </object>
147 <packing>
148 <property name="expand">False</property>
149 <property name="fill">True</property>
150 <property name="padding">6</property>
151 <property name="position">0</property>
152 </packing>
153 </child>
154 <child>
155 <object class="GtkRadioButton" id="optBrowsingPrimitive">
156 <property name="label">CpmlPrimitive</property>
157 <property name="visible">True</property>
158 <property name="can_focus">True</property>
159 <property name="receives_default">False</property>
160 <property name="draw_indicator">True</property>
161 <property name="group">optBrowsingSegment</property>
162 </object>
163 <packing>
164 <property name="expand">False</property>
165 <property name="fill">True</property>
166 <property name="padding">6</property>
167 <property name="position">1</property>
168 </packing>
169 </child>
170 </object>
171 </child>
172 <child type="label">
173 <object class="GtkLabel" id="lblBrowsing">
174 <property name="visible">True</property>
175 <property name="can_focus">False</property>
176 <property name="label" translatable="yes">&lt;b&gt;Browsing subject:&lt;/b&gt;</property>
177 <property name="use_markup">True</property>
178 </object>
179 </child>
180 </object>
181 <packing>
182 <property name="expand">True</property>
183 <property name="fill">True</property>
184 <property name="position">0</property>
185 </packing>
186 </child>
187 <child>
188 <object class="GtkHButtonBox" id="bbBrowsing">
189 <property name="visible">True</property>
190 <property name="can_focus">False</property>
191 <property name="spacing">6</property>
192 <property name="homogeneous">True</property>
193 <child>
194 <object class="GtkButton" id="btnBrowsingReset">
195 <property name="label">gtk-goto-first</property>
196 <property name="visible">True</property>
197 <property name="can_focus">True</property>
198 <property name="receives_default">True</property>
199 <property name="use_stock">True</property>
200 </object>
201 <packing>
202 <property name="expand">True</property>
203 <property name="fill">True</property>
204 <property name="pack_type">end</property>
205 <property name="position">0</property>
206 </packing>
207 </child>
208 <child>
209 <object class="GtkButton" id="btnBrowsingNext">
210 <property name="label">gtk-go-forward</property>
211 <property name="visible">True</property>
212 <property name="can_focus">True</property>
213 <property name="receives_default">True</property>
214 <property name="use_stock">True</property>
215 </object>
216 <packing>
217 <property name="expand">True</property>
218 <property name="fill">True</property>
219 <property name="pack_type">end</property>
220 <property name="position">1</property>
221 </packing>
222 </child>
223 </object>
224 <packing>
225 <property name="expand">False</property>
226 <property name="fill">True</property>
227 <property name="position">1</property>
228 </packing>
229 </child>
230 </object>
231 <packing>
232 <property name="expand">False</property>
233 <property name="fill">True</property>
234 <property name="position">1</property>
235 </packing>
236 </child>
237 </object>
238 <packing>
239 <property name="tab_fill">False</property>
240 </packing>
241 </child>
242 <child type="tab">
243 <object class="GtkLabel" id="label4">
244 <property name="visible">True</property>
245 <property name="can_focus">False</property>
246 <property name="xalign">0</property>
247 <property name="label" translatable="yes">Browsing</property>
248 </object>
249 <packing>
250 <property name="tab_fill">False</property>
251 </packing>
252 </child>
253 <child>
254 <object class="GtkDrawingArea" id="areaArcs">
255 <property name="visible">True</property>
256 <property name="can_focus">False</property>
257 </object>
258 <packing>
259 <property name="position">1</property>
260 </packing>
261 </child>
262 <child type="tab">
263 <object class="GtkLabel" id="lblArcs">
264 <property name="visible">True</property>
265 <property name="can_focus">False</property>
266 <property name="xalign">0</property>
267 <property name="label" translatable="yes">Arcs</property>
268 </object>
269 <packing>
270 <property name="position">1</property>
271 <property name="tab_fill">False</property>
272 </packing>
273 </child>
274 <child>
275 <object class="GtkDrawingArea" id="areaIntersections">
276 <property name="visible">True</property>
277 <property name="can_focus">False</property>
278 </object>
279 <packing>
280 <property name="position">2</property>
281 </packing>
282 </child>
283 <child type="tab">
284 <object class="GtkLabel" id="lblIntersections">
285 <property name="visible">True</property>
286 <property name="can_focus">False</property>
287 <property name="xalign">0</property>
288 <property name="label" translatable="yes">Intersections</property>
289 </object>
290 <packing>
291 <property name="position">4</property>
292 <property name="tab_fill">False</property>
293 </packing>
294 </child>
295 <child>
296 <object class="GtkVBox" id="vbOffsetCurves">
297 <property name="visible">True</property>
298 <property name="can_focus">False</property>
299 <property name="spacing">6</property>
300 <child>
301 <object class="GtkDrawingArea" id="areaOffsetCurves">
302 <property name="width_request">800</property>
303 <property name="height_request">600</property>
304 <property name="visible">True</property>
305 <property name="can_focus">False</property>
306 </object>
307 <packing>
308 <property name="expand">True</property>
309 <property name="fill">True</property>
310 <property name="position">0</property>
311 </packing>
312 </child>
313 <child>
314 <object class="GtkFrame" id="frmOffsetAlgorithm">
315 <property name="visible">True</property>
316 <property name="can_focus">False</property>
317 <property name="label_xalign">0</property>
318 <property name="shadow_type">none</property>
319 <child>
320 <object class="GtkHBox" id="hbOffsetAlgorithm">
321 <property name="visible">True</property>
322 <property name="can_focus">False</property>
323 <property name="border_width">3</property>
324 <child>
325 <object class="GtkRadioButton" id="optAlgorithmDefault">
326 <property name="label">Default</property>
327 <property name="name">DEFAULT</property>
328 <property name="visible">True</property>
329 <property name="can_focus">True</property>
330 <property name="receives_default">False</property>
331 <property name="active">True</property>
332 <property name="draw_indicator">True</property>
333 </object>
334 <packing>
335 <property name="expand">False</property>
336 <property name="fill">True</property>
337 <property name="padding">6</property>
338 <property name="position">0</property>
339 </packing>
340 </child>
341 <child>
342 <object class="GtkRadioButton" id="optAlgorithmBaioca">
343 <property name="label">B.A.I.O.C.A.</property>
344 <property name="name">BAIOCA</property>
345 <property name="visible">True</property>
346 <property name="can_focus">True</property>
347 <property name="receives_default">False</property>
348 <property name="draw_indicator">True</property>
349 <property name="group">optAlgorithmDefault</property>
350 </object>
351 <packing>
352 <property name="expand">False</property>
353 <property name="fill">True</property>
354 <property name="padding">6</property>
355 <property name="position">1</property>
356 </packing>
357 </child>
358 <child>
359 <object class="GtkRadioButton" id="optAlgorithmHandcraft">
360 <property name="label">Handcraft</property>
361 <property name="name">HANDCRAFT</property>
362 <property name="visible">True</property>
363 <property name="can_focus">True</property>
364 <property name="receives_default">False</property>
365 <property name="draw_indicator">True</property>
366 <property name="group">optAlgorithmDefault</property>
367 </object>
368 <packing>
369 <property name="expand">False</property>
370 <property name="fill">True</property>
371 <property name="padding">6</property>
372 <property name="position">2</property>
373 </packing>
374 </child>
375 <child>
376 <object class="GtkRadioButton" id="optAlgorithmGeometrical">
377 <property name="label">Geometrical</property>
378 <property name="name">GEOMETRICAL</property>
379 <property name="visible">True</property>
380 <property name="can_focus">True</property>
381 <property name="receives_default">False</property>
382 <property name="draw_indicator">True</property>
383 <property name="group">optAlgorithmDefault</property>
384 </object>
385 <packing>
386 <property name="expand">False</property>
387 <property name="fill">True</property>
388 <property name="padding">6</property>
389 <property name="position">3</property>
390 </packing>
391 </child>
392 </object>
393 </child>
394 <child type="label">
395 <object class="GtkLabel" id="lblOffsetAlgorithm">
396 <property name="visible">True</property>
397 <property name="can_focus">False</property>
398 <property name="label" translatable="yes">&lt;b&gt;Offset algorithm:&lt;/b&gt;</property>
399 <property name="use_markup">True</property>
400 </object>
401 </child>
402 </object>
403 <packing>
404 <property name="expand">False</property>
405 <property name="fill">True</property>
406 <property name="position">1</property>
407 </packing>
408 </child>
409 </object>
410 <packing>
411 <property name="position">3</property>
412 </packing>
413 </child>
414 <child type="tab">
415 <object class="GtkLabel" id="lblOffsetCurves">
416 <property name="visible">True</property>
417 <property name="can_focus">False</property>
418 <property name="xalign">0</property>
419 <property name="label" translatable="yes">Offset curves</property>
420 </object>
421 <packing>
422 <property name="position">3</property>
423 <property name="tab_fill">False</property>
424 </packing>
425 </child>
426 <child>
427 <object class="GtkDrawingArea" id="areaOffsetSegments">
428 <property name="visible">True</property>
429 <property name="can_focus">False</property>
430 </object>
431 <packing>
432 <property name="position">4</property>
433 </packing>
434 </child>
435 <child type="tab">
436 <object class="GtkLabel" id="lblOffsetSegments">
437 <property name="visible">True</property>
438 <property name="can_focus">False</property>
439 <property name="xalign">0</property>
440 <property name="label" translatable="yes">Offset segments</property>
441 </object>
442 <packing>
443 <property name="position">4</property>
444 <property name="tab_fill">False</property>
445 </packing>
446 </child>
447 </object>
448 <packing>
449 <property name="expand">True</property>
450 <property name="fill">True</property>
451 <property name="pack_type">end</property>
452 <property name="position">1</property>
453 </packing>
454 </child>
455 </object>
456 <packing>
457 <property name="expand">True</property>
458 <property name="fill">True</property>
459 <property name="position">0</property>
460 </packing>
461 </child>
462 <child>
463 <object class="GtkHButtonBox" id="bbMain">
464 <property name="visible">True</property>
465 <property name="can_focus">False</property>
466 <property name="border_width">6</property>
467 <property name="spacing">6</property>
468 <property name="layout_style">end</property>
469 <child>
470 <object class="GtkButton" id="btnQuit">
471 <property name="label">gtk-quit</property>
472 <property name="visible">True</property>
473 <property name="can_focus">True</property>
474 <property name="receives_default">True</property>
475 <property name="use_stock">True</property>
476 </object>
477 <packing>
478 <property name="expand">False</property>
479 <property name="fill">False</property>
480 <property name="position">0</property>
481 </packing>
482 </child>
483 </object>
484 <packing>
485 <property name="expand">False</property>
486 <property name="fill">True</property>
487 <property name="position">1</property>
488 </packing>
489 </child>
490 </object>
491 </child>
492 </object>
493 </interface>