summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-10-31 19:41:48 +0100
committercinap_lenrek <cinap_lenrek@centraldogma>2011-10-31 19:41:48 +0100
commit278d4f8477a5f35a17ef9f01cf06849963f31e38 (patch)
tree0e839a781ea42040ecb8cd5c92851b151141cefb /sys/include
parent01a7c491fc2a2b826e9944dc6418325f052fb11c (diff)
libdraw: added enter() and eenter() functions
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/event.h1
-rw-r--r--sys/include/mouse.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/include/event.h b/sys/include/event.h
index 03679f8f2..86e6ca6a4 100644
--- a/sys/include/event.h
+++ b/sys/include/event.h
@@ -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*);
diff --git a/sys/include/mouse.h b/sys/include/mouse.h
index 14d26de6d..5f91f11a3 100644
--- a/sys/include/mouse.h
+++ b/sys/include/mouse.h
@@ -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*);