summaryrefslogtreecommitdiff
path: root/textscreen/txt_window_action.h
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_window_action.h')
-rw-r--r--textscreen/txt_window_action.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/textscreen/txt_window_action.h b/textscreen/txt_window_action.h
index d4194ddd..2310547f 100644
--- a/textscreen/txt_window_action.h
+++ b/textscreen/txt_window_action.h
@@ -28,6 +28,7 @@
typedef struct txt_window_action_s txt_window_action_t;
#include "txt_widget.h"
+#include "txt_window.h"
struct txt_window_action_s
{
@@ -38,5 +39,13 @@ struct txt_window_action_s
txt_window_action_t *TXT_NewWindowAction(int key, char *label);
+// Creates an "escape" button that closes the window
+
+txt_window_action_t *TXT_NewWindowEscapeAction(txt_window_t *window);
+
+// Accept button that does nothing
+
+txt_window_action_t *TXT_NewWindowAcceptAction(void);
+
#endif /* #ifndef TXT_WINDOW_ACTION_H */