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

void Impala::Application::VideoExcel::VideoExcelNode::AddNode ( Window child,
int  inset = 20,
int  insertAt = -1 
) [inline]

Definition at line 38 of file VideoExcelNode.h.

References OglGui::OglWindow::GetDimensions(), HandleLayoutChange(), mChildNodes, OglGui::Window::SetAllowReposition(), and OglGui::OglWindow::SetDimensions().

00039     {
00040         int     x,y,w,h;
00041 
00042         if (insertAt==-1 || insertAt>mChildNodes.size()-1)
00043             mChildNodes.push_back(child);
00044         else
00045             mChildNodes.insert(mChildNodes.begin()+insertAt+1,child);
00046         child->SetAllowReposition(false);
00047         child->GetDimensions(x,y,w,h);
00048         child->SetDimensions(x+inset,y,w,h);
00049         HandleLayoutChange();
00050     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:52:39 2010 for ImpalaSrc by  doxygen 1.5.1