MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getKnobAt

Method getKnobAt

Gui/TrackerPanel.cpp:891–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889}
890
891KnobIPtr
892TrackerPanel::getKnobAt(int row,
893 int column,
894 int* dimension) const
895{
896 if ( (row < 0) || ( row >= (int)_imp->items.size() ) || (column < 0) || (column >= NUM_COLS) ) {
897 return KnobIPtr();
898 }
899 *dimension = _imp->items[row].items[column].dimension;
900
901 return _imp->items[row].items[column].knob.lock();
902}
903
904void
905TrackerPanel::getSelectedRows(std::set<int>* rows) const

Callers 1

paintMethod · 0.80

Calls 2

sizeMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected