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

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

Definition at line 93 of file BoostedGraph.h.

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

Referenced by addNodes().

00093                                    {
00094                 int width, height;
00095                 this->GetDimensions(width, height);
00096                 int x  = ABSRND(width-20);
00097                 int y  = ABSRND(height-20);
00098 
00099                 nodes[label].first = add_vertex(label, graph);
00100                 nodes[label].second = new OglGui::Graph(this,x,y,75,20,1,label);
00101                 nodes[label].second->ShapeBg(ARGB2COLOR(208,255,24,0));
00102                 nodes[label].second->SetBorderType(0);
00103                 nodes[label].second->ActOnModifier(0);
00104                 nodes[label].second->SetAllowSizeDirections(AllDir, false);
00105         nodes[label].second->SetWindowListener(this, nodes[label].second);
00106 
00107                 this->AddNode(nodes[label].second);
00108         }

Here is the call graph for this function:


Generated on Fri Mar 19 10:31:54 2010 for ImpalaSrc by  doxygen 1.5.1