mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- filebrowser: minor cleanup
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1282,7 +1282,7 @@ void CFileBrowser::paintItem(unsigned int pos)
|
|||||||
icon_w = g_IconFont->getWidestWidth();
|
icon_w = g_IconFont->getWidestWidth();
|
||||||
int icon_w_real = g_IconFont->getRenderWidth(fileicon);
|
int icon_w_real = g_IconFont->getRenderWidth(fileicon);
|
||||||
int spacer_x = (icon_w - icon_w_real) / 2;
|
int spacer_x = (icon_w - icon_w_real) / 2;
|
||||||
g_IconFont->RenderString(x + OFFSET_INNER_MID + spacer_x, ypos + g_IconFont->getHeight() /*item_height - spacer_y*/, icon_w_real, fileicon, color);
|
g_IconFont->RenderString(x + OFFSET_INNER_MID + spacer_x, ypos + g_IconFont->getHeight(), icon_w_real, fileicon, color);
|
||||||
g_IconFont->setSize(iconfont_size);
|
g_IconFont->setSize(iconfont_size);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user