MCPcopy Create free account
hub / github.com/NetHack/NetHack / findRow

Method findRow

outdated/win/Qt3/qt3tableview.cpp:1676–1685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1674*/
1675
1676int QtTableView::findRow( int yPos ) const
1677{
1678 int cellMaxY;
1679 int row = findRawRow( yPos, &cellMaxY );
1680 if ( testTableFlags(Tbl_cutCellsV) && cellMaxY > maxViewY() )
1681 row = - 1; // cell cut by bottom margin
1682 if ( row >= nRows )
1683 row = -1;
1684 return row;
1685}
1686
1687
1688/*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected