- add new info buttons and use them

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1763 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
striper
2011-10-21 09:39:08 +00:00
parent 27ae693c36
commit 8b0dc24e90
6 changed files with 7 additions and 3 deletions

View File

@@ -74,6 +74,8 @@ install_DATA = \
icon_red.png \
icon_yellow.png \
info.png \
info_small.png \
information.png \
ird_green.png \
ird_white.png \
ird_yellow.png \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 353 B

BIN
data/icons/info_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

BIN
data/icons/information.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

View File

@@ -33,6 +33,8 @@
#define NEUTRINO_ICON_BUTTON_DBOX_SMALL "dbox_small"
#define NEUTRINO_ICON_BUTTON_HELP "help"
#define NEUTRINO_ICON_BUTTON_HELP_SMALL "help_small"
#define NEUTRINO_ICON_BUTTON_INFO "info"
#define NEUTRINO_ICON_BUTTON_INFO_SMALL "info_small"
#define NEUTRINO_ICON_BUTTON_HOME "home"
#define NEUTRINO_ICON_BUTTON_MUTE "mute"
#define NEUTRINO_ICON_BUTTON_MUTE_SMALL "mute_small"
@@ -83,7 +85,7 @@
#define NEUTRINO_ICON_FILE "file"
#define NEUTRINO_ICON_FOLDER "folder"
#define NEUTRINO_ICON_GAMES "games"
#define NEUTRINO_ICON_INFO "info"
#define NEUTRINO_ICON_INFO "information"
#define NEUTRINO_ICON_KEYBINDING "keybinding"
#define NEUTRINO_ICON_LOCK "lock"
#define NEUTRINO_ICON_HIDDEN "hidden"

View File

@@ -131,7 +131,7 @@ void CNeutrinoApp::InitMainMenu(CMenuWidget &mainMenu, CMenuWidget &mainSettings
mainMenu.addItem( new CMenuSeparator(CMenuSeparator::LINE) );
// start of infomenu
if (g_settings.show_infomenu == 0)
mainMenu.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_help, NEUTRINO_ICON_BUTTON_HELP_SMALL ));
mainMenu.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_info, NEUTRINO_ICON_BUTTON_INFO_SMALL ));
// end of infomenu
/*if(system_rev != 10)*/
@@ -262,7 +262,7 @@ void CNeutrinoApp::InitServiceSettings(CMenuWidget &service)
// // start infomenu in service
if (g_settings.show_infomenu == 1)
service.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_help, NEUTRINO_ICON_BUTTON_HELP_SMALL ));
service.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_info, NEUTRINO_ICON_BUTTON_INFO_SMALL ));
// end of infomenu in service
//softupdate