summaryrefslogtreecommitdiffstats
path: root/src/fe-text/gui-printtext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/gui-printtext.h')
-rw-r--r--src/fe-text/gui-printtext.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/fe-text/gui-printtext.h b/src/fe-text/gui-printtext.h
new file mode 100644
index 0000000..0acf4d3
--- /dev/null
+++ b/src/fe-text/gui-printtext.h
@@ -0,0 +1,26 @@
+#ifndef IRSSI_FE_TEXT_GUI_PRINTTEXT_H
+#define IRSSI_FE_TEXT_GUI_PRINTTEXT_H
+
+#include <irssi/src/fe-text/gui-windows.h>
+#include <irssi/src/fe-text/textbuffer-view.h>
+#include <irssi/src/fe-common/core/formats.h>
+
+extern int mirc_colors[];
+
+void gui_printtext_init(void);
+void gui_printtext_deinit(void);
+
+void gui_register_indent_func(const char *name, INDENT_FUNC func);
+void gui_unregister_indent_func(const char *name, INDENT_FUNC func);
+
+void gui_set_default_indent(const char *name);
+INDENT_FUNC get_default_indent_func(void);
+
+void gui_printtext(int xpos, int ypos, const char *str);
+void gui_printtext_internal(int xpos, int ypos, const char *str);
+void gui_printtext_after(TEXT_DEST_REC *dest, LINE_REC *prev, const char *str);
+void gui_printtext_after_time(TEXT_DEST_REC *dest, LINE_REC *prev, const char *str, time_t time);
+void gui_printtext_window_border(int xpos, int ypos);
+void gui_printtext_get_colors(int *flags, int *fg, int *bg, int *attr);
+
+#endif