projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Verbeterd interrupt mechanisme en afbreken van het Glk programma
[rodin/chimara.git]
/
src
/
window.h
diff --git
a/src/window.h
b/src/window.h
index 02afe78e377ac505e8c20fb6a390614427dfc6dd..1fb98ce2a7cbc6dac20c7b6e9a2ab8f6b1a135ae 100644
(file)
--- a/
src/window.h
+++ b/
src/window.h
@@
-6,6
+6,8
@@
#include "stream.h"
#include "error.h"
#include "stream.h"
#include "error.h"
+#include "callbacks.h"
+#include "input.h"
enum InputRequestType
{
enum InputRequestType
{
@@
-22,7
+24,7
@@
struct glk_window_struct
/* Pointer to the node in the global tree that contains this window */
GNode *window_node;
/* Window parameters */
/* Pointer to the node in the global tree that contains this window */
GNode *window_node;
/* Window parameters */
- glui32
window_
type;
+ glui32 type;
GtkWidget *widget;
strid_t window_stream;
strid_t echo_stream;
GtkWidget *widget;
strid_t window_stream;
strid_t echo_stream;
@@
-31,6
+33,9
@@
struct glk_window_struct
gchar *line_input_buffer;
glui32 *line_input_buffer_unicode;
glui32 line_input_buffer_max_len;
gchar *line_input_buffer;
glui32 *line_input_buffer_unicode;
glui32 line_input_buffer_max_len;
+ gboolean mouse_input_requested;
+ gulong keypress_handler;
+ gulong insert_text_handler;
};
#endif
};
#endif