mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 08:12:42 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@12917 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
51557b7384
commit
cda623d89c
1 changed files with 2 additions and 2 deletions
|
|
@ -8,12 +8,12 @@ struct ColorTest : TopWindow {
|
|||
void Paint(Draw& w) override {
|
||||
Size sz = GetSize();
|
||||
w.DrawRect(0, 0, sz.cx, sz.cy / 2, ~color);
|
||||
w.DrawRect(0, sz.cy / 2, sz.cx, sz.cy / 2 + 1, DarkTheme(~color));
|
||||
w.DrawRect(0, sz.cy / 2, sz.cx, sz.cy / 2 + 1, DarkTheme((Color)~color));
|
||||
}
|
||||
|
||||
ColorTest() {
|
||||
Add(color.LeftPosZ(0, 300).TopPosZ(0, 300));
|
||||
color << [=] { Refresh(); Title(AsString(DarkTheme(~color))); };
|
||||
color << [=] { Refresh(); Title(AsString(DarkTheme((Color)~color))); };
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue