mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
LabelBox default color now same as textcolor
git-svn-id: svn://ultimatepp.org/upp/trunk@11716 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2e1f946a6e
commit
db70fe53ad
1 changed files with 5 additions and 3 deletions
|
|
@ -79,14 +79,16 @@ Label::Label() {
|
|||
|
||||
Label::~Label() {}
|
||||
|
||||
CH_COLOR(LabelBoxTextColor, IsDark(SColorFace()) ? Blend(LtBlue(), White) : LtBlue());
|
||||
CH_COLOR(LabelBoxDisabledTextColor, SColorDisabled());
|
||||
CH_COLOR(LabelBoxColor, SColorShadow());
|
||||
|
||||
// these are not used now
|
||||
CH_COLOR(LabelBoxTextColor, IsDark(SColorFace()) ? White() : Black());
|
||||
CH_COLOR(LabelBoxDisabledTextColor, SColorDisabled());
|
||||
|
||||
LabelBox::LabelBox()
|
||||
{
|
||||
color = Null;
|
||||
LabelBase::SetInk(LabelBoxTextColor, LabelBoxDisabledTextColor);
|
||||
LabelBase::SetInk(SColorText(), SColorDisabled());
|
||||
SetVAlign(ALIGN_TOP);
|
||||
#if defined(flagWINGL) || defined(flagLINUXGL)
|
||||
ClipToBounds(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue