Improved Radiobutton widget color when disabled
This commit is contained in:
parent
1ec8599cd8
commit
fc168295e5
1 changed files with 4 additions and 1 deletions
|
@ -165,7 +165,10 @@ namespace gcn
|
|||
auto shadowColor = faceColor - 0x303030;
|
||||
shadowColor.a = alpha;
|
||||
|
||||
graphics->setColor(getBackgroundColor());
|
||||
auto backCol = getBackgroundColor();
|
||||
if (!isEnabled())
|
||||
backCol = backCol - 0x303030;
|
||||
graphics->setColor(backCol);
|
||||
|
||||
int i;
|
||||
const auto hh = (h + 1) / 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue