reactos/rosapps/net/telnet/src/tscroll.h
Steven Edwards 5902c7241e End of line fix for gcc 3.x, other misc fixes for 3x
svn path=/trunk/; revision=3539
2002-09-24 03:57:59 +00:00

26 lines
455 B
C++

#ifndef __TSCROLL_H
#define __TSCROLL_H
#include "tconsole.h"
#include "tmouse.h"
typedef int(stripfunc)(char *, char *, int);
class TScroller {
private:
char *pcScrollData;
long iScrollSize;
long iScrollEnd;
int iPastEnd;
int iDisplay;
stripfunc *strip;
TMouse &Mouse;
public:
void init(stripfunc *s);
void update(const char *pszBegin, const char *pszEnd);
void ScrollBack();
TScroller(TMouse &M, int size=20000);
~TScroller();
};
#endif