[chronojump] continuous capture mode only on gravitory



commit b7d131e7db9d6716ba071794bb4f731904b1ea94
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Jul 27 14:36:11 2016 +0200

    continuous capture mode only on gravitory

 glade/chronojump.glade |   65 +++++++++++++++++++++++++++++++++++++++++++++---
 src/gui/chronojump.cs  |    4 +++
 src/gui/encoder.cs     |    6 +++-
 3 files changed, 70 insertions(+), 5 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index fed6d31..603da4c 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -13025,6 +13025,9 @@ low ressistance</property>
                                                 <child>
                                                   <placeholder/>
                                                 </child>
+                                                <child>
+                                                  <placeholder/>
+                                                </child>
                                               </widget>
                                               <packing>
                                                 <property name="expand">False</property>
@@ -14295,7 +14298,7 @@ low ressistance</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">2</property>
                                                             <child>
-                                                            <widget class="GtkHBox" id="hbox199">
+                                                            <widget class="GtkHBox" 
id="hbox_encoder_capture_1_or_cont">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
@@ -17948,6 +17951,9 @@ low ressistance</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -22718,6 +22724,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -23969,6 +23978,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -25712,6 +25724,9 @@ by you</property>
               <placeholder/>
             </child>
             <child>
+              <placeholder/>
+            </child>
+            <child>
               <widget class="GtkButton" id="button_video_url">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
@@ -26512,6 +26527,9 @@ by you</property>
             <child>
               <placeholder/>
             </child>
+            <child>
+              <placeholder/>
+            </child>
           </widget>
           <packing>
             <property name="expand">True</property>
@@ -39970,6 +39988,24 @@ options</property>
                             <child>
                               <placeholder/>
                             </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
                           </widget>
                         </child>
                       </widget>
@@ -42937,6 +42973,18 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -44111,9 +44159,6 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                                       <placeholder/>
                                     </child>
                                     <child>
-                                      <placeholder/>
-                                    </child>
-                                    <child>
                                       <widget class="GtkLabel" id="label218">
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
@@ -45364,6 +45409,9 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                                     <child>
                                       <placeholder/>
                                     </child>
+                                    <child>
+                                      <placeholder/>
+                                    </child>
                                   </widget>
                                 </child>
                               </widget>
@@ -49582,6 +49630,9 @@ It starts before and arrives there with some speed.</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                       <packing>
                         <property name="left_attach">2</property>
@@ -50497,6 +50548,9 @@ It starts before and arrives there with some speed.</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -51427,6 +51481,9 @@ It starts before and arrives there with some speed.</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index da1c58b..0e5f2ff 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3144,6 +3144,7 @@ public partial class ChronoJumpWindow
                                        radiobutton_encoder_analyze_1RM.Visible = true;
                                        radiobutton_encoder_analyze_neuromuscular_profile.Visible = true;
                                }
+                               hbox_encoder_capture_1_or_cont.Visible = true;
                        } else {
                                menuitem_mode_selected_power_inertial.Visible = true;
 
@@ -3160,6 +3161,9 @@ public partial class ChronoJumpWindow
                                notebook_encoder_capture_extra_mass.CurrentPage = 1;
                                radiobutton_encoder_analyze_1RM.Visible = false;
                                radiobutton_encoder_analyze_neuromuscular_profile.Visible = false;
+                               
+                               radio_encoder_capture_1set.Active = true;
+                               hbox_encoder_capture_1_or_cont.Visible = false;
                        }
                        encoderGuiChangesAfterEncoderConfigurationWin(true);
                        if(changed) {
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 768b74a..5c5ac2b 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -61,7 +61,12 @@ public partial class ChronoJumpWindow
        
        [Widget] Gtk.Box hbox_encoder_capture_wait;
        [Widget] Gtk.Box vbox_encoder_capture_doing;
+       
+       [Widget] Gtk.Box hbox_encoder_capture_1_or_cont;
+       [Widget] Gtk.RadioButton radio_encoder_capture_1set;
+       [Widget] Gtk.RadioButton radio_encoder_capture_cont;
        [Widget] Gtk.Button button_encoder_capture;
+       
        [Widget] Gtk.Image image_encoder_bell;
        [Widget] Gtk.Button button_encoder_capture_cancel;
        [Widget] Gtk.Button button_encoder_capture_finish;
@@ -79,7 +84,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.MenuItem menuitem_export_encoder_signal;
        [Widget] Gtk.Label label_encoder_curve_action;
        [Widget] Gtk.Button button_encoder_delete_signal;
-       [Widget] Gtk.RadioButton radio_encoder_capture_cont;
        
        [Widget] Gtk.VPaned vpaned_encoder_main;
        [Widget] Gtk.VPaned vpaned_encoder_capture_video_and_set_graph;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]