summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer-view.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-01 21:49:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-01 21:49:07 +0000
commit05777636a78af7214b33027cdfa6f08b045e6fe7 (patch)
tree447188485ac78470d0270639a10a155fc5e4af94 /src/fe-text/textbuffer-view.h
parent6f5c1117debce23e12fdba370f0356bebf61d355 (diff)
downloadirssi-05777636a78af7214b33027cdfa6f08b045e6fe7.zip
Replaced all direct curses calls with screen_xx() wrappers. This should
enable us to optionally use termcap directly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/textbuffer-view.h')
-rw-r--r--src/fe-text/textbuffer-view.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-text/textbuffer-view.h b/src/fe-text/textbuffer-view.h
index 21ed28cf..54e05686 100644
--- a/src/fe-text/textbuffer-view.h
+++ b/src/fe-text/textbuffer-view.h
@@ -41,7 +41,7 @@ typedef struct {
TEXT_BUFFER_REC *buffer;
GSList *siblings; /* other views that use the same buffer */
- WINDOW *window;
+ SCREEN_WINDOW *window;
int width, height;
int default_indent;
@@ -121,7 +121,8 @@ LINE_REC *textbuffer_view_get_bookmark(TEXT_BUFFER_VIEW_REC *view,
/* Specify window where the changes in view should be drawn,
NULL disables it. */
-void textbuffer_view_set_window(TEXT_BUFFER_VIEW_REC *view, WINDOW *window);
+void textbuffer_view_set_window(TEXT_BUFFER_VIEW_REC *view,
+ SCREEN_WINDOW *window);
/* Redraw the view */
void textbuffer_view_redraw(TEXT_BUFFER_VIEW_REC *view);