MCPcopy Create free account
hub / github.com/c3d/tao3D / addControlBox

Method addControlBox

tao/widget.cpp:10216–10228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10214
10215
10216bool Widget::addControlBox(Real *x, Real *y, Real *z,
10217 Real *w, Real *h, Real *d)
10218// ----------------------------------------------------------------------------
10219// Module interface to add a control box to the current layout
10220// ----------------------------------------------------------------------------
10221{
10222 Widget *widget = Tao();
10223 Tree_p currentShape = widget->currentShape;
10224 Layout *layout = widget->layout;
10225 if (currentShape)
10226 layout->Add(new ControlBox(currentShape, x, y, z, w, h, d));
10227 return true;
10228}
10229
10230
10231// ============================================================================

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected