SColorLabel

git-svn-id: svn://ultimatepp.org/upp/trunk@843 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-02-07 22:40:10 +00:00
parent 1f7b62dd7a
commit c0dba90406
7 changed files with 62 additions and 7 deletions

View file

@ -567,7 +567,7 @@ void Option::Paint(Draw& w) {
if(showlabel) {
bool ds = !IsShowEnabled();
DrawSmartText(w, isz.cx + 4, ty, tsz.cx, label, font,
ds || IsReadOnly() ? SColorDisabled : SColorText,
ds || IsReadOnly() ? SColorDisabled : SColorLabel, ////////
VisibleAccessKeys() ? accesskey : 0);
if(HasFocus())
DrawFocus(w, RectC(isz.cx + 2, ty - 1, tsz.cx + 3, tsz.cy + 2) & sz);