infoicons: use OFFSET defines; increase offset between icons

Origin commit data
------------------
Branch: ni/coolstream
Commit: c2f820307b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-08 (Thu, 08 Dec 2016)

Origin message was:
------------------
- infoicons: use OFFSET defines; increase offset between icons

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-12-08 18:00:54 +01:00
parent dbb517a861
commit 842e5a048e

View File

@@ -53,14 +53,14 @@ typedef struct icon_data_t
static icon_data_t icon[MODE_ICONS_NR_OF_ENTRIES]= static icon_data_t icon[MODE_ICONS_NR_OF_ENTRIES]=
{ {
{-1, 0, 0, 0, "info0", ""}, {-1, 0, 0, OFFSET_INNER_NONE , "info0", ""},
{-1, 0, 0, 2, "info1", ""}, {-1, 0, 0, OFFSET_INNER_SMALL, "info1", ""},
{-1, 0, 0, 2, "info2", ""}, {-1, 0, 0, OFFSET_INNER_SMALL, "info2", ""},
{-1, 0, 0, 2, "info3", ""}, {-1, 0, 0, OFFSET_INNER_SMALL, "info3", ""},
{-1, 0, 0, 2, "info4", ""}, {-1, 0, 0, OFFSET_INNER_SMALL, "info4", ""},
{-1, 0, 0, 2, "info5", ""}, {-1, 0, 0, OFFSET_INNER_SMALL, "info5", ""},
{-1, 0, 0, 2, "info6", ""}, {-1, 0, 0, OFFSET_INNER_SMALL, "info6", ""},
{-1, 0, 0, 2, "info7", ""} {-1, 0, 0, OFFSET_INNER_SMALL, "info7", ""}
}; };
CInfoIcons::CInfoIcons() CInfoIcons::CInfoIcons()
@@ -101,9 +101,9 @@ void CInfoIcons::Init()
{ {
std::ostringstream buf; std::ostringstream buf;
x = frameBuffer->getScreenX() + 10; x = frameBuffer->getScreenX() + OFFSET_INNER_MID;
y = frameBuffer->getScreenY(); y = frameBuffer->getScreenY();
offset = 10; offset = OFFSET_INNER_MID;
int icons_width = 0; int icons_width = 0;
int icons_height = 0; int icons_height = 0;