Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void OglGui::OglDemo::TitledFancyTreeView ( Window parent,
int  x,
int  y,
int  w,
int  h 
) [inline]

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:


Generated on Thu Jan 13 09:26:39 2011 for ImpalaSrc by  doxygen 1.5.1