[chronojump] 689655 - Add single-leg jumps - edit 50% done



commit e0e40f27972c385e8c911aa76e04ebbfff0eaf43
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Dec 5 13:16:25 2012 +0100

    689655 - Add single-leg jumps - edit 50% done

 glade/chronojump.glade |  469 +++++++++++++++++++++++++++++++++++++++++++++++-
 src/gui/jump.cs        |   76 +++++++--
 2 files changed, 529 insertions(+), 16 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 5437a26..a6b3a3c 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -3795,7 +3795,7 @@ weight</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
-                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_this_limb">
+                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_dominance_this_limb">
                                                             <property name="label" translatable="yes">This limb</property>
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
@@ -3811,14 +3811,14 @@ weight</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_opposite">
+                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_dominance_opposite">
                                                             <property name="label" translatable="yes">Opposite</property>
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="receives_default">False</property>
                                                             <property name="use_action_appearance">False</property>
                                                             <property name="draw_indicator">True</property>
-                                                            <property name="group">extra_window_jumps_radiobutton_single_leg_this_limb</property>
+                                                            <property name="group">extra_window_jumps_radiobutton_single_leg_dominance_this_limb</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -3827,7 +3827,7 @@ weight</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_unknown">
+                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_dominancie_unknown">
                                                             <property name="label" translatable="yes">Unknown</property>
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
@@ -3835,7 +3835,7 @@ weight</property>
                                                             <property name="use_action_appearance">False</property>
                                                             <property name="active">True</property>
                                                             <property name="draw_indicator">True</property>
-                                                            <property name="group">extra_window_jumps_radiobutton_single_leg_this_limb</property>
+                                                            <property name="group">extra_window_jumps_radiobutton_single_leg_dominance_this_limb</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -3859,6 +3859,98 @@ weight</property>
                                                             <property name="position">2</property>
                                                             </packing>
                                                             </child>
+                                                            <child>
+                                                            <widget class="GtkVBox" id="vbox83">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <child>
+                                                            <widget class="GtkLabel" id="label102">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="xalign">0</property>
+                                                            <property name="label" translatable="yes">Fall</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">True</property>
+                                                            <property name="fill">True</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkAlignment" id="alignment27">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="left_padding">12</property>
+                                                            <child>
+                                                            <widget class="GtkHBox" id="hbox100">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="spacing">6</property>
+                                                            <child>
+                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_fall_this_limb">
+                                                            <property name="label" translatable="yes">This limb</property>
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">True</property>
+                                                            <property name="receives_default">False</property>
+                                                            <property name="use_action_appearance">False</property>
+                                                            <property name="xalign">0</property>
+                                                            <property name="active">True</property>
+                                                            <property name="draw_indicator">True</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_fall_opposite">
+                                                            <property name="label" translatable="yes">Opposite</property>
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">True</property>
+                                                            <property name="receives_default">False</property>
+                                                            <property name="use_action_appearance">False</property>
+                                                            <property name="draw_indicator">True</property>
+                                                            <property name="group">extra_window_jumps_radiobutton_single_leg_fall_this_limb</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">1</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
+                                                            <widget class="GtkRadioButton" id="extra_window_jumps_radiobutton_single_leg_fall_both">
+                                                            <property name="label" translatable="yes">Both</property>
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">True</property>
+                                                            <property name="receives_default">False</property>
+                                                            <property name="use_action_appearance">False</property>
+                                                            <property name="draw_indicator">True</property>
+                                                            <property name="group">extra_window_jumps_radiobutton_single_leg_fall_this_limb</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">2</property>
+                                                            </packing>
+                                                            </child>
+                                                            </widget>
+                                                            </child>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">1</property>
+                                                            </packing>
+                                                            </child>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">True</property>
+                                                            <property name="fill">True</property>
+                                                            <property name="position">3</property>
+                                                            </packing>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
@@ -18040,6 +18132,373 @@ comments</property>
             <property name="position">3</property>
           </packing>
         </child>
