Add a generic popup dialog
This commit is contained in:
parent
321386d62b
commit
3acc3c9edf
1 changed files with 49 additions and 0 deletions
49
gui/dialogs/popup.xml
Normal file
49
gui/dialogs/popup.xml
Normal file
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
This file is part of FlightGear, the free flight simulator
|
||||
http://www.flightgear.org/
|
||||
|
||||
Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>popup</name>
|
||||
|
||||
<width>500</width>
|
||||
<height>100</height>
|
||||
<modal>false</modal>
|
||||
<draggable>true</draggable>
|
||||
<resizable>true</resizable>
|
||||
|
||||
<text>
|
||||
<x>10</x>
|
||||
<y>70</y>
|
||||
<label>Hello, world</label>
|
||||
<color>
|
||||
<red>1.0</red>
|
||||
<green>1.0</green>
|
||||
<blue>0.0</blue>
|
||||
</color>
|
||||
</text>
|
||||
|
||||
<button>
|
||||
<x>240</x>
|
||||
<y>10</y>
|
||||
<legend>Close</legend>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue