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

void Impala::Application::VideoExcel::TableCell::Init ( Window parent,
TableDataSource source,
TableViewCache cache,
String  column 
) [inline, private]

Definition at line 112 of file TableCell.h.

References OglGui::OglWindow::ConnectTo(), DISPLAY_TEXT, OglGui::OglWindow::GetOGLWND(), OglGui::OglWindow::H(), OglGui::L2L, mColumn, mCurrentDisplayMode, mDisplayAsDot, mDisplayAsText, mFillBgColor, mParent, mSource, mViewCache, OglGui::R2R, OglGui::OglWindow::ScaleTo(), OglGui::StaticText::SetCentered(), OglGui::OglWindow::SetVisible(), and OglGui::OglWindow::W().

00114     {
00115         mParent             = parent;
00116         mSource             = source;
00117         mColumn             = column;
00118         mViewCache          = cache;
00119         mFillBgColor        = 0;
00120         mCurrentDisplayMode = DISPLAY_TEXT;
00121         ConnectTo(parent, OglGui::L2L|OglGui::R2R);
00122         SetVisible(false);
00123 
00124         mDisplayAsText = new StaticText(this, 0, 0, W(), H(), "");
00125         mDisplayAsText->ConnectTo(this);
00126         mDisplayAsText->SetVisible(true);
00127         mDisplayAsText->SetCentered(false);
00128 
00129         // 1, 1, W()-2, H()-2);
00130         mDisplayAsDot = new Window(this, W() / 2 - 4, H() / 2 - 4, 8, 8); 
00131         mDisplayAsDot->ScaleTo(this);
00132         mDisplayAsDot->SetVisible(false);
00133 
00134         oglSys.SetNoMouseInput(mDisplayAsText->GetOGLWND(),1);
00135         oglSys.SetNoMouseInput(mDisplayAsDot->GetOGLWND(),1);
00136     }

Here is the call graph for this function:


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