summaryrefslogtreecommitdiff
path: root/textscreen/txt_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_window.h')
-rw-r--r--textscreen/txt_window.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/textscreen/txt_window.h b/textscreen/txt_window.h
index 19440941..8b1e1fb9 100644
--- a/textscreen/txt_window.h
+++ b/textscreen/txt_window.h
@@ -191,6 +191,15 @@ void TXT_SetMouseListener(txt_window_t *window,
TxtWindowMousePress mouse_listener,
void *user_data);
-#endif /* #ifndef TXT_WINDOW_H */
+/**
+ * Open a window displaying a message.
+ *
+ * @param title Title of the window.
+ * @param message The message to display in the window.
+ * @return The new window.
+ */
+
+txt_window_t *TXT_MessageBox(char *title, char *message, ...);
+#endif /* #ifndef TXT_WINDOW_H */