libdraw: added enter() and eenter() functions

This commit is contained in:
cinap_lenrek 2011-10-31 19:41:48 +01:00
parent 01a7c491fc
commit 278d4f8477
7 changed files with 472 additions and 4 deletions

View file

@ -64,3 +64,4 @@ extern Rectangle egetrect(int, Mouse*);
extern void edrawgetrect(Rectangle, int);
extern int ereadmouse(Mouse*);
extern int eatomouse(Mouse*, char*, int);
extern int eenter(char*, char*, int, Mouse*);

View file

@ -4,6 +4,7 @@ typedef struct Channel Channel;
typedef struct Cursor Cursor;
typedef struct Menu Menu;
typedef struct Mousectl Mousectl;
typedef struct Keyboardctl Keyboardctl;
struct Mouse
{
@ -44,3 +45,4 @@ extern void setcursor(Mousectl*, Cursor*);
extern void drawgetrect(Rectangle, int);
extern Rectangle getrect(int, Mousectl*);
extern int menuhit(int, Mousectl*, Menu*, Screen*);
extern int enter(char *, char *, int, Mousectl*, Keyboardctl*, Screen*);