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

virtual void OglGui::ScrollWnd::SetContentPane ( Window nwPane,
bool  delOldContent = true,
bool  doLayout = true 
) [inline, virtual]

Reimplemented in OglGui::DocScroller.

Definition at line 61 of file ScrollWnd.h.

References OglGui::OglWindow::GetDimensions(), mContent, mHolder, OglGui::Window::SetAllowReposition(), OglGui::OglWindow::SetBorderType(), and OglGui::OglWindow::SetDimensions().

Referenced by OglGui::DocScroller::SetContentPane().

00063     {
00064         if (delOldContent && mContent){
00065             delete mContent;
00066             mContent = 0;
00067         }
00068         if ((mContent = nwPane) && doLayout){
00069             int clW, clH;
00070 
00071             mContent->SetBorderType(BEV_NONE);
00072             mHolder->GetDimensions(clW, clH);
00073             mContent->SetDimensions(0, 0, clW, clH);
00074             mContent->SetAllowReposition(false);
00075         }
00076     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:05:16 2010 for ImpalaSrc by  doxygen 1.5.1