mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 15:41:00 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user