mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
19 lines
528 B
C
19 lines
528 B
C
|
|
||
|
#ifndef EL__VIEWER_TEXT_DRAW_H
|
||
|
#define EL__VIEWER_TEXT_DRAW_H
|
||
|
|
||
|
struct document_view;
|
||
|
struct session;
|
||
|
|
||
|
/* Render and draw the current session document */
|
||
|
/* If @rerender is:
|
||
|
* 0 only redrawing is done
|
||
|
* 1 render by first checking the document cache else rerender
|
||
|
* 2 forces document to be rerendered */
|
||
|
void draw_formatted(struct session *ses, int rerender);
|
||
|
|
||
|
/* Update the document view, including frames and the status messages */
|
||
|
void refresh_view(struct session *ses, struct document_view *doc_view, int frames);
|
||
|
|
||
|
#endif
|