Added correct resize handling
[rodin/chimara.git] / player / chimara.ui
1 <?xml version="1.0"?>
2 <interface>
3   <!-- interface-requires gtk+ 2.12 -->
4   <!-- interface-naming-policy toplevel-contextual -->
5   <object class="GtkWindow" id="chimara">
6     <property name="title" translatable="yes">Chimara</property>
7     <property name="default_width">600</property>
8     <property name="default_height">800</property>
9     <signal name="delete_event" handler="on_window_delete_event"/>
10     <child>
11       <object class="GtkVBox" id="vbox">
12         <property name="visible">True</property>
13         <property name="orientation">vertical</property>
14         <child>
15           <placeholder/>
16         </child>
17       </object>
18     </child>
19   </object>
20   <object class="GtkActionGroup" id="actiongroup"/>
21   <object class="GtkAction" id="game">
22     <property name="label">_Game</property>
23   </object>
24   <object class="GtkAction" id="open">
25     <property name="label">_Open...</property>
26     <property name="short_label">_Open</property>
27     <property name="tooltip">Quit the current game and load a new one</property>
28     <property name="stock_id">gtk-media-play</property>
29     <signal name="activate" handler="on_open_activate"/>
30   </object>
31   <object class="GtkAction" id="restore">
32     <property name="label">_Restore...</property>
33     <property name="short_label">_Restore</property>
34     <property name="tooltip">Restore a previously saved game</property>
35     <property name="stock_id">gtk-open</property>
36     <signal name="activate" handler="on_restore_activate"/>
37   </object>
38   <object class="GtkAction" id="save">
39     <property name="label">_Save</property>
40     <property name="tooltip">Save the game</property>
41     <property name="stock_id">gtk-save</property>
42     <signal name="activate" handler="on_save_activate"/>
43   </object>
44   <object class="GtkAction" id="quit_chimara">
45     <property name="label">_Quit Chimara</property>
46     <property name="tooltip">Leave the program</property>
47     <property name="stock_id">gtk-quit</property>
48     <signal name="activate" handler="on_quit_chimara_activate"/>
49   </object>
50   <object class="GtkAction" id="command">
51     <property name="label">_Command</property>
52   </object>
53   <object class="GtkAction" id="edit">
54     <property name="label">_Edit</property>
55   </object>
56   <object class="GtkAction" id="stop">
57     <property name="label">_Stop Game</property>
58     <property name="short_label">_Stop</property>
59     <property name="tooltip">Immediately stop the running game</property>
60     <property name="stock_id">gtk-stop</property>
61     <signal name="activate" handler="on_stop_activate"/>
62   </object>
63   <object class="GtkRecentAction" id="recent">
64     <property name="label">Open _Recent</property>
65     <property name="limit">10</property>
66     <property name="sort_type">mru</property>
67     <signal name="item_activated" handler="on_recent_item_activated"/>
68   </object>
69   <object class="GtkAction" id="undo">
70     <property name="label">_Undo</property>
71     <property name="tooltip">Attempt to undo the last move (the game may not allow this)</property>
72     <property name="stock_id">gtk-undo</property>
73     <signal name="activate" handler="on_undo_activate"/>
74   </object>
75   <object class="GtkAction" id="restart">
76     <property name="label">Res_tart</property>
77     <property name="tooltip">Tell the game to restart</property>
78     <property name="stock_id">gtk-media-rewind</property>
79     <signal name="activate" handler="on_restart_activate"/>
80   </object>
81   <object class="GtkAction" id="quit">
82     <property name="label">_Quit</property>
83     <property name="tooltip">Try to quit the game</property>
84     <property name="stock_id">gtk-media-stop</property>
85     <signal name="activate" handler="on_quit_activate"/>
86   </object>
87   <object class="GtkAction" id="copy">
88     <property name="label">_Copy</property>
89     <property name="tooltip">Copy the selection</property>
90     <property name="stock_id">gtk-copy</property>
91     <signal name="activate" handler="on_copy_activate"/>
92   </object>
93   <object class="GtkAction" id="paste">
94     <property name="label">_Paste</property>
95     <property name="tooltip">Paste the clipboard</property>
96     <property name="stock_id">gtk-paste</property>
97     <signal name="activate" handler="on_paste_activate"/>
98   </object>
99   <object class="GtkAction" id="preferences">
100     <property name="label">P_references</property>
101     <property name="tooltip">Configure the application</property>
102     <property name="stock_id">gtk-preferences</property>
103     <signal name="activate" handler="on_preferences_activate"/>
104   </object>
105   <object class="GtkAction" id="help">
106     <property name="label">_Help</property>
107   </object>
108   <object class="GtkAction" id="about">
109     <property name="label">_About...</property>
110     <property name="short_label">_About</property>
111     <property name="tooltip">About this application</property>
112     <property name="stock_id">gtk-about</property>
113     <signal name="activate" handler="on_about_activate"/>
114   </object>
115   <object class="GtkAboutDialog" id="aboutwindow">
116     <property name="border_width">5</property>
117     <property name="title" translatable="yes">About Chimara</property>
118     <property name="window_position">center</property>
119     <property name="type_hint">dialog</property>
120     <property name="has_separator">False</property>
121     <property name="program_name">Chimara</property>
122     <property name="copyright" translatable="yes">&#xA9; 2008&#x2013;2009 Marijn van Vliet and Philip Chimento</property>
123     <property name="comments" translatable="yes">Interactive Fiction Player</property>
124     <property name="license" translatable="yes">Copyright (C) 2008, Philip Chimento and Marijn van Vliet.
125 All rights reserved.
126
127 Chimara is free software copyrighted by Philip Chimento and Marijn van Vliet.
128
129 Redistribution and use in source and binary forms, with or without modification,
130 are permitted provided that the following conditions are met:
131
132 1. Redistributions of source code must retain the above copyright notice, this
133    list of conditions and the following disclaimer.
134 2. Redistributions in binary form must reproduce the above copyright notice,
135    this list of conditions and the following disclaimer in the documentation 
136    and/or other materials provided with the distribution.
137 3. Neither of the names Philip Chimento or Marijn van Vliet, nor the name of any 
138    other contributor may be used to endorse or promote products derived from 
139    this software without specific prior written permission.
140
141 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' 
142 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
143 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
144 DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
145 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
146 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
147 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
148 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
149 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
150 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
151 </property>
152     <property name="authors">Marijn van Vliet
153 Philip Chimento</property>
154     <signal name="response" handler="gtk_widget_hide"/>
155     <signal name="delete_event" handler="gtk_widget_hide_on_delete"/>
156     <child internal-child="vbox">
157       <object class="GtkVBox" id="dialog-vbox1">
158         <property name="visible">True</property>
159         <property name="orientation">vertical</property>
160         <property name="spacing">2</property>
161         <child>
162           <placeholder/>
163         </child>
164         <child internal-child="action_area">
165           <object class="GtkHButtonBox" id="dialog-action_area1">
166             <property name="visible">True</property>
167             <property name="layout_style">end</property>
168           </object>
169           <packing>
170             <property name="expand">False</property>
171             <property name="pack_type">end</property>
172             <property name="position">0</property>
173           </packing>
174         </child>
175       </object>
176     </child>
177   </object>
178   <object class="GtkDialog" id="prefswindow">
179     <property name="border_width">5</property>
180     <property name="title" translatable="yes">Chimara Preferences</property>
181     <property name="window_position">center</property>
182     <property name="type_hint">dialog</property>
183     <signal name="response" handler="gtk_widget_hide"/>
184     <signal name="delete_event" handler="gtk_widget_hide_on_delete"/>
185     <child internal-child="vbox">
186       <object class="GtkVBox" id="dialog-vbox2">
187         <property name="visible">True</property>
188         <property name="orientation">vertical</property>
189         <property name="spacing">9</property>
190         <child>
191           <object class="GtkVBox" id="vbox1">
192             <property name="visible">True</property>
193             <property name="orientation">vertical</property>
194             <property name="spacing">12</property>
195             <child>
196               <object class="GtkFrame" id="frame1">
197                 <property name="visible">True</property>
198                 <property name="label_xalign">0</property>
199                 <property name="shadow_type">none</property>
200                 <child>
201                   <object class="GtkAlignment" id="alignment1">
202                     <property name="visible">True</property>
203                     <property name="left_padding">12</property>
204                     <child>
205                       <object class="GtkVBox" id="vbox2">
206                         <property name="visible">True</property>
207                         <property name="orientation">vertical</property>
208                         <property name="spacing">8</property>
209                         <child>
210                           <object class="GtkCheckButton" id="checkbutton1">
211                             <property name="label" translatable="yes">_Awesome mode</property>
212                             <property name="visible">True</property>
213                             <property name="can_focus">True</property>
214                             <property name="receives_default">False</property>
215                             <property name="use_underline">True</property>
216                             <property name="draw_indicator">True</property>
217                           </object>
218                           <packing>
219                             <property name="expand">False</property>
220                             <property name="fill">False</property>
221                             <property name="position">0</property>
222                           </packing>
223                         </child>
224                         <child>
225                           <object class="GtkCheckButton" id="checkbutton2">
226                             <property name="label" translatable="yes">_Super-awesome mode</property>
227                             <property name="visible">True</property>
228                             <property name="can_focus">True</property>
229                             <property name="receives_default">False</property>
230                             <property name="use_underline">True</property>
231                             <property name="draw_indicator">True</property>
232                           </object>
233                           <packing>
234                             <property name="expand">False</property>
235                             <property name="fill">False</property>
236                             <property name="position">1</property>
237                           </packing>
238                         </child>
239                         <child>
240                           <object class="GtkCheckButton" id="checkbutton3">
241                             <property name="label" translatable="yes">_Ludicrous mode</property>
242                             <property name="visible">True</property>
243                             <property name="can_focus">True</property>
244                             <property name="receives_default">False</property>
245                             <property name="use_underline">True</property>
246                             <property name="draw_indicator">True</property>
247                           </object>
248                           <packing>
249                             <property name="expand">False</property>
250                             <property name="fill">False</property>
251                             <property name="position">2</property>
252                           </packing>
253                         </child>
254                       </object>
255                     </child>
256                   </object>
257                 </child>
258                 <child type="label">
259                   <object class="GtkLabel" id="label1">
260                     <property name="visible">True</property>
261                     <property name="label" translatable="yes">&lt;b&gt;Miscellaneous options&lt;/b&gt;</property>
262                     <property name="use_markup">True</property>
263                   </object>
264                 </child>
265               </object>
266               <packing>
267                 <property name="position">0</property>
268               </packing>
269             </child>
270             <child>
271               <object class="GtkFrame" id="frame2">
272                 <property name="visible">True</property>
273                 <property name="label_xalign">0</property>
274                 <property name="shadow_type">none</property>
275                 <child>
276                   <object class="GtkAlignment" id="alignment2">
277                     <property name="visible">True</property>
278                     <property name="left_padding">12</property>
279                     <child>
280                       <object class="GtkVBox" id="vbox3">
281                         <property name="visible">True</property>
282                         <property name="orientation">vertical</property>
283                         <child>
284                           <object class="GtkScrolledWindow" id="scrolledwindow1">
285                             <property name="visible">True</property>
286                             <property name="can_focus">True</property>
287                             <property name="hscrollbar_policy">automatic</property>
288                             <property name="vscrollbar_policy">automatic</property>
289                             <child>
290                               <object class="GtkTreeView" id="treeview1">
291                                 <property name="visible">True</property>
292                                 <property name="can_focus">True</property>
293                               </object>
294                             </child>
295                           </object>
296                           <packing>
297                             <property name="position">0</property>
298                           </packing>
299                         </child>
300                         <child>
301                           <object class="GtkHButtonBox" id="hbuttonbox1">
302                             <property name="visible">True</property>
303                             <property name="spacing">7</property>
304                             <property name="layout_style">end</property>
305                             <child>
306                               <object class="GtkButton" id="button2">
307                                 <property name="label">gtk-add</property>
308                                 <property name="visible">True</property>
309                                 <property name="can_focus">True</property>
310                                 <property name="receives_default">True</property>
311                                 <property name="use_stock">True</property>
312                               </object>
313                               <packing>
314                                 <property name="expand">False</property>
315                                 <property name="fill">False</property>
316                                 <property name="position">0</property>
317                               </packing>
318                             </child>
319                             <child>
320                               <object class="GtkButton" id="button3">
321                                 <property name="label">gtk-remove</property>
322                                 <property name="visible">True</property>
323                                 <property name="can_focus">True</property>
324                                 <property name="receives_default">True</property>
325                                 <property name="use_stock">True</property>
326                               </object>
327                               <packing>
328                                 <property name="expand">False</property>
329                                 <property name="fill">False</property>
330                                 <property name="position">1</property>
331                               </packing>
332                             </child>
333                           </object>
334                           <packing>
335                             <property name="position">1</property>
336                           </packing>
337                         </child>
338                       </object>
339                     </child>
340                   </object>
341                 </child>
342                 <child type="label">
343                   <object class="GtkLabel" id="label2">
344                     <property name="visible">True</property>
345                     <property name="label" translatable="yes">&lt;b&gt;Styles&lt;/b&gt;</property>
346                     <property name="use_markup">True</property>
347                   </object>
348                 </child>
349               </object>
350               <packing>
351                 <property name="position">1</property>
352               </packing>
353             </child>
354           </object>
355           <packing>
356             <property name="position">1</property>
357           </packing>
358         </child>
359         <child internal-child="action_area">
360           <object class="GtkHButtonBox" id="dialog-action_area2">
361             <property name="visible">True</property>
362             <property name="layout_style">end</property>
363             <child>
364               <object class="GtkButton" id="button1">
365                 <property name="label">gtk-close</property>
366                 <property name="visible">True</property>
367                 <property name="can_focus">True</property>
368                 <property name="receives_default">True</property>
369                 <property name="use_stock">True</property>
370                 <signal name="clicked" handler="gtk_widget_hide" object="prefswindow"/>
371               </object>
372               <packing>
373                 <property name="expand">False</property>
374                 <property name="fill">False</property>
375                 <property name="position">0</property>
376               </packing>
377             </child>
378           </object>
379           <packing>
380             <property name="expand">False</property>
381             <property name="pack_type">end</property>
382             <property name="position">0</property>
383           </packing>
384         </child>
385       </object>
386     </child>
387     <action-widgets>
388       <action-widget response="0">button1</action-widget>
389     </action-widgets>
390   </object>
391 </interface>