Definition at line 67 of file ConceptTreeBrowser.h. References OglGui::DropDownWindow::AddWindow(), mChildToParent, mChildWnds, mDropWnd, mRootWndCounts, mRootWnds, mThreadSet, mThumbHeight, mThumbWidth, mViewScale, Impala::Visualization::GUI::PreviewBar::SetPreviewBarSelectionListener(), Impala::Visualization::GUI::PreviewBar::SetType(), and OglGui::OglWindow::W(). Referenced by Impala::Application::IDash::ScreenQuery::AddConcepts(). 00068 { 00069 DropDownWindow *target = mDropWnd; 00070 if (parent != "root") 00071 { 00072 if (mRootWnds.find(parent) == mRootWnds.end()) 00073 { 00074 mRootWnds[parent] = 00075 new DropDownWindow(mDropWnd, mDropWnd->W(), 20, parent); 00076 mRootWndCounts[parent] = 0; 00077 mDropWnd->AddWindow(mRootWnds[parent]); 00078 } 00079 target = mRootWnds[parent]; 00080 mRootWndCounts[parent] = mRootWndCounts[parent] + 1; 00081 mChildToParent[name] = parent; 00082 } 00083 else 00084 { 00085 mChildToParent[name] = "root"; 00086 mRootWndCounts["root"] = mRootWndCounts["root"] + 1; 00087 } 00088 00089 ConceptPreviewBar* bar = 00090 new ConceptPreviewBar(target, mDropWnd->W(), 60, name, mThreadSet, 00091 quality, false, mThumbWidth, mThumbHeight, 00092 mViewScale); 00093 bar->SetPreviewBarSelectionListener(this, 0); 00094 bar->SetType(type); 00095 mChildWnds[name] = bar; 00096 target->AddWindow(bar); 00097 }
Here is the call graph for this function:
|