mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 22:03:07 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@10274 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8b96b11e8c
commit
c8dbd68e1d
18 changed files with 55 additions and 67 deletions
|
|
@ -13,14 +13,12 @@ struct App : TopWindow {
|
|||
option[i].Enable(i == ii || option[ii]);
|
||||
}
|
||||
|
||||
typedef App CLASSNAME;
|
||||
|
||||
App() {
|
||||
a.AddColumn("Option");
|
||||
for(int i = 0; i < 300; i++) {
|
||||
a.Add(bool(i & 4));
|
||||
a.SetCtrl(i, 0, option.Add().SetLabel("Option " + AsString(i)));
|
||||
option.Top() <<= THISBACK1(Do, i);
|
||||
option.Top() << [=] { Do(i); };
|
||||
}
|
||||
a.SetLineCy(Draw::GetStdFontCy() + 8);
|
||||
Add(a.SizePos());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue