[chronojump] Added force sensor image
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added force sensor image
- Date: Tue, 10 Oct 2017 14:57:39 +0000 (UTC)
commit 7fa9bca198bf55881cb3ff93b803d75638a679cb
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Oct 10 16:56:14 2017 +0200
Added force sensor image
images/mini/force_sensor.png | Bin 0 -> 5393 bytes
src/Makefile.am | 1 +
src/constants.cs | 1 +
src/gui/chronojump.cs | 5 +++++
4 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/images/mini/force_sensor.png b/images/mini/force_sensor.png
new file mode 100644
index 0000000..1f1a611
Binary files /dev/null and b/images/mini/force_sensor.png differ
diff --git a/src/Makefile.am b/src/Makefile.am
index 52eabe6..fa4f353 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -256,6 +256,7 @@ RESOURCES = \
../images/selector-force.png,selector-force.png \
../images/selector-rt.png,selector-rt.png \
../images/selector-multichronopic.png,selector-multichronopic.png \
+ ../images/mini/force_sensor.png,mini/force_sensor.png \
../images/board-unknown.png,board-unknown.png \
../images/board-jump-run.png,board-jump-run.png \
../images/board-encoder.png,board-encoder.png \
diff --git a/src/constants.cs b/src/constants.cs
index cdb5ad3..ee9de8a 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -439,6 +439,7 @@ public class Constants
public static string FileNameEncoderGravitatory = "stock_down.png";
public static string FileNameEncoderInertial = "stock_inertial.png";
public static string FileNamePulse = "pulse_menu.png";
+ public static string FileNameForceSensor = "force_sensor.png";
public static string FileNameMultiChronopic = "multichronopic_menu.png";
public static string FileNameJumpsFallCalculate = "dj-from-in.png";
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 9f2fbe6..9a65fc8 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3844,6 +3844,10 @@ public partial class ChronoJumpWindow
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameLogo);
button_image_test_zoom.Hide();
break;
+ case "FORCESENSOR":
+ pixbuf = new Pixbuf (null, Util.GetImagePath(true) +
Constants.FileNameForceSensor);
+ button_image_test_zoom.Hide();
+ break;
case "":
pixbuf = new Pixbuf (null, Util.GetImagePath(true) + "no_image.png");
button_image_test_zoom.Hide();
@@ -6378,6 +6382,7 @@ LogB.Debug("X");
notebook_execute.CurrentPage = 4;
notebook_options_top.CurrentPage = 4;
notebook_results.CurrentPage = 4;
+ changeTestImage("", "", "FORCESENSOR");
} else if(mode == Constants.Menuitem_modes.RT)
{
notebook_execute.CurrentPage = 5;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]