2011-03-30 12:46:40 +00:00
|
|
|
typedef struct Cursor Cursor;
|
|
|
|
typedef struct Cursorinfo Cursorinfo;
|
|
|
|
struct Cursorinfo {
|
|
|
|
Cursor;
|
|
|
|
Lock;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern Cursorinfo cursor;
|
|
|
|
extern Cursor arrow;
|
|
|
|
extern Memimage *gscreen;
|
|
|
|
extern int cursorver;
|
|
|
|
extern Point cursorpos;
|
|
|
|
|
|
|
|
Point mousexy(void);
|
2016-12-11 15:53:51 +00:00
|
|
|
void cursoron(void);
|
|
|
|
void cursoroff(void);
|
2011-03-30 12:46:40 +00:00
|
|
|
void setcursor(Cursor*);
|
|
|
|
void flushmemscreen(Rectangle r);
|
|
|
|
Rectangle cursorrect(void);
|
|
|
|
void cursordraw(Memimage *dst, Rectangle r);
|
|
|
|
|
|
|
|
void drawactive(int);
|
|
|
|
void drawlock(void);
|
|
|
|
void drawunlock(void);
|
|
|
|
int candrawlock(void);
|
|
|
|
void getcolor(ulong, ulong*, ulong*, ulong*);
|
|
|
|
int setcolor(ulong, ulong, ulong, ulong);
|
|
|
|
#define TK2SEC(x) 0
|
|
|
|
extern void blankscreen(int);
|
|
|
|
void screeninit(int x, int y, char *chanstr);
|
2016-12-11 15:53:51 +00:00
|
|
|
void absmousetrack(int x, int y, int b, ulong msec);
|
2011-03-30 12:46:40 +00:00
|
|
|
uchar *attachscreen(Rectangle*, ulong*, int*, int*, int*);
|
|
|
|
|
|
|
|
void fsinit(char *mntpt, int x, int y, char *chanstr);
|