X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;h=93e946ab03caea3b11456b2d0de1bc7bd187f729;hb=c8c67078daea54fdf03b46726a77ecf26cf65be4;hp=6f83744dcd5605e1003e3edebb2f4eb3ecc0e899;hpb=352f99218b90bc9a3e5386afc3f12c36c3ebec60;p=rodin%2Fchimara.git diff --git a/src/window.h b/src/window.h index 6f83744..93e946a 100644 --- a/src/window.h +++ b/src/window.h @@ -36,12 +36,16 @@ 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; + /* Signal handlers */ gulong keypress_handler; gulong insert_text_handler; };