gui/dialogs/flight-recorder.xml: various improvements.
Use buttons for Continuous record start/stop instead of checkbox. Grey-out Continuous settings checkboxes if we are already doing a Continuous recording. Added button to (re)show the Replay dialogue; greyed-out if we are not replaying. Various other tweaks.
This commit is contained in:
parent
eee11c00b0
commit
16d96b3b17
1 changed files with 92 additions and 41 deletions
|
@ -36,23 +36,104 @@
|
||||||
|
|
||||||
<layout>vbox</layout>
|
<layout>vbox</layout>
|
||||||
|
|
||||||
<checkbox>
|
<text>
|
||||||
<property>sim/replay/record-continuous</property>
|
<label>General</label>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Replay in-memory recording</legend>
|
||||||
|
<enable><not><property>sim/replay/replay-state</property></not></enable>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Do continuous record to file</label>
|
<binding>
|
||||||
|
<command>replay</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>replay</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Replay recording from file ...</legend>
|
||||||
|
<halign>left</halign>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>flight-recorder-load</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>(Re)show replay dialogue</legend>
|
||||||
|
<enable><property>sim/replay/replay-state</property></enable>
|
||||||
|
<halign>left</halign>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>replay</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Save in-memory recording to file ...</legend>
|
||||||
|
<halign>left</halign>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>flight-recorder-save</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<property>sim/replay/recovery-period</property>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Maintain recovery snapshot</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-apply</command>
|
<command>dialog-apply</command>
|
||||||
</binding>
|
</binding>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
|
|
||||||
<hrule/>
|
|
||||||
|
|
||||||
|
<hrule/>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>Continuous recording settings</label>
|
<label>Continuous record</label>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Start Continuous recording to file</legend>
|
||||||
|
<halign>left</halign>
|
||||||
|
<enable>
|
||||||
|
<not>
|
||||||
|
<property>sim/replay/record-continuous</property>
|
||||||
|
</not>
|
||||||
|
</enable>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
setprop("sim/replay/record-continuous", 1);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Stop Continuous recording to file</legend>
|
||||||
|
<halign>left</halign>
|
||||||
|
<enable>
|
||||||
|
<property>sim/replay/record-continuous</property>
|
||||||
|
</enable>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
setprop("sim/replay/record-continuous", 0);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Settings</label>
|
||||||
|
<halign>left</halign>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<property>sim/replay/record-continuous-compression</property>
|
<property>sim/replay/record-continuous-compression</property>
|
||||||
|
<enable><not><property>sim/replay/record-continuous</property></not></enable>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Use compression</label>
|
<label>Use compression</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -62,6 +143,7 @@
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<property>sim/replay/record-signals</property>
|
<property>sim/replay/record-signals</property>
|
||||||
|
<enable><not><property>sim/replay/record-continuous</property></not></enable>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Include user aircraft in Continuous recordings</label>
|
<label>Include user aircraft in Continuous recordings</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -71,6 +153,7 @@
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<property>sim/replay/record-multiplayer</property>
|
<property>sim/replay/record-multiplayer</property>
|
||||||
|
<enable><not><property>sim/replay/record-continuous</property></not></enable>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Include multiplayer aircraft in recordings</label>
|
<label>Include multiplayer aircraft in recordings</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -80,6 +163,7 @@
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<property>sim/replay/record-main-window</property>
|
<property>sim/replay/record-main-window</property>
|
||||||
|
<enable><not><property>sim/replay/record-continuous</property></not></enable>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Record main window position and size</label>
|
<label>Record main window position and size</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -89,6 +173,7 @@
|
||||||
|
|
||||||
<checkbox>
|
<checkbox>
|
||||||
<property>sim/replay/record-main-view</property>
|
<property>sim/replay/record-main-view</property>
|
||||||
|
<enable><not><property>sim/replay/record-continuous</property></not></enable>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Record main window view</label>
|
<label>Record main window view</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -129,44 +214,10 @@
|
||||||
</binding>
|
</binding>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
|
|
||||||
<hrule/>
|
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>Recovery snapshot</label>
|
<label></label>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<checkbox>
|
|
||||||
<property>sim/replay/recovery-period</property>
|
|
||||||
<halign>left</halign>
|
|
||||||
<label>Maintain recovery snapshot</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-apply</command>
|
|
||||||
</binding>
|
|
||||||
</checkbox>
|
|
||||||
|
|
||||||
<hrule/>
|
|
||||||
|
|
||||||
<text>
|
|
||||||
<label>Normal recording</label>
|
|
||||||
</text>
|
|
||||||
|
|
||||||
<button>
|
|
||||||
<legend>Save normal recording to file ...</legend>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>flight-recorder-save</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<hrule/>
|
|
||||||
|
|
||||||
<button>
|
|
||||||
<legend>Load recording from file ...</legend>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>flight-recorder-load</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</button>
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
Loading…
Add table
Reference in a new issue