summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-12-10 10:21:04 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-12-10 10:21:04 +0000
commitf9f031826fb056b7fd9203e424a9dfb7ab095beb (patch)
tree0328a659f70df92e36ab8fdf1b9b4c00addfedb8 /src
parent29a56d7974b6d29aebe0bb43e66914d01267e4fe (diff)
downloadirssi-f9f031826fb056b7fd9203e424a9dfb7ab095beb.zip
Remove methods to create/destroy TextBuffer and TextBufferView and low level
api to add/remove lines, scripts should be fine using Window::print_after and TextBufferView::remove_line. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4963 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/perl/textui/TextBuffer.xs35
-rw-r--r--src/perl/textui/TextBufferView.xs17
2 files changed, 0 insertions, 52 deletions
diff --git a/src/perl/textui/TextBuffer.xs b/src/perl/textui/TextBuffer.xs
index dda0852f..0a0fe0d1 100644
--- a/src/perl/textui/TextBuffer.xs
+++ b/src/perl/textui/TextBuffer.xs
@@ -3,41 +3,6 @@
MODULE = Irssi::TextUI::TextBuffer PACKAGE = Irssi
PROTOTYPES: ENABLE
-Irssi::TextUI::TextBuffer
-textbuffer_create()
-
-#*******************************
-MODULE = Irssi::TextUI::TextBuffer PACKAGE = Irssi::TextUI::TextBuffer PREFIX = textbuffer_
-#*******************************
-
-void
-textbuffer_destroy(buffer)
- Irssi::TextUI::TextBuffer buffer
-
-Irssi::TextUI::Line
-textbuffer_append(buffer, data, len, info)
- Irssi::TextUI::TextBuffer buffer
- char *data
- int len
- Irssi::TextUI::LineInfo info
-
-Irssi::TextUI::Line
-textbuffer_insert(buffer, insert_after, data, len, info)
- Irssi::TextUI::TextBuffer buffer
- Irssi::TextUI::Line insert_after
- char *data
- int len
- Irssi::TextUI::LineInfo info
-
-void
-textbuffer_remove(buffer, line)
- Irssi::TextUI::TextBuffer buffer
- Irssi::TextUI::Line line
-
-void
-textbuffer_remove_all_lines(buffer)
- Irssi::TextUI::TextBuffer buffer
-
#*******************************
MODULE = Irssi::TextUI::TextBuffer PACKAGE = Irssi::TextUI::Line PREFIX = textbuffer_line_
#*******************************
diff --git a/src/perl/textui/TextBufferView.xs b/src/perl/textui/TextBufferView.xs
index 16b242f3..4d755494 100644
--- a/src/perl/textui/TextBufferView.xs
+++ b/src/perl/textui/TextBufferView.xs
@@ -3,23 +3,11 @@
MODULE = Irssi::TextUI::TextBufferView PACKAGE = Irssi::TextUI::TextBuffer PREFIX = textbuffer_
PROTOTYPES: ENABLE
-Irssi::TextUI::TextBufferView
-textbuffer_view_create(buffer, width, height, scroll, utf8)
- Irssi::TextUI::TextBuffer buffer
- int width
- int height
- int scroll
- int utf8
-
#*******************************
MODULE = Irssi::TextUI::TextBufferView 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
@@ -56,11 +44,6 @@ textbuffer_view_get_line_cache(view, line)
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