Add a icon for gaschange to Oxy with all green tank shoulder color

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-10-18 12:38:37 +02:00 committed by Dirk Hohndel
parent 432110ac8f
commit fcc4be6ea0
3 changed files with 3 additions and 0 deletions

BIN
icons/Oxy_change.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -106,6 +106,8 @@ void DiveEventItem::setupPixmap()
setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeTrimix"));
else if (gasmix_is_air(mix))
setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeAir"));
else if (mix->o2.permille == 1000)
setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeOxy"));
else
setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeNitrox"));
#ifdef SAMPLE_FLAGS_SEVERITY_SHIFT

View file

@ -33,6 +33,7 @@
<file alias="gaschangeAir">icons/Air_change.png</file>
<file alias="gaschangeNitrox">icons/Nx_change.png</file>
<file alias="gaschangeTrimix">icons/Tmx_change.png</file>
<file alias="gaschangeOxy">icons/Oxy_change.png</file>
<file alias="flag">icons/flag.png</file>
<file alias="flagDark">icons/flag_dark.png</file>
<file alias="flagLight">icons/flag_light.png</file>