shithub: npe

ref: 9f6cb195eca648c4aceb93ab6f1f10c902781533
dir: /libnpe_sdl2/_sdl.h/

View raw version
#include <SDL2/SDL.h>
#include <sys/stat.h>
#include <stdint.h>
#include <tos.h>
#include <draw.h>
#include <memdraw.h>
#include <mouse.h>
#include <cursor.h>
#include <plumb.h>
#include "_npe.h"

struct npe_sdl {
	Mousectl *mctl;
	Mouse m, om;
	int hints;
	int mredraw;
	int fullredraw;
	int textinput;
};

enum {
	Altf4noclose = 1<<0,
};

extern struct npe_sdl npe_sdl;

int npe_init_input(void);