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

void OglGui::Graph::DoPanning (  )  [inline]

Definition at line 355 of file Graph.h.

References OglGui::SetGetDimensions2dIntI::GetDimensions(), mNodes, mPanDifX, mPanDifY, and OglGui::SetGetDimensions2dIntI::SetDimensions().

Referenced by DocMouseFunc(), DocX(), and DocY().

00356     {
00357         int sz = mNodes.size();
00358         for (int i=0; i < mNodes.size(); i++)
00359         {
00360             NodeInfo&   nodeInfo = mNodes[i];
00361             Node*       node     = nodeInfo.nodeVector[0];
00362 
00363             int fx, fy, fw, fh;
00364             node->GetDimensions(fx,fy,fw,fh);
00365             node->SetDimensions(fx-mPanDifX,fy-mPanDifY,fw,fh);
00366         }
00367     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:29 2011 for ImpalaSrc by  doxygen 1.5.1