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

void Impala::Application::WindowImBrowse::BuildGUI ( int  wndWidth,
int  wndHeight 
) [inline, private]

Definition at line 54 of file mainImBrowse.cpp.

References Impala::Visualization::AppController::AddControl(), OglGui::Tabs::CreateTab(), Impala::Visualization::AppController::Instance(), mIxsDoc, mIxsDocMain, mTabs, OglGui::Tabs::SetActiveTab(), OglGui::OglWindow::SetBackground(), OglGui::Tabs::SetTabsListener(), TAB_IXS, and TAB_SET.

Referenced by WindowImBrowse().

00055     {
00056         SetBackground(0xffd2c799);
00057         AppController& ctr = AppController::Instance();
00058         mTabs = new OglGui::Tabs(this, wndWidth, wndHeight);
00059         mTabs->SetTabsListener(this);
00060         int line = 22;
00061         OglGui::Window* tab;
00062         tab = mTabs->CreateTab("Data set", -1, TAB_SET);
00063         DataDocumentGui<IxsDocument>* dataGui =
00064             new DataDocumentGui<IxsDocument>(tab, wndWidth, wndHeight, mIxsDoc,
00065                                              TAB_SET);
00066         ctr.AddControl((AppControlDoc*) dataGui);
00067 
00068         tab = mTabs->CreateTab("Ixs", -1, TAB_IXS);
00069         int nrImOnRow = 7; // -1 to skip
00070         int imWidth = 176;
00071         int imHeight = 120;
00072         int height = wndHeight;
00073         mIxsDocMain = new IxsDocumentGuiMain(tab, wndWidth, height, nrImOnRow,
00074                                              imWidth, imHeight, 1.0, true,
00075                                              mIxsDoc, TAB_IXS);
00076         ctr.AddControl((AppControlDoc*) mIxsDocMain);
00077 
00078         mTabs->SetActiveTab(0);
00079     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:14:27 2011 for ImpalaSrc by  doxygen 1.5.1