Commit f9eabb89 authored by Xavier de Blas's avatar Xavier de Blas

force sensor: Hidden camera stuff

parent ace31fd7
......@@ -76,6 +76,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.HBox hbox_force_sensor_lat_and_comments;
[Widget] Gtk.Alignment alignment_force_sensor_adjust;
[Widget] Gtk.VSeparator vseparator_force_sensor_camera_space;
[Widget] Gtk.VBox vbox_contacts_camera;
[Widget] Gtk.Button button_force_sensor_tare;
[Widget] Gtk.Button button_force_sensor_calibrate;
[Widget] Gtk.Label label_force_sensor_value_max;
......@@ -1484,7 +1485,14 @@ LogB.Information(" re R ");
private void showHideForceSensorControls(bool modeForceSensor)
{
hbox_capture_phases_time.Visible = ! modeForceSensor;
vseparator_force_sensor_camera_space.Visible = modeForceSensor; //extra space before camera on force sensor
//make it visible when camera works on force sensor (before we need database stuff for forcesensor)
//vseparator_force_sensor_camera_space.Visible = modeForceSensor; //extra space before camera on force sensor
vseparator_force_sensor_camera_space.Visible = false; //extra space before camera on force sensor
//vbox_contacts_camera.Visible = true; //should be visible on all contacts, but right now hide it on force sensor
vbox_contacts_camera.Visible = ! modeForceSensor;
button_video_play_this_test.Visible = ! modeForceSensor; //should be visible on all contacts, but right now hide it on force sensor
menuitem_force_sensor_open_folder.Visible = modeForceSensor;
menuitem_force_sensor_check_version.Visible = modeForceSensor;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment