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

Method horSbSliding

outdated/win/Qt3/qt3tableview.cpp:1157–1167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155*/
1156
1157void QtTableView::horSbSliding( int val )
1158{
1159 if ( testTableFlags(Tbl_snapToHGrid) &&
1160 testTableFlags(Tbl_smoothHScrolling) ) {
1161 tFlags &= ~Tbl_snapToHGrid; // turn off snapping while sliding
1162 setOffset( val, yOffs, FALSE );
1163 tFlags |= Tbl_snapToHGrid; // turn on snapping again
1164 } else {
1165 setOffset( val, yOffs, FALSE );
1166 }
1167}
1168
1169/*!
1170 \internal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected