git-svn-id: svn://ultimatepp.org/upp/trunk@14005 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-02-13 20:10:08 +00:00
parent e92328d8a7
commit 4e17258f86

View file

@ -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", []{}); });
});