shithub: eesp

ref: f664f9d3a8d305e088f259a23cb6e86e664a7b36
dir: /libgenenter.h/

View raw version
typedef struct Enterparams Enterparams;
struct Enterparams {
	int (*initsave)(Enterparams*);
	int (*getevent)(Enterparams*);
	void (*loopcleanup)(Enterparams*);
	void (*cleanup)(Enterparams*);

	Rune k;
	Mouse m;
	Point o;
	Rectangle r;
	Rectangle sc;
	Image *b;
	Image *save;
	void *aux;
};
int _genenter(char*, char*, int, Enterparams*);

enum {
	Gkeyboard = 1,
	Gmouse = 2,
};