X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;h=e957de81640de5c62c3d06f5df3186072c9dc8db;hb=d3445e43a2ce2453f8e2cd5ed9edd8b23ae54446;hp=2947c665455dd203ef7a80c97fc317aef4b0d542;hpb=e7b655fa76e4a42b1a0228bd7e9290998a1fbeae;p=rodin%2Fchimara.git diff --git a/src/window.h b/src/window.h index 2947c66..e957de8 100644 --- a/src/window.h +++ b/src/window.h @@ -18,9 +18,16 @@ enum InputRequestType INPUT_REQUEST_LINE_UNICODE }; +/** + * glk_window_struct: + * + * This is an opaque structure (see + * Opaque Structures and should not be accessed directly. + */ struct glk_window_struct { - glui32 rock; + /*< private >*/ + glui32 magic, rock; /* Pointer to the node in the global tree that contains this window */ GNode *window_node; /* Window parameters */ @@ -45,8 +52,10 @@ struct glk_window_struct glui32 *line_input_buffer_unicode; glui32 line_input_buffer_max_len; gboolean mouse_input_requested; - /* Line input field coordinates (text grids only) */ - + /* Line input field (text grids only) */ + glui32 input_length; + GtkTextChildAnchor *input_anchor; + GtkWidget *input_entry; /* Signal handlers */ gulong keypress_handler; gulong insert_text_handler;