mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
gui/widget/menue.cpp: show right-side item icon for inactive items, too
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4d0cacbd61
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-05-01 (Thu, 01 May 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -287,7 +287,7 @@ void CMenuItem::paintItemButton(const bool select_mode, const int &item_height,
|
|||||||
{
|
{
|
||||||
frameBuffer->getIconSize(iconName_Info_right.c_str(), &icon_w, &icon_h);
|
frameBuffer->getIconSize(iconName_Info_right.c_str(), &icon_w, &icon_h);
|
||||||
|
|
||||||
if (active && icon_w>0 && icon_h>0)
|
if (/* active && */ icon_w>0 && icon_h>0)
|
||||||
icon_painted = frameBuffer->paintIcon(iconName_Info_right, dx + icon_start_x - (icon_w + 20), y+ ((item_height/2- icon_h/2)) );
|
icon_painted = frameBuffer->paintIcon(iconName_Info_right, dx + icon_start_x - (icon_w + 20), y+ ((item_height/2- icon_h/2)) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user