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

Method findCol

outdated/win/Qt3/qt3tableview.cpp:1696–1705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1694*/
1695
1696int QtTableView::findCol( int xPos ) const
1697{
1698 int cellMaxX;
1699 int col = findRawCol( xPos, &cellMaxX );
1700 if ( testTableFlags(Tbl_cutCellsH) && cellMaxX > maxViewX() )
1701 col = - 1; // cell cut by right margin
1702 if ( col >= nCols )
1703 col = -1;
1704 return col;
1705}
1706
1707
1708/*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected