Definition at line 360 of file OglDemo.h. References OglGui::DropDownWindow::AddWindow(), OglGui::StaticText::SetAlign(), and OglGui::ScrollBar::SetRange(). Referenced by TitledControlTreeView(). 00361 { 00362 DropDownWindow* dropDW = new DropDownWindow(parent, 130, 20, txt); 00363 00364 if (nest>0) 00365 dropDW->AddWindow(ControlDrop(dropDW, "Next", nest-1)); 00366 00367 dropDW->AddWindow(new Button(dropDW, 70, 20, "A Button")); 00368 00369 StaticText* sT = new StaticText(dropDW, 0,0,150,20, "ScrollBar below"); 00370 sT->SetAlign(oglLeftAlign, oglBottomAlign); 00371 dropDW->AddWindow(sT); 00372 00373 ScrollBar* sB = new ScrollBar(dropDW, 0, 0, 100, 20, true); 00374 sB->SetRange(100,10); 00375 dropDW->AddWindow(sB); 00376 00377 return dropDW; 00378 }
Here is the call graph for this function:
|