mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-14 06:12:25 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@13791 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
952d0259a1
commit
d42ffda3be
1 changed files with 6 additions and 1 deletions
|
|
@ -18,7 +18,12 @@ void Dc(WithDropChoice<EditString>& dc)
|
|||
TestChStyle::TestChStyle()
|
||||
{
|
||||
AddFrame(menu);
|
||||
menu.Sub("Something", [=](Bar& bar) { bar.Add("Foo", [] {}); });
|
||||
menu.Sub("Something", [=](Bar& bar) {
|
||||
bar.Add("Foo", [] {});
|
||||
bar.Add(false, "Disabled", [] {});
|
||||
static bool check;
|
||||
bar.Add("Check", [] { check = !check; }).Check(check);
|
||||
});
|
||||
|
||||
AddFrame(bar);
|
||||
bar.Set([](Bar& bar) { bar.Add(CtrlImg::Diskette(), [] {}).Tip("This is test"); });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue