X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;h=39c43149f9d6819e225cffd8d29279803e1c4325;hb=0da322b6699ac19cef78a8d6fd146b3720894a8a;hp=7a140991e171bbf0be467b2441e151091dc14e36;hpb=fb6cf2af0f2318aceaea82d02acc961df0f9811d;p=rodin%2Fchimara.git diff --git a/src/window.h b/src/window.h index 7a14099..39c4314 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 */ @@ -39,6 +46,10 @@ struct glk_window_struct /* Width and height of the window, in characters (text grids only) */ glui32 width; glui32 height; + /* Window split data (pair windows only) */ + winid_t key_window; + glui32 split_method; + glui32 constraint_size; /* Input request stuff */ enum InputRequestType input_request_type; gchar *line_input_buffer;