libdraw: added enter() and eenter() functions
This commit is contained in:
parent
01a7c491fc
commit
278d4f8477
7 changed files with 472 additions and 4 deletions
|
@ -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*);
|
||||
|
|
|
@ -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*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue