summaryrefslogtreecommitdiff
path: root/src/perl/textui/TextBufferView.xs
blob: 16b242f3b9f54b18a3b1f4bf29542f16f7100834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#include "module.h"

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
	int longword_noindent
CODE:
	textbuffer_view_set_default_indent(view, default_indent, longword_noindent, NULL);

void
textbuffer_view_set_scroll(view, scroll)
	Irssi::TextUI::TextBufferView view
	int scroll

void
textbuffer_view_clear(view)
	Irssi::TextUI::TextBufferView view

Irssi::TextUI::Line
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::TextBufferView  PACKAGE = Irssi::UI::Window
#*******************************

Irssi::TextUI::TextBufferView
view(window)
	Irssi::UI::Window window
CODE:
	RETVAL = WINDOW_GUI(window)->view;
OUTPUT:
	RETVAL