Hopefully create a branch and not destroy the svn repository.
[reactos.git] / base / applications / network / telnet / src / tscroll.h
1 #ifndef __TSCROLL_H
2 #define __TSCROLL_H
3
4 #include "tconsole.h"
5 #include "tmouse.h"
6
7 typedef int(stripfunc)(char *, char *, int);
8
9 class TScroller {
10 private:
11 char *pcScrollData;
12 long iScrollSize;
13 long iScrollEnd;
14 int iPastEnd;
15 int iDisplay;
16 stripfunc *strip;
17 TMouse &Mouse;
18 public:
19 void init(stripfunc *s);
20 void update(const char *pszBegin, const char *pszEnd);
21 void ScrollBack();
22 TScroller(TMouse &M, int size=20000);
23 ~TScroller();
24 };
25
26 #endif