[chronojump] fall icon on jumps fall exercise options



commit a7b302d7162add395a4db46662c80e03c9c884a6
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Aug 24 11:30:39 2022 +0200

    fall icon on jumps fall exercise options

 glade/app1.glade      | 51 ++++++++++++++++++++++++++++++++++++---------------
 src/gui/app1/icons.cs |  2 ++
 src/gui/app1/jump.cs  |  1 +
 3 files changed, 39 insertions(+), 15 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index c906a90ad..b695bf9cc 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -12510,6 +12510,18 @@ EncoderInertialCapture</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
+                                                            <widget class="GtkImage" 
id="extra_window_jumps_image_fall">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property 
name="stock">gtk-missing-image</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkLabel" id="label99">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -12518,7 +12530,7 @@ EncoderInertialCapture</property>
                                                             <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
-                                                            <property name="position">0</property>
+                                                            <property name="position">1</property>
                                                             </packing>
                                                             </child>
                                                             <child>
@@ -12540,7 +12552,7 @@ EncoderInertialCapture</property>
                                                             <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
-                                                            <property name="position">1</property>
+                                                            <property name="position">2</property>
                                                             </packing>
                                                             </child>
                                                             <child>
@@ -12553,7 +12565,7 @@ EncoderInertialCapture</property>
                                                             <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">False</property>
-                                                            <property name="position">2</property>
+                                                            <property name="position">3</property>
                                                             </packing>
                                                             </child>
                                                             </widget>
@@ -26229,6 +26241,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -33028,6 +33043,18 @@ Concentric</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
+                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="pack_type">end</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_capturing">
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">4</property>
@@ -33064,18 +33091,6 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="pack_type">end</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_no_capturing">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -42514,6 +42529,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -50584,6 +50602,9 @@ Since Chronojump 2.1.3, backups contain the complete data.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             </child>
                                                             </widget>
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index ce63a0954..098ed1d33 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -681,6 +681,8 @@ public partial class ChronoJumpWindow
                extra_windows_jumps_image_dj_fall_predefined.Pixbuf = pixbuf;
                image_tab_jumps_dj_optimal_fall.Pixbuf = pixbuf;
 
+               extra_window_jumps_image_fall.Pixbuf = new Pixbuf (null, Util.GetImagePath(false) + 
"image_fall.png");
+
                image_tab_jumps_weight_fv_profile.Pixbuf = new Pixbuf (null, Util.GetImagePath(false) + 
"jumps-fv.png");
 
 
diff --git a/src/gui/app1/jump.cs b/src/gui/app1/jump.cs
index c25d9b79a..91fb3e352 100644
--- a/src/gui/app1/jump.cs
+++ b/src/gui/app1/jump.cs
@@ -42,6 +42,7 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.CheckButton extra_window_jumps_check_dj_fall_calculate;
        [Widget] Gtk.Label extra_window_jumps_label_dj_start_inside;
        [Widget] Gtk.Label extra_window_jumps_label_dj_start_outside;
+       [Widget] Gtk.Image extra_window_jumps_image_fall;
        [Widget] Gtk.SpinButton extra_window_jumps_spinbutton_fall;
        [Widget] Gtk.HBox hbox_extra_window_jumps_weight;
        [Widget] Gtk.RadioButton extra_window_jumps_radiobutton_kg;


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