mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@14005 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e92328d8a7
commit
4e17258f86
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ TestChStyle::TestChStyle()
|
|||
bar.Add(false, "Disabled", [] {});
|
||||
static bool check;
|
||||
bar.Add("Check", [] { check = !check; }).Check(check);
|
||||
static bool radio;
|
||||
bar.Add("Radio", [] { radio = !radio; }).Radio(radio);
|
||||
bar.Separator();
|
||||
bar.Sub("Submenu", [](Bar& bar) { bar.Add("Something", []{}); });
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue