From a79b90eb812eb57259c263f49b17c2e7507b1b3b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 19 Dec 2016 17:21:51 +0100 Subject: [PATCH] icons: add and use pictureviewer icon Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/a19a5df9ff39e19938d0b9152d927df41e5172c9 Author: vanhofen Date: 2016-12-19 (Mon, 19 Dec 2016) Origin message was: ------------------ - icons: add and use pictureviewer icon --- data/icons/headers/Makefile.am | 1 + data/icons/headers/pictureviewer.png | Bin 0 -> 185 bytes src/gui/pictureviewer.cpp | 2 +- src/gui/widget/icons.h | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 data/icons/headers/pictureviewer.png diff --git a/data/icons/headers/Makefile.am b/data/icons/headers/Makefile.am index 29328dcbf..77e409429 100644 --- a/data/icons/headers/Makefile.am +++ b/data/icons/headers/Makefile.am @@ -21,6 +21,7 @@ install_DATA = \ multimedia.png \ network.png \ personalize.png \ + pictureviewer.png \ recording.png \ settings.png \ shell.png \ diff --git a/data/icons/headers/pictureviewer.png b/data/icons/headers/pictureviewer.png new file mode 100644 index 0000000000000000000000000000000000000000..d474bd577d00d2aa045685f38b1729e4b2c314e2 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_+i22U5q5R22v2@-1_)Iaz?{r|_t z@c(}UO&^5wG3f`I3NX5v2Dl$y{{P_r{X*9Y*v@e=cBuVzj-6zmROnb2dbs~(^j5ic0>pDDE2 jzES4mqy6s}oc+sic8*Qfk2kwOj%4t3^>bP0l+XkKat%vT literal 0 HcmV?d00001 diff --git a/src/gui/pictureviewer.cpp b/src/gui/pictureviewer.cpp index 506d68fd1..e1cccf611 100644 --- a/src/gui/pictureviewer.cpp +++ b/src/gui/pictureviewer.cpp @@ -712,7 +712,7 @@ void CPictureViewerGui::paintItem(int pos) void CPictureViewerGui::paintHead() { - CComponentsHeaderLocalized header(x, y, width, theight, LOCALE_PICTUREVIEWER_HEAD, NEUTRINO_ICON_MP3, CComponentsHeaderLocalized::CC_BTN_HELP); + CComponentsHeaderLocalized header(x, y, width, theight, LOCALE_PICTUREVIEWER_HEAD, NEUTRINO_ICON_PICTUREVIEWER, CComponentsHeaderLocalized::CC_BTN_HELP); //NI #ifdef ENABLE_GUI_MOUNT header.setContextButton(NEUTRINO_ICON_BUTTON_MENU); diff --git a/src/gui/widget/icons.h b/src/gui/widget/icons.h index 0d19fafa6..858ea0ac2 100644 --- a/src/gui/widget/icons.h +++ b/src/gui/widget/icons.h @@ -183,6 +183,7 @@ #define NEUTRINO_ICON_STAR_OFF "star-off" #define NEUTRINO_ICON_TMDB "tmdb" #define NEUTRINO_ICON_IMDB "imdb" +#define NEUTRINO_ICON_PICTUREVIEWER "pictureviewer" #define DUMMY_ICON "dummy"