Gui: Colorful/Greyable overlay status in icons
=============================================== Before this implementation, specific status via former mergeOverlayIcon() was greyed out with the visibility. With this commit, the developer has two options: a) override mergeGreyableOverlayIcons, in which case the overlay will be greyed out when the item is greyed out as per former mergeOverlayIcon() b) override mergeColorfulOverlayIcons, in which case the overlay will be superimposed after the icon is greyed out as it is the case for stardard error and recompute flags.
This commit is contained in:
committed by
abdullahtahiriyo
parent
035bea5082
commit
87c9f83bd6
@@ -212,7 +212,7 @@ public:
|
||||
if (icon.isNull())
|
||||
icon = ViewProviderT::getIcon();
|
||||
else
|
||||
icon = ViewProviderT::mergeOverlayIcons(icon);
|
||||
icon = ViewProviderT::mergeGreyableOverlayIcons(icon);
|
||||
return icon;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user