mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Ch Classic cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@14159 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
eea9c16e2b
commit
75740d0375
1 changed files with 10 additions and 3 deletions
|
|
@ -182,10 +182,17 @@ void ChClassicSkin()
|
|||
}
|
||||
t = iw;
|
||||
SetHotSpots(t, Point(2, 2));
|
||||
s.first[i] = s.last[i] = s.both[i] = s.normal[i] = t;
|
||||
s.first[i] = s.both[i] = t;
|
||||
ImageDraw iw2(isz);
|
||||
iw2.DrawImage(0, 0, t);
|
||||
if(i == CTRL_PRESSED) // the active tab
|
||||
iw2.DrawRect(0, isz.cy - 1, 1, 1, wg);
|
||||
t = iw2;
|
||||
SetHotSpots(t, Point(2, 2));
|
||||
s.last[i] = s.normal[i] = t;
|
||||
s.margin = 0;
|
||||
s.sel = Rect(0, DPI(1), 0, DPI(1));
|
||||
s.extendleft = DPI(2);
|
||||
s.sel = Rect(0, 2, 0, 2);
|
||||
s.extendleft = 2;
|
||||
s.text_color[i] = SColorText();
|
||||
}
|
||||
// static int adj[] = { 10, 80, -5, -10 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue