X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;h=b3b824a7a09a5782be52199ebdbad13d7c485e71;hb=a7665032bcdacab5d3441eb9d03cfe6b0c0c4923;hp=30fe53d8834b3d2237bd1c2c4205699d6c827a33;hpb=904fed6618b22e84597efd60c3784e57d44f3ef1;p=projects%2Fchimara%2Fchimara.git diff --git a/src/window.h b/src/window.h index 30fe53d..b3b824a 100644 --- a/src/window.h +++ b/src/window.h @@ -8,6 +8,8 @@ #include "error.h" #include "callbacks.h" #include "input.h" +#include "style.h" + enum InputRequestType { @@ -27,7 +29,7 @@ enum InputRequestType struct glk_window_struct { /*< private >*/ - glui32 rock; + glui32 magic, rock; /* Pointer to the node in the global tree that contains this window */ GNode *window_node; /* Window parameters */ @@ -46,6 +48,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;