infoicons: use OFFSET defines; increase offset between icons

Origin commit data
------------------
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
This commit is contained in:
vanhofen
2016-12-08 18:00:54 +01:00
parent 5a6c50e0bb
commit ac0170d62e

View File

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