MCPcopy Create free account
hub / github.com/SpartanJ/eepp / createCell

Method createCell

src/eepp/ui/uitreeview.cpp:248–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248UIWidget* UITreeView::createCell( UIWidget* rowWidget, const ModelIndex& index ) {
249 UITableCell* widget = index.column() == (Int64)getModel()->treeColumn()
250 ? UITreeViewCell::New()
251 : UITableCell::New( mTag + "::cell" );
252 return setupCell( widget, rowWidget, index );
253}
254
255UIWidget* UITreeView::updateCell( const Vector2<Int64>& posIndex, const ModelIndex& index,
256 const size_t& indentLevel, const Float& yOffset ) {

Callers

nothing calls this directly

Calls 4

getModelFunction · 0.85
columnMethod · 0.80
NewFunction · 0.50
treeColumnMethod · 0.45

Tested by

no test coverage detected