mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@12748 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3e9db549c7
commit
b809fb6feb
1 changed files with 3 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ Button::Style ColorStyle()
|
|||
s.look[1] = Yellow();
|
||||
s.look[2] = Brown();
|
||||
s.look[3] = Gray();
|
||||
s.focus_use_ok = false; // otherwise Button would use OK style for focused button
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
@ -62,6 +63,7 @@ Button::Style ImageStyle()
|
|||
for(int i = 0; i < 4; i++)
|
||||
s.look[i] = MyButtonImg::Get(i);
|
||||
s.pressoffset = Point(1, -1);
|
||||
s.focus_use_ok = false; // otherwise Button would use OK style for focused button
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
@ -72,6 +74,7 @@ Button::Style FnStyle()
|
|||
s.look[1] = EllipseLook(3, Red, WhiteGray);
|
||||
s.look[2] = EllipseLook(4, Blue, White);
|
||||
s.look[3] = EllipseLook(1, Black, Gray);
|
||||
s.focus_use_ok = false; // otherwise Button would use OK style for focused button
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue