summaryrefslogtreecommitdiff
path: root/src/perl/textui/TextBufferView.xs
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-08-09 01:59:36 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-08-09 01:59:36 +0000
commit01d3e74f63547339687f4fa6fbb3ea2cdb6c9837 (patch)
tree7aa094b213d738db41394a78cde1c7884bebf2dd /src/perl/textui/TextBufferView.xs
parent22e1a6dacc58f31e44b1ec9d4a3f19e55bea3f7b (diff)
downloadirssi-01d3e74f63547339687f4fa6fbb3ea2cdb6c9837.zip
Added Irssi::TextUI.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1733 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/textui/TextBufferView.xs')
-rw-r--r--src/perl/textui/TextBufferView.xs98
1 files changed, 98 insertions, 0 deletions
diff --git a/src/perl/textui/TextBufferView.xs b/src/perl/textui/TextBufferView.xs
new file mode 100644
index 00000000..70c04165
--- /dev/null
+++ b/src/perl/textui/TextBufferView.xs
@@ -0,0 +1,98 @@
+MODULE = Irssi::TextUI PACKAGE = Irssi::TextUI::TextBuffer PREFIX = textbuffer_
+
+Irssi::TextUI::TextBufferView
+textbuffer_view_create(buffer, width, height, default_indent, longword_noindent)
+ Irssi::TextUI::TextBuffer buffer
+ int width
+ int height
+ int default_indent
+ int longword_noindent
+
+#*******************************
+MODULE = Irssi::TextUI PACKAGE = Irssi::TextUI::TextBufferView PREFIX = textbuffer_view_
+#*******************************
+
+void
+textbuffer_view_destroy(view)
+ Irssi::TextUI::TextBufferView view
+
+void
+textbuffer_view_set_default_indent(view, default_indent, longword_noindent)
+ Irssi::TextUI::TextBufferView view
+ int default_indent
+ int longword_noindent
+
+void
+textbuffer_view_resize(view, width, height)
+ Irssi::TextUI::TextBufferView view
+ int width
+ int height
+
+void
+textbuffer_view_clear(view)
+ Irssi::TextUI::TextBufferView view
+
+void
+textbuffer_view_get_lines(view)
+ Irssi::TextUI::TextBufferView view
+
+void
+textbuffer_view_scroll(view, lines)
+ Irssi::TextUI::TextBufferView view
+ int lines
+
+void
+textbuffer_view_scroll_line(view, line)
+ Irssi::TextUI::TextBufferView view
+ Irssi::TextUI::Line line
+
+Irssi::TextUI::LineCache
+textbuffer_view_get_line_cache(view, line)
+ Irssi::TextUI::TextBufferView view
+ Irssi::TextUI::Line line
+
+void
+textbuffer_view_insert_line(view, line)
+ Irssi::TextUI::TextBufferView view
+ Irssi::TextUI::Line line
+
+void
+textbuffer_view_remove_line(view, line)
+ Irssi::TextUI::TextBufferView view
+ Irssi::TextUI::Line line
+
+void
+textbuffer_view_remove_all_lines(view)
+ Irssi::TextUI::TextBufferView view
+
+void
+textbuffer_view_set_bookmark(view, name, line)
+ Irssi::TextUI::TextBufferView view
+ char *name
+ Irssi::TextUI::Line line
+
+void
+textbuffer_view_set_bookmark_bottom(view, name);
+ Irssi::TextUI::TextBufferView view
+ char *name
+
+Irssi::TextUI::Line
+textbuffer_view_get_bookmark(view, name);
+ Irssi::TextUI::TextBufferView view
+ char *name
+
+void
+textbuffer_view_redraw(view)
+ Irssi::TextUI::TextBufferView view
+
+#*******************************
+MODULE = Irssi::TextUI PACKAGE = Irssi::UI::Window
+#*******************************
+
+Irssi::TextUI::TextBufferView
+view(window)
+ Irssi::UI::Window window
+CODE:
+ RETVAL = WINDOW_GUI(window)->view;
+OUTPUT:
+ RETVAL