mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Chameleon improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14000 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7f777f7726
commit
8ccc1130e2
3 changed files with 7 additions and 3 deletions
|
|
@ -454,6 +454,8 @@ CH_STYLE(SpinButtons, Style, StyleDefault)
|
|||
CtrlsImageLook(inc.look, CtrlsImg::I_EB, CtrlsImg::SpU(), inc.monocolor);
|
||||
CtrlsImageLook(dec.look, CtrlsImg::I_EB, CtrlsImg::SpD(), dec.monocolor);
|
||||
width = Zx(12);
|
||||
over = 0;
|
||||
onsides = false;
|
||||
}
|
||||
|
||||
CH_STYLE(SpinButtons, Style, StyleOnSides)
|
||||
|
|
|
|||
|
|
@ -313,7 +313,9 @@ void ChSynthetic(Image *button100x100, Color *text, bool macos)
|
|||
{
|
||||
EditField::Style& s = EditField::StyleDefault().Write();
|
||||
s.activeedge = true;
|
||||
s.edge[i] = Espots(MakeButton(roundness2, i == CTRL_DISABLED ? SColorFace() : SColorPaper(), lw, ink));
|
||||
s.edge[i] = Espots(MakeButton(roundness2,
|
||||
i == CTRL_DISABLED ? SColorFace() : SColorPaper(), lw,
|
||||
i == CTRL_PRESSED ? SColorHighlight() : ink));
|
||||
if(i == 0)
|
||||
s.coloredge = Espots(MakeButton(roundness2, Black(), DPI(2), Null));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -139,8 +139,8 @@ public:
|
|||
Button::Style inc;
|
||||
Button::Style dec;
|
||||
int width;
|
||||
int over = 0;
|
||||
bool onsides = false;
|
||||
int over;
|
||||
bool onsides;
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue