X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;h=7a140991e171bbf0be467b2441e151091dc14e36;hb=db0f0fc8ee25926da8d34b826a3fc80d6186adbb;hp=3395bb482296225c9d663da43a6f6ac228c826d4;hpb=c411277e0f62470f872e583892a20012e634aa37;p=rodin%2Fchimara.git diff --git a/src/window.h b/src/window.h index 3395bb4..7a14099 100644 --- a/src/window.h +++ b/src/window.h @@ -36,12 +36,19 @@ struct glk_window_struct /* Streams associated with the window */ strid_t window_stream; strid_t echo_stream; + /* Width and height of the window, in characters (text grids only) */ + glui32 width; + glui32 height; /* Input request stuff */ enum InputRequestType input_request_type; gchar *line_input_buffer; glui32 *line_input_buffer_unicode; glui32 line_input_buffer_max_len; gboolean mouse_input_requested; + /* Line input field (text grids only) */ + glui32 input_length; + GtkTextChildAnchor *input_anchor; + GtkWidget *input_entry; /* Signal handlers */ gulong keypress_handler; gulong insert_text_handler;