Merge from amd64-branch:
[reactos.git] / reactos / base / applications / network / telnet / src / tscroll.h
1 #pragma once
2
3 #include "tconsole.h"
4 #include "tmouse.h"
5
6 typedef int(stripfunc)(char *, char *, int);
7
8 class TScroller {
9 private:
10 char *pcScrollData;
11 long iScrollSize;
12 long iScrollEnd;
13 int iPastEnd;
14 int iDisplay;
15 stripfunc *strip;
16 TMouse &Mouse;
17 public:
18 void init(stripfunc *s);
19 void update(const char *pszBegin, const char *pszEnd);
20 void ScrollBack();
21 TScroller(TMouse &M, int size=20000);
22 ~TScroller();
23 };