- colors: some internal renamings

* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name

This is in preparation to make footer colors configurable
This commit is contained in:
svenhoefer
2016-08-14 21:55:18 +02:00
parent 55b79d26a3
commit bc39d1e14e
26 changed files with 65 additions and 63 deletions

View File

@@ -434,8 +434,8 @@ const struct button_label BookmarkmanagerButtons[2] =
void CBookmarkManager::paintFoot()
{
int ButtonWidth = (width - 20) / 4;
frameBuffer->paintBoxRel(x,y+height, width, footerHeight, COL_INFOBAR_SHADOW_PLUS_1);
frameBuffer->paintHLine(x, x+width, y, COL_INFOBAR_SHADOW_PLUS_0);
frameBuffer->paintBoxRel(x,y+height, width, footerHeight, COL_SHADOW_PLUS_1);
frameBuffer->paintHLine(x, x+width, y, COL_SHADOW_PLUS_0);
if (bookmarks.empty()) {
frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_OKAY, x+width- 1* ButtonWidth + 10, y+height);