17 lines
312 B
C
17 lines
312 B
C
|
|
#ifndef _CURSETREE_SURFACE_H
|
||
|
|
#define _CURSETREE_SURFACE_H
|
||
|
|
|
||
|
|
/* Initial row and column coordinates */
|
||
|
|
#define ROW0 1
|
||
|
|
#define COL0 1
|
||
|
|
|
||
|
|
typedef unsigned short pos;
|
||
|
|
|
||
|
|
typedef struct ct_surface {
|
||
|
|
pos x, y, w, h;
|
||
|
|
char **buf;
|
||
|
|
pos vcx, vcy; /* virtual cursor position */
|
||
|
|
} surface;
|
||
|
|
|
||
|
|
#endif /* _CURSETREE_SURFACE_H */
|