MCPcopy Create free account
hub / github.com/dillo-browser/dillo / getCellRef

Method getCellRef

dw/table.cc:602–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602AlignedTableCell *Table::getCellRef ()
603{
604 core::Widget *child;
605
606 for (int row = 0; row <= numRows; row++) {
607 int n = curCol + row * numCols;
608 if (childDefined (n)) {
609 child = children->get(n)->cell.widget;
610 if (child->instanceOf (AlignedTableCell::CLASS_ID))
611 return (AlignedTableCell*)child;
612 }
613 }
614
615 return NULL;
616}
617
618const char *Table::getExtrModName (ExtrMod mod)
619{

Callers 1

Calls 2

instanceOfMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected