summaryrefslogtreecommitdiff
path: root/textscreen/txt_separator.h
diff options
context:
space:
mode:
authorSimon Howard2011-03-22 21:33:17 +0000
committerSimon Howard2011-03-22 21:33:17 +0000
commite339efa45fb54e794d1dd26f7a716a383cc3dc6d (patch)
treee56b2314c6682211e7c7dcf701f9c100605beb8c /textscreen/txt_separator.h
parentbc087b49e2e5a9c00b5b1620b4bd289ebee5ee73 (diff)
downloadchocolate-doom-e339efa45fb54e794d1dd26f7a716a383cc3dc6d.tar.gz
chocolate-doom-e339efa45fb54e794d1dd26f7a716a383cc3dc6d.tar.bz2
chocolate-doom-e339efa45fb54e794d1dd26f7a716a383cc3dc6d.zip
Switch separator to show "screen mode" or "window size" depending on
whether fullscreen is turned on or not. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2308
Diffstat (limited to 'textscreen/txt_separator.h')
-rw-r--r--textscreen/txt_separator.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/textscreen/txt_separator.h b/textscreen/txt_separator.h
index 2f2331da..f693d70e 100644
--- a/textscreen/txt_separator.h
+++ b/textscreen/txt_separator.h
@@ -59,6 +59,14 @@ extern txt_widget_class_t txt_separator_class;
txt_separator_t *TXT_NewSeparator(char *label);
-#endif /* #ifndef TXT_SEPARATOR_H */
+/**
+ * Change the label on a separator.
+ *
+ * @param separator The separator.
+ * @param label The new label.
+ */
+
+void TXT_SetSeparatorLabel(txt_separator_t *separator, char *label);
+#endif /* #ifndef TXT_SEPARATOR_H */