use layouter; add <key> defs
- left column: local (sim) time (0-key) - right column: daytimes (1--7 key)
This commit is contained in:
parent
f7433a2eb6
commit
2409d0f6d3
1 changed files with 98 additions and 96 deletions
|
@ -1,112 +1,114 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
|
<name>timeofday</name>
|
||||||
|
<layout>vbox</layout>
|
||||||
|
<default-padding>4</default-padding>
|
||||||
|
<modal>false</modal>
|
||||||
|
|
||||||
<name>timeofday</name>
|
<text>
|
||||||
<width>300</width>
|
<label>Set Time of Day</label>
|
||||||
<height>330</height>
|
</text>
|
||||||
<modal>false</modal>
|
|
||||||
|
|
||||||
<text>
|
<hrule><dummy/></hrule>
|
||||||
<x>40</x>
|
|
||||||
<y>280</y>
|
|
||||||
<label>Set Time of Day</label>
|
|
||||||
</text>
|
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<button>
|
<layout>hbox</layout>
|
||||||
<x>40</x>
|
|
||||||
<y>250</y>
|
|
||||||
<legend>Clock Time</legend>
|
|
||||||
<binding>
|
|
||||||
<command>timeofday</command>
|
|
||||||
<timeofday>real</timeofday>
|
|
||||||
</binding>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button>
|
<group>
|
||||||
<x>40</x>
|
<layout>vbox</layout>
|
||||||
<y>220</y>
|
<button>
|
||||||
<legend>Dawn</legend>
|
<legend>Clock Time</legend>
|
||||||
<binding>
|
<equal>true</equal>
|
||||||
<command>timeofday</command>
|
<key>0</key>
|
||||||
<timeofday>dawn</timeofday>
|
<binding>
|
||||||
</binding>
|
<command>timeofday</command>
|
||||||
</button>
|
<timeofday>real</timeofday>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
</group>
|
||||||
|
|
||||||
<button>
|
<group>
|
||||||
<x>40</x>
|
<layout>vbox</layout>
|
||||||
<y>190</y>
|
<default-padding>0</default-padding>
|
||||||
<legend>Morning</legend>
|
<button>
|
||||||
<binding>
|
<legend>Dawn</legend>
|
||||||
<command>timeofday</command>
|
<equal>true</equal>
|
||||||
<timeofday>morning</timeofday>
|
<key>1</key>
|
||||||
</binding>
|
<binding>
|
||||||
</button>
|
<command>timeofday</command>
|
||||||
|
<timeofday>dawn</timeofday>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<x>40</x>
|
<legend>Morning</legend>
|
||||||
<y>160</y>
|
<equal>true</equal>
|
||||||
<legend>Noon</legend>
|
<key>2</key>
|
||||||
<binding>
|
<binding>
|
||||||
<command>timeofday</command>
|
<command>timeofday</command>
|
||||||
<timeofday>noon</timeofday>
|
<timeofday>morning</timeofday>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<x>40</x>
|
<legend>Noon</legend>
|
||||||
<y>130</y>
|
<equal>true</equal>
|
||||||
<legend>Afternoon</legend>
|
<key>3</key>
|
||||||
<binding>
|
<binding>
|
||||||
<command>timeofday</command>
|
<command>timeofday</command>
|
||||||
<timeofday>afternoon</timeofday>
|
<timeofday>noon</timeofday>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<x>40</x>
|
<legend>Afternoon</legend>
|
||||||
<y>100</y>
|
<equal>true</equal>
|
||||||
<legend>Dusk</legend>
|
<key>4</key>
|
||||||
<binding>
|
<binding>
|
||||||
<command>timeofday</command>
|
<command>timeofday</command>
|
||||||
<timeofday>dusk</timeofday>
|
<timeofday>afternoon</timeofday>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<x>40</x>
|
<legend>Dusk</legend>
|
||||||
<y>70</y>
|
<equal>true</equal>
|
||||||
<legend>Evening</legend>
|
<key>5</key>
|
||||||
<binding>
|
<binding>
|
||||||
<command>timeofday</command>
|
<command>timeofday</command>
|
||||||
<timeofday>evening</timeofday>
|
<timeofday>dusk</timeofday>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<x>40</x>
|
<legend>Evening</legend>
|
||||||
<y>40</y>
|
<equal>true</equal>
|
||||||
<legend>Night</legend>
|
<key>6</key>
|
||||||
<binding>
|
<binding>
|
||||||
<command>timeofday</command>
|
<command>timeofday</command>
|
||||||
<timeofday>midnight</timeofday>
|
<timeofday>evening</timeofday>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
</group>
|
|
||||||
|
|
||||||
<group>
|
<button>
|
||||||
<button>
|
<legend>Night</legend>
|
||||||
<x>120</x>
|
<equal>true</equal>
|
||||||
<y>10</y>
|
<key>7</key>
|
||||||
<legend>Dismiss</legend>
|
<binding>
|
||||||
<default>true</default>
|
<command>timeofday</command>
|
||||||
<key>Esc</key>
|
<timeofday>midnight</timeofday>
|
||||||
<binding>
|
</binding>
|
||||||
<command>dialog-close</command>
|
</button>
|
||||||
</binding>
|
</group>
|
||||||
</button>
|
</group>
|
||||||
|
|
||||||
</group>
|
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Close</legend>
|
||||||
|
<default>true</default>
|
||||||
|
<key>Esc</key>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-close</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
Loading…
Add table
Reference in a new issue