Definition at line 380 of file OglDemo.h. References OglGui::DropDownWindow::AddWindow(), OglGui::TitledWindow::BtnMax, OglGui::ScrollWnd::ContentHolder(), ControlDrop(), OglGui::ScrollWnd::ReplaceContentPane(), and OglGui::TitledWindow::SetContentPane(). Referenced by BuildTab_TreeView(). 00381 { 00382 TitledWindow* treeTWnd = new TitledWindow(parent,x,y,w,h,"TreeView", 00383 TitledWindow::BtnMax); 00384 ScrollWnd* scrollWnd = new ScrollWnd(treeTWnd,4,4,w-8,h-32); 00385 Window* scrollHold = scrollWnd->ContentHolder(); 00386 DropDownWindow* dDownWnd = new DropDownWindow(scrollHold,130,20, 00387 "Control Tree"); 00388 00389 treeTWnd->SetContentPane(scrollWnd); 00390 scrollWnd->ReplaceContentPane(dDownWnd); 00391 00392 for (int i=0; i<3; i++) 00393 dDownWnd->AddWindow(ControlDrop(dDownWnd, "DropDown", 2)); 00394 }
Here is the call graph for this function:
|