+        <child>
+          <widget class="GtkVBox" id="jumps_single_leg">
+            <property name="can_focus">False</property>
+            <property name="spacing">4</property>
+            <child>
+              <widget class="GtkVBox" id="vbox82">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <child>
+                  <widget class="GtkLabel" id="label101">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes">Type</property>
+                  </widget>
+                  <packing>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <widget class="GtkAlignment" id="alignment26">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="left_padding">12</property>
+                    <child>
+                      <widget class="GtkHBox" id="hbox97">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_mode_vertical">
+                            <property name="label" translatable="yes">Vertical</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_mode_horizontal">
+                            <property name="label" translatable="yes">Horizontal</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">jumps_radiobutton_single_leg_mode_vertical</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_mode_lateral">
+                            <property name="label" translatable="yes">Lateral</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">jumps_radiobutton_single_leg_mode_vertical</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                      </widget>
+                    </child>
+                  </widget>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </widget>
+              <packing>
+                <property name="expand">True</property>
+                <property name="fill">True</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkVBox" id="vbox73">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <child>
+                  <widget class="GtkLabel" id="label99">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes">Limb</property>
+                  </widget>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <widget class="GtkAlignment" id="alignment25">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="left_padding">12</property>
+                    <child>
+                      <widget class="GtkHBox" id="hbox98">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_right">
+                            <property name="label" translatable="yes">Right</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_left">
+                            <property name="label" translatable="yes">Left</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">jumps_radiobutton_single_leg_right</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </widget>
+                    </child>
+                  </widget>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </widget>
+              <packing>
+                <property name="expand">True</property>
+                <property name="fill">True</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkVBox" id="vbox81">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <child>
+                  <widget class="GtkLabel" id="label100">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes">Dominance</property>
+                  </widget>
+                  <packing>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <widget class="GtkAlignment" id="alignment23">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="left_padding">12</property>
+                    <child>
+                      <widget class="GtkHBox" id="hbox99">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_dominance_this_limb">
+                            <property name="label" translatable="yes">This limb</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_dominance_opposite">
+                            <property name="label" translatable="yes">Opposite</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">jumps_radiobutton_single_leg_dominance_this_limb</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_dominancie_unknown">
+                            <property name="label" translatable="yes">Unknown</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">jumps_radiobutton_single_leg_dominance_this_limb</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                      </widget>
+                    </child>
+                  </widget>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </widget>
+              <packing>
+                <property name="expand">True</property>
+                <property name="fill">True</property>
+                <property name="position">2</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkVBox" id="vbox83">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <child>
+                  <widget class="GtkLabel" id="label102">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes">Fall</property>
+                  </widget>
+                  <packing>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <widget class="GtkAlignment" id="alignment27">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="left_padding">12</property>
+                    <child>
+                      <widget class="GtkHBox" id="hbox100">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_fall_this_limb">
+                            <property name="label" translatable="yes">This limb</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_fall_opposite">
+                            <property name="label" translatable="yes">Opposite</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">jumps_radiobutton_single_leg_fall_this_limb</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="jumps_radiobutton_single_leg_fall_both">
+                            <property name="label" translatable="yes">Both</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_action_appearance">False</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">jumps_radiobutton_single_leg_fall_this_limb</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                      </widget>
+                    </child>
+                  </widget>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </widget>
+              <packing>
+                <property name="expand">True</property>
+                <property name="fill">True</property>
+                <property name="position">3</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="expand">True</property>
+            <property name="fill">True</property>
+            <property name="position">4</property>
+          </packing>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
       </widget>
     </child>
   </widget>
diff --git a/src/gui/jump.cs b/src/gui/jump.cs
index 4f29616..6272773 100644
--- a/src/gui/jump.cs
+++ b/src/gui/jump.cs
@@ -34,6 +34,19 @@ using Mono.Unix;
 
 public class EditJumpWindow : EditEventWindow
 {
+	[Widget] private Gtk.Box jumps_single_leg;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_mode_vertical;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_mode_horizontal;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_mode_lateral;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_right;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_left;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_dominance_this_limb;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_dominance_opposite;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_dominance_unknown;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_fall_this_limb;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_fall_opposite;
+	[Widget] private Gtk.RadioButton jumps_radiobutton_single_leg_fall_both;
+
 	static EditJumpWindow EditJumpWindowBox;
 	protected double personWeight;
 	protected int sessionID; //for know weight specific to this session
@@ -75,6 +88,8 @@ public class EditJumpWindow : EditEventWindow
 
 		EditJumpWindowBox.fillDialog (myEvent);
 		
+		EditJumpWindowBox.fillSpecialData (myEvent);
+		
 		EditJumpWindowBox.edit_event.Show ();
 
 		return EditJumpWindowBox;
@@ -178,6 +193,37 @@ public class EditJumpWindow : EditEventWindow
 		}
 	}
 
+	private void fillSpecialData(Event myEvent) {
+		Jump myJump = (Jump) myEvent;
+		//singleLeg
+		if(myJump.Type == "slCMJ") {
+			jumps_single_leg.Show();
+			entry_description.Sensitive = false;
+
+			string [] d = myJump.Description.Split(new char[] {' '});
+		
+			switch(d[0]) {
+				case "Vertical": jumps_radiobutton_single_leg_mode_vertical.Active = true; break;
+				case "Horizontal": jumps_radiobutton_single_leg_mode_horizontal.Active = true; break;
+				case "Lateral": jumps_radiobutton_single_leg_mode_lateral.Active = true; break;
+			}
+			switch(d[1]) {
+				case "Right": jumps_radiobutton_single_leg_right.Active = true; break;
+				case "Left": jumps_radiobutton_single_leg_left.Active = true; break;
+			}
+			switch(d[2]) {
+				case "This": jumps_radiobutton_single_leg_dominance_this_limb.Active = true; break;
+				case "Opposite": jumps_radiobutton_single_leg_dominance_opposite.Active = true; break;
+				case "Unknown": jumps_radiobutton_single_leg_dominance_unknown.Active = true; break;
+			}
+			switch(d[3]) {
+				case "This": jumps_radiobutton_single_leg_fall_this_limb.Active = true; break;
+				case "Opposite": jumps_radiobutton_single_leg_fall_opposite.Active = true; break;
+				case "Both": jumps_radiobutton_single_leg_fall_both.Active = true; break;
+			}
+		}
+	}
+
 	
 	protected override void createSignal() {
 		//only for jumps & runs
@@ -814,9 +860,12 @@ partial class ChronoJumpWindow
 	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_mode_lateral;
 	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_right;
 	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_left;
-	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_this_limb;
-	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_opposite;
-	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_unknown;
+	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_dominance_this_limb;
+	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_dominance_opposite;
+	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_dominance_unknown;
+	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_fall_this_limb;
+	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_fall_opposite;
+	[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_fall_both;
 	
 	//options jumps_rj
 	[Widget] Gtk.Label extra_window_jumps_rj_label_limit;
@@ -1257,19 +1306,24 @@ partial class ChronoJumpWindow
 			return extra_window_jumps_rj_limited.ToString() + "T";
 	}
 	
+	//do not translate this
 	private string slCMJString()
 	{
 		string str = "";
-		if(extra_window_jumps_radiobutton_single_leg_mode_vertical.Active) str = "V";		//Vertical
-		else if(extra_window_jumps_radiobutton_single_leg_mode_horizontal.Active) str = "H";	//Horizontal
-		else str = "L"; 									//Lateral
+		if(extra_window_jumps_radiobutton_single_leg_mode_vertical.Active) str = "Vertical";
+		else if(extra_window_jumps_radiobutton_single_leg_mode_horizontal.Active) str = "Horizontal";
+		else str = "Lateral";
 		
-		if(extra_window_jumps_radiobutton_single_leg_right.Active) str += " R";			//Right
-		else str += " L"; 									//Left
+		if(extra_window_jumps_radiobutton_single_leg_right.Active) str += " Right";
+		else str += " Left";
 		
-		if(extra_window_jumps_radiobutton_single_leg_this_limb.Active) str += " T";		//This limb
-		else if(extra_window_jumps_radiobutton_single_leg_opposite.Active) str += " O";		//Opposite
-		else str += " U"; 									//Unknown
+		if(extra_window_jumps_radiobutton_single_leg_dominance_this_limb.Active) str += " This";
+		else if(extra_window_jumps_radiobutton_single_leg_dominance_opposite.Active) str += " Opposite";
+		else str += " Unknown";
+
+		if(extra_window_jumps_radiobutton_single_leg_fall_this_limb.Active) str += " This";
+		else if(extra_window_jumps_radiobutton_single_leg_fall_opposite.Active) str += " Opposite";
+		else str += " Both";
 
 		return str;
 	}



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