summaryrefslogtreecommitdiff
path: root/aewl/form_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'aewl/form_int.h')
-rw-r--r--aewl/form_int.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/aewl/form_int.h b/aewl/form_int.h
new file mode 100644
index 0000000..52be7a6
--- /dev/null
+++ b/aewl/form_int.h
@@ -0,0 +1,17 @@
+#ifndef aewan_aewl_form_int_h
+#define aewan_aewl_form_int_h
+
+/* Form internals */
+
+#include "form.h"
+struct AewlForm_ {
+ WINDOW *win; /* the curses window that houses this form */
+ AewlWidget *first_widget; /* first widget in form. Others follow in
+ * linked list */
+ AewlWidget *last_widget; /* tail of above linked list */
+ AewlWidget *focus_widget; /* points to the widget that currently has
+ * focus */
+};
+
+#endif
+