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

Method updateProgramSource

tao/widget.cpp:4350–4364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4348
4349
4350void Widget::updateProgramSource(bool notWhenHidden)
4351// ----------------------------------------------------------------------------
4352// Update the contents of the program source window
4353// ----------------------------------------------------------------------------
4354{
4355#ifndef CFG_NOSRCEDIT
4356 Window *window = taoWindow();
4357 if ((window->src->isHidden() && notWhenHidden) ||
4358 !xlProgram || sourceChanged())
4359 return;
4360 window->srcEdit->render(xlProgram->tree, &selectionTrees);
4361#else
4362 Q_UNUSED(notWhenHidden);
4363#endif
4364}
4365
4366
4367QStringList Widget::listNames()

Callers 4

loadFileMethod · 0.80
DrawSelectionMethod · 0.80
PerformEditOperationMethod · 0.80

Calls 1

renderMethod · 0.80

Tested by

no test coverage detected