Definition at line 342 of file OglDemo.h. References OglGui::DropDownWindow::AddWindow(), OglGui::TitledWindow::BtnMax, OglGui::ScrollWnd::ContentHolder(), NestedDropDown(), OglGui::ScrollWnd::ReplaceContentPane(), and OglGui::TitledWindow::SetContentPane(). Referenced by BuildTab_TreeView(). 00343 { 00344 TitledWindow* treeTWnd = new TitledWindow(parent, x, y, w, h, 00345 "Fancy TreeView", 00346 TitledWindow::BtnMax); 00347 ScrollWnd* scrollWnd = new ScrollWnd(treeTWnd, 4, 4, w-8, h-32); 00348 Window* scrollHold = scrollWnd->ContentHolder(); 00349 DropDownWindow* dDownWnd = new DropDownWindow(scrollHold,130,20, 00350 "Fancy Tree"); 00351 00352 treeTWnd->SetContentPane(scrollWnd); 00353 scrollWnd->ReplaceContentPane(dDownWnd); 00354 00355 for (int i=0; i<2; i++) 00356 dDownWnd->AddWindow(NestedDropDown(dDownWnd, "Try Me", 1, 1)); 00357 }
Here is the call graph for this function:
|