mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
c98929fa7e
svn path=/trunk/; revision=2458
26 lines
454 B
C++
26 lines
454 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 |