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

Method NetHackQtScrollText

outdated/win/Qt3/qt3_win.cpp:1852–1867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1850 int uncleared;
1851
1852 NetHackQtScrollText(int maxlength) :
1853 uncleared(0),
1854 maxitems(maxlength),
1855 first(0),
1856 count(0),
1857 item_cycle(maxlength)
1858 {
1859 setNumCols(1);
1860 setCellWidth(200);
1861 setCellHeight(fontMetrics().height());
1862 setBackgroundColor(white);
1863 setTableFlags(Tbl_vScrollBar
1864 |Tbl_autoHScrollBar
1865 |Tbl_clipCellPainting
1866 |Tbl_smoothScrolling);
1867 }
1868
1869 ~NetHackQtScrollText()
1870 {

Callers

nothing calls this directly

Calls 1

heightMethod · 0.45

Tested by

no test coverage detected