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:
|