shithub: eesp

ref: 856542c51fbe7a4d55e292ad91714f58907d6869
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,
};