[chronojump] Better gui on event_execute_drawingarea_run_simple_double_contacts
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Better gui on event_execute_drawingarea_run_simple_double_contacts
- Date: Fri, 27 Apr 2018 09:09:24 +0000 (UTC)
commit f6af23c9a2be9901af9940ce4edc28c56ed94bf8
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Apr 27 11:09:07 2018 +0200
Better gui on event_execute_drawingarea_run_simple_double_contacts
glade/app1.glade | 15 +++++++++++++++
src/gui/chronojump.cs | 4 ++++
src/gui/eventExecute.cs | 2 --
3 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 2c4ff9b..e995de3 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -8930,6 +8930,13 @@ EncoderInertialCapture</property>
</packing>
</child>
<child>
+ <widget class="GtkFrame" id="frame7">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0</property>
+ <property name="shadow_type">in</property>
+ <child>
<widget class="GtkDrawingArea"
id="event_execute_drawingarea_run_simple_double_contacts">
<property name="height_request">20</property>
<property name="visible">True</property>
@@ -8937,6 +8944,14 @@ EncoderInertialCapture</property>
<signal name="configure_event"
handler="on_event_execute_drawingarea_run_simple_double_contacts_configure_event" swapped="no"/>
<signal name="expose_event"
handler="on_event_execute_drawingarea_run_simple_double_contacts_expose_event" swapped="no"/>
</widget>
+ </child>
+ <child>
+ <placeholder/>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 88c5986..9531844 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -4595,6 +4595,10 @@ public partial class ChronoJumpWindow
Constants.RunTable, //tableName
currentRunType.Name
);
+
+ UtilGtk.ClearDrawingArea(event_execute_drawingarea_run_simple_double_contacts,
+ event_execute_run_simple_double_contacts_pixmap);
+
event_execute_button_cancel.Sensitive = true;
ExecutingGraphData egd = event_execute_prepareForTest ();
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index d4093ba..f92a56b 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -1620,8 +1620,6 @@ public partial class ChronoJumpWindow
layoutMid_run_simple.GetPixelSize(out lWidth, out lHeight);
event_execute_run_simple_double_contacts_pixmap.DrawLayout (pen_azul,
xEnd2 -lWidth/2, 0 - lHeight/4, layoutMid_run_simple);
-
- pixmap.DrawRectangle(pen_gris, false, new Rectangle (0, 0, ancho -1, alto -1));
}
private void paintRunInterval (Gtk.DrawingArea drawingarea, double distance, double distanceTotal,
string distancesString,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]