projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed warnings
[dosdemo]
/
src
/
screen.h
diff --git
a/src/screen.h
b/src/screen.h
index
efb43f7
..
c2e4974
100644
(file)
--- a/
src/screen.h
+++ b/
src/screen.h
@@
-11,6
+11,8
@@
struct screen {
void (*stop)(long trans_time);
void (*draw)(void);
void (*stop)(long trans_time);
void (*draw)(void);
+
+ void (*keypress)(int key);
};
int scr_init(void);
};
int scr_init(void);
@@
-18,6
+20,7
@@
void scr_shutdown(void);
void scr_update(void);
void scr_draw(void);
void scr_update(void);
void scr_draw(void);
+void scr_keypress(int key);
struct screen *scr_lookup(const char *name);
struct screen *scr_screen(int idx);
struct screen *scr_lookup(const char *name);
struct screen *scr_screen(int idx);