diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-10 12:05:43 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-10 12:05:43 +0000 |
commit | da232b18c1da6b6c7d2f993bba881ef323ecb41f (patch) | |
tree | 6d2c48568e1d8b464834c8c119c345b9c863323a /src/fe-text/textbuffer.h | |
parent | a3526caf413e0b1726ef8882ccc2a79a4c699bae (diff) | |
download | irssi-da232b18c1da6b6c7d2f993bba881ef323ecb41f.zip |
Make line_add_colors part of the textbuffer api.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4748 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/textbuffer.h')
-rw-r--r-- | src/fe-text/textbuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-text/textbuffer.h b/src/fe-text/textbuffer.h index adea3604..cb1ef591 100644 --- a/src/fe-text/textbuffer.h +++ b/src/fe-text/textbuffer.h @@ -79,6 +79,9 @@ void textbuffer_line_unref_list(TEXT_BUFFER_REC *buffer, GList *list); LINE_REC *textbuffer_line_last(TEXT_BUFFER_REC *buffer); int textbuffer_line_exists_after(LINE_REC *line, LINE_REC *search); +void textbuffer_line_add_colors(TEXT_BUFFER_REC *buffer, LINE_REC **line, + int fg, int bg, int flags); + /* Append text to buffer. When \0<EOL> is found at the END OF DATA, a new line is created. You must send the EOL command before you can do anything else with the buffer. */ |