[chronojump] 6 new apps icon (for each mode)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] 6 new apps icon (for each mode)
- Date: Wed, 15 Apr 2020 13:52:14 +0000 (UTC)
commit 97fc4a1a242817f9556dd6a494be840740db1130
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Apr 15 15:51:40 2020 +0200
6 new apps icon (for each mode)
images/md/baseline_apps_6_black_24dp.png | Bin 0 -> 906 bytes
images/md/baseline_apps_6_separated_blue_24dp.png | Bin 0 -> 2609 bytes
...baseline_apps_6_separated_encoder_blue_24dp.png | Bin 0 -> 3030 bytes
.../baseline_apps_6_separated_force_blue_24dp.png | Bin 0 -> 2856 bytes
.../baseline_apps_6_separated_jump_blue_24dp.png | Bin 0 -> 2900 bytes
.../baseline_apps_6_separated_other_blue_24dp.png | Bin 0 -> 3065 bytes
.../md/baseline_apps_6_separated_rt_blue_24dp.png | Bin 0 -> 3029 bytes
.../md/baseline_apps_6_separated_run_blue_24dp.png | Bin 0 -> 3024 bytes
src/Makefile.am | 8 +++++++-
src/gui/app1/chronojump.cs | 22 +++++++++++++++++++++
10 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/images/md/baseline_apps_6_black_24dp.png b/images/md/baseline_apps_6_black_24dp.png
new file mode 100644
index 00000000..d11c2eb0
Binary files /dev/null and b/images/md/baseline_apps_6_black_24dp.png differ
diff --git a/images/md/baseline_apps_6_separated_blue_24dp.png
b/images/md/baseline_apps_6_separated_blue_24dp.png
new file mode 100644
index 00000000..b0f2be2e
Binary files /dev/null and b/images/md/baseline_apps_6_separated_blue_24dp.png differ
diff --git a/images/md/baseline_apps_6_separated_encoder_blue_24dp.png
b/images/md/baseline_apps_6_separated_encoder_blue_24dp.png
new file mode 100644
index 00000000..bc2e2b30
Binary files /dev/null and b/images/md/baseline_apps_6_separated_encoder_blue_24dp.png differ
diff --git a/images/md/baseline_apps_6_separated_force_blue_24dp.png
b/images/md/baseline_apps_6_separated_force_blue_24dp.png
new file mode 100644
index 00000000..fd2f0580
Binary files /dev/null and b/images/md/baseline_apps_6_separated_force_blue_24dp.png differ
diff --git a/images/md/baseline_apps_6_separated_jump_blue_24dp.png
b/images/md/baseline_apps_6_separated_jump_blue_24dp.png
new file mode 100644
index 00000000..dcb31c1c
Binary files /dev/null and b/images/md/baseline_apps_6_separated_jump_blue_24dp.png differ
diff --git a/images/md/baseline_apps_6_separated_other_blue_24dp.png
b/images/md/baseline_apps_6_separated_other_blue_24dp.png
new file mode 100644
index 00000000..61b6682e
Binary files /dev/null and b/images/md/baseline_apps_6_separated_other_blue_24dp.png differ
diff --git a/images/md/baseline_apps_6_separated_rt_blue_24dp.png
b/images/md/baseline_apps_6_separated_rt_blue_24dp.png
new file mode 100644
index 00000000..2f6d42d0
Binary files /dev/null and b/images/md/baseline_apps_6_separated_rt_blue_24dp.png differ
diff --git a/images/md/baseline_apps_6_separated_run_blue_24dp.png
b/images/md/baseline_apps_6_separated_run_blue_24dp.png
new file mode 100644
index 00000000..b6acb157
Binary files /dev/null and b/images/md/baseline_apps_6_separated_run_blue_24dp.png differ
diff --git a/src/Makefile.am b/src/Makefile.am
index 8f17c839..55e2d654 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -534,7 +534,13 @@ RESOURCES = \
../images/md/baseline_grid_on_blue_24dp.png,grid.png \
../images/md/baseline_new_releases_blue_24dp.png,new.png \
../images/md/baseline_menu_blue_24dp.png,image_menu.png \
- ../images/md/baseline_apps_6_blue_24dp.png,image_modes.png \
+ ../images/md/baseline_apps_6_separated_blue_24dp.png,image_modes.png \
+ ../images/md/baseline_apps_6_separated_jump_blue_24dp.png,image_modes_jump.png \
+ ../images/md/baseline_apps_6_separated_run_blue_24dp.png,image_modes_run.png \
+ ../images/md/baseline_apps_6_separated_force_blue_24dp.png,image_modes_force.png \
+ ../images/md/baseline_apps_6_separated_encoder_blue_24dp.png,image_modes_encoder.png \
+ ../images/md/baseline_apps_6_separated_rt_blue_24dp.png,image_modes_rt.png \
+ ../images/md/baseline_apps_6_separated_other_blue_24dp.png,image_modes_other.png \
../images/md/baseline_menu_book_blue_24dp.png,image_book.png \
../images/md/baseline_keyboard_blue_24dp.png,image_keyboard.png \
../images/md/baseline_more_horiz_blue_24dp.png,image_more_horiz.png \
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index c390b47d..d20d2355 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2759,6 +2759,10 @@ public partial class ChronoJumpWindow
setApp1Title(tempSessionName, Constants.Menuitem_modes.UNDEFINED);
new ChronojumpLogo (drawingarea_chronojump_logo, viewport_chronojump_logo,
preferences.logoAnimatedShow);
+
+ Pixbuf pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes.png");
+ image_button_show_modes.Pixbuf = pixbufMode;
+ image_button_show_modes1.Pixbuf = pixbufMode;
}
private void on_button_start_selector_show_more_clicked (object o, EventArgs args)
@@ -2849,6 +2853,8 @@ public partial class ChronoJumpWindow
}
+ Pixbuf pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes.png");
+
if(m == Constants.Menuitem_modes.JUMPSSIMPLE || m == Constants.Menuitem_modes.JUMPSREACTIVE)
{
notebook_sup.CurrentPage = Convert.ToInt32(notebook_sup_pages.CONTACTS);
@@ -2876,6 +2882,7 @@ public partial class ChronoJumpWindow
radio_mode_contacts_jumps_weight_fv_profile.Active ||
radio_mode_contacts_jumps_evolution.Active)
radio_mode_contacts_capture.Active = true;
}
+ pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes_jump.png");
}
else if(m == Constants.Menuitem_modes.RUNSSIMPLE || m ==
Constants.Menuitem_modes.RUNSINTERVALLIC)
{
@@ -2911,6 +2918,8 @@ public partial class ChronoJumpWindow
if(radio_mode_contacts_sprint.Active)
radio_mode_contacts_capture.Active = true;
+
+ pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes_run.png");
}
else if(m == Constants.Menuitem_modes.POWERGRAVITATORY || m ==
Constants.Menuitem_modes.POWERINERTIAL)
{
@@ -3010,6 +3019,8 @@ public partial class ChronoJumpWindow
setEncoderExerciseOptionsFromPreferences();
encoderPreferencesSet = true;
}
+
+ pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes_encoder.png");
}
else if(m == Constants.Menuitem_modes.FORCESENSOR)
{
@@ -3033,6 +3044,8 @@ public partial class ChronoJumpWindow
notebook_capture_graph_table.CurrentPage = 1; //"Show table"
notebook_capture_graph_table.ShowTabs = false;
setLabelContactsExerciseSelected(m);
+
+ pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes_force.png");
}
else if(m == Constants.Menuitem_modes.RUNSENCODER)
{
@@ -3059,6 +3072,8 @@ public partial class ChronoJumpWindow
combo_race_analyzer_device.Active = 0;
forceSensorImageTestChange();
setLabelContactsExerciseSelected(m);
+
+ pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes_run.png");
}
else if(m == Constants.Menuitem_modes.RT)
{
@@ -3071,6 +3086,8 @@ public partial class ChronoJumpWindow
hbox_contacts_sup_capture_analyze_two_buttons.Visible = false;
button_threshold.Visible = true;
//notebook_capture_analyze.GetNthPage(2).Hide(); //hide jumpsProfile on other tests
+
+ pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes_rt.png");
}
else { //m == Constants.Menuitem_modes.OTHER (contacts / other)
notebook_sup.CurrentPage = Convert.ToInt32(notebook_sup_pages.CONTACTS);
@@ -3086,8 +3103,13 @@ public partial class ChronoJumpWindow
hbox_contacts_sup_capture_analyze_two_buttons.Visible = false;
button_threshold.Visible = true;
//notebook_capture_analyze.GetNthPage(2).Hide(); //hide jumpsProfile on other tests
+
+ pixbufMode = new Pixbuf (null, Util.GetImagePath(false) + "image_modes_other.png");
}
+ image_button_show_modes.Pixbuf = pixbufMode;
+ image_button_show_modes1.Pixbuf = pixbufMode;
+
//show feedback icon
Pixbuf pixbufBellActive = new Pixbuf (null, Util.GetImagePath(false) +
"stock_bell_active.png");
Pixbuf pixbufBellInactive = new Pixbuf (null, Util.GetImagePath(false) +
"stock_bell_none.png");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]