Eliminated warnings about static functions declared with G_GNUC_INTERNAL
[projects/chimara/chimara.git] / src / window.h
index 7a140991e171bbf0be467b2441e151091dc14e36..b3b824a7a09a5782be52199ebdbad13d7c485e71 100644 (file)
@@ -8,6 +8,8 @@
 #include "error.h"
 #include "callbacks.h"
 #include "input.h"
+#include "style.h"
+
 
 enum InputRequestType
 {
@@ -18,9 +20,16 @@ enum InputRequestType
        INPUT_REQUEST_LINE_UNICODE
 };
 
+/**
+ * glk_window_struct:
+ *
+ * This is an opaque structure (see <link linkend="chimara-Opaque-Structures">
+ * Opaque Structures</link> 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 +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;