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

void LabeledGraph::addNode ( string  label  )  [inline, private]

Definition at line 42 of file LabeledGraph.h.

References OglGui::Graph::AddNode(), OglGui::SizableWindow::AllDir, OglGui::OglWindow::GetDimensions(), OglGui::Graph::Graph(), and nodes.

Referenced by addNodes().

00042                                    {
00043                 int width, height;
00044                 this->GetDimensions(width, height);
00045                 int x  = ABSRND(width-20);
00046                 int y  = ABSRND(height-20);
00047 
00048                 nodes[label] = new Graph(this,x,y,75,20,1);
00049                 nodes[label]->ShapeBg(ARGB2COLOR(196,255,0,0));
00050                 nodes[label]->SetBorderType(0);
00051                 nodes[label]->SetText(label);
00052                 nodes[label]->ActOnModifier(0);
00053                 nodes[label]->SetAllowSizeDirections(AllDir, false);
00054 
00055                 this->AddNode(nodes[label]);
00056         }

Here is the call graph for this function:


Generated on Fri Mar 19 10:32:25 2010 for ImpalaSrc by  doxygen 1.5.1