[Controller] Disallow multiple TildaWindows to bind to the same key
[tilda-gobject.git] / tilda-window.h
index b8b408f..a6c8b61 100644 (file)
@@ -42,7 +42,27 @@ struct _TildaWindow {
        GPtrArray *terms;
 
        gint number;
-
+       GObject *controller; /* pointer back to TildaController */
+       enum window_states { WINDOW_UP, WINDOW_DOWN } state;
+
+       gchar *key;
+
+       gint height;
+       gint width;
+       gint x_position;
+       gint y_position;
+
+       // FIXME: these really should be enum's if possible
+       gint tab_position;
+       gint animation_orientation;
+       gint animation_delay;
+
+       gboolean keep_above;
+       gboolean skip_taskbar_hint;
+       gboolean stick;
+       gboolean hidden_at_start;
+       gboolean centered_horizontally;
+       gboolean centered_vertically;
        gboolean have_real_transparency;
 };
 
@@ -56,9 +76,10 @@ struct _TildaWindowClass {
 GType tilda_window_get_type (void);
 
 /* API */
-gboolean tilda_window_remove_term (TildaWindow *tw, gint terminal_number);
+gboolean tilda_window_close (TildaWindow *self);
+gboolean tilda_window_add_terminal (TildaWindow *self);
+gboolean tilda_window_remove_terminal (TildaWindow *self, gint terminal_number);
 
 #endif /* TILDA_WINDOW_H */
 
 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */
-