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

void Impala::Application::TagsLife::TagsWeekBarPlot::Init ( int  w,
int  h 
) [inline, private]

Reimplemented from Impala::Application::TagsLife::BarPlot.

Definition at line 113 of file TagsWeekBarPlot.h.

References Impala::Application::TagsLife::BarPlot::AXIS_X, Impala::Application::TagsLife::BarPlot::AXIS_Y, OglGui::OglWindow::ConnectTo(), DETAILWND_IDX, OglGui::OglWindow::GetOGLWND(), OglGui::Window::GetParent(), mDetailSensorWnd, mDetailView, mWeekSensorWnd, mWeekText, OglGui::Window::SetWindowListener(), OglGui::TOLEFTRIGHT, and WEEKWND_IDX.

00114     {
00115         Window* topWnd = this;
00116         while(topWnd->GetParent())
00117             topWnd = topWnd->GetParent();
00118         mDetailView = new WindowView2D(topWnd,0,0,10,10,0);
00119         mDetailView->Texturing(false);
00120 
00121         mDetailView->SetVisible(false);
00122 
00123         mWeekSensorWnd = new Window(this,AXIS_X,0,w,AXIS_Y);
00124         mWeekSensorWnd->ConnectTo(this,OglGui::TOLEFTRIGHT);
00125         mWeekSensorWnd->SetWindowListener(this, WEEKWND_IDX);
00126         // Indicate that we want all mouse motion events
00127         mWeekSensorWnd->GetOGLWND()->allMouseMotion = 1;
00128 
00129         mDetailSensorWnd = new Window(this,AXIS_X,AXIS_Y,w,0);
00130         mDetailSensorWnd->ConnectTo(this,OglGui::TOLEFTRIGHT);
00131         mDetailSensorWnd->SetWindowListener(this, DETAILWND_IDX);
00132         // Indicate that we want all mouse motion events
00133         mDetailSensorWnd->GetOGLWND()->allMouseMotion = 1;
00134 
00135         mWeekText = new StaticText(topWnd,0,0,100,20,"");
00136         mWeekText->SetRoundness(20,20,20,20);
00137         mWeekText->SetBorderType(BEV_LINE);
00138         mWeekText->SetBorderFillShaded(2);
00139         mWeekText->SetVisible(false);
00140     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:16:24 2011 for ImpalaSrc by  doxygen 1.5.1