mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-11 22:03:09 -06:00
Reverted DropList transparency
git-svn-id: svn://ultimatepp.org/upp/trunk@5642 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a661c4a25a
commit
491f52e8eb
1 changed files with 1 additions and 5 deletions
|
|
@ -390,8 +390,7 @@ void MultiButton::Paint(Draw& w)
|
|||
cr.left = lx;
|
||||
cr.right = rx;
|
||||
r = cr;
|
||||
if(!IsTransparent())
|
||||
paper = HasFocus() ? SColorHighlight() : SColorPaper();
|
||||
paper = HasFocus() ? SColorHighlight() : SColorPaper();
|
||||
if(HasFocus())
|
||||
text = SColorHighlightText();
|
||||
w.DrawRect(r, paper);
|
||||
|
|
@ -401,9 +400,6 @@ void MultiButton::Paint(Draw& w)
|
|||
Rect m = GetMargin();
|
||||
r = Rect(max(lx, m.left), m.top, min(rx, sz.cx - m.right), sz.cy - m.bottom);
|
||||
Color paper;
|
||||
if(IsTransparent())
|
||||
paper = Null;
|
||||
else
|
||||
if(mst == CTRL_HOT && !IsTrivial())
|
||||
paper = Blend(SColorHighlight, SColorPaper, 235);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue