mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
CtrlLib: ToolBar images not longer adjusted for dark theme, plugin/pcre: Fixed to compile
git-svn-id: svn://ultimatepp.org/upp/trunk@12880 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d98997c227
commit
97cbae192c
3 changed files with 3 additions and 11 deletions
|
|
@ -210,8 +210,6 @@ void MenuItemBase::PaintTopItem(Draw& w, int state) {
|
|||
Bar::Item& MenuItem::Image(const UPP::Image& img)
|
||||
{
|
||||
licon = img;
|
||||
if(IsDarkColorFace() && !nodarkadjust)
|
||||
licon = MakeImage(licon, AdjustForDarkBk);
|
||||
Refresh();
|
||||
return *this;
|
||||
}
|
||||
|
|
@ -219,8 +217,6 @@ Bar::Item& MenuItem::Image(const UPP::Image& img)
|
|||
MenuItem& MenuItem::RightImage(const UPP::Image& img)
|
||||
{
|
||||
ricon = img;
|
||||
if(IsDarkColorFace() && !nodarkadjust)
|
||||
ricon = MakeImage(ricon, AdjustForDarkBk);
|
||||
Refresh();
|
||||
return *this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue