mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: DropList now displays readonly values as SColorDisabled
git-svn-id: svn://ultimatepp.org/upp/trunk@3350 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f4151f2667
commit
d0f51114ce
2 changed files with 2 additions and 2 deletions
|
|
@ -446,7 +446,7 @@ void MultiButton::Paint(Draw& w)
|
|||
if(cr.left < cr.right && display) {
|
||||
w.Clip(clr);
|
||||
display->Paint(w, cr, v,
|
||||
IsShowEnabled() ? text : SColorDisabled,
|
||||
IsShowEnabled() && IsEditable() ? text : SColorDisabled,
|
||||
paper, f ? Display::CURSOR : Display::FOCUS|Display::CURSOR);
|
||||
w.End();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ Image ColorMask(const Image& src, Color key)
|
|||
*t++ = *s;
|
||||
s++;
|
||||
}
|
||||
ib.SetHotSpots(src;
|
||||
ib.SetHotSpots(src);
|
||||
return ib;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue