| 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 | { |