ELinks 0.18.0
|
Text mode drawing functions. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "bfu/dialog.h"
#include "cache/cache.h"
#include "document/document.h"
#include "document/html/frames.h"
#include "document/html/iframes.h"
#include "document/libdom/renderer2.h"
#include "document/options.h"
#include "document/refresh.h"
#include "document/renderer.h"
#include "document/view.h"
#include "dialogs/status.h"
#include "intl/charsets.h"
#include "intl/libintl.h"
#include "protocol/uri.h"
#include "session/location.h"
#include "session/session.h"
#include "terminal/draw.h"
#include "terminal/tab.h"
#include "terminal/terminal.h"
#include "util/error.h"
#include "util/hash.h"
#include "util/lists.h"
#include "util/memory.h"
#include "util/string.h"
#include "viewer/text/draw.h"
#include "viewer/text/form.h"
#include "viewer/text/link.h"
#include "viewer/text/search.h"
#include "viewer/text/view.h"
#include "viewer/text/vs.h"
Functions | |
static int | check_document_fragment (struct session *ses, struct document_view *doc_view) |
static void | draw_frame_lines (struct terminal *term, struct frameset_desc *frameset_desc, int xp, int yp, struct color_pair *colors) |
static void | draw_iframe_lines (struct terminal *term, struct iframeset_desc *iframe_desc, int xp, int yp, struct color_pair *colors) |
static void | draw_clipboard (struct terminal *term, struct document_view *doc_view) |
static void | draw_view_status (struct session *ses, struct document_view *doc_view, int active) |
static void | check_link_under_cursor (struct session *ses, struct document_view *doc_view) |
Checks if there is a link under the cursor so it can become the current highlighted link. | |
static void | draw_doc (struct session *ses, struct document_view *doc_view, int active) |
Puts the formatted document on the given terminal's screen. | |
static void | draw_frames (struct session *ses) |
static void | draw_iframes (struct session *ses) |
void | draw_formatted (struct session *ses, int rerender) |
Render and draw the current session document. | |
void | refresh_view (struct session *ses, struct document_view *doc_view, int frames) |
Update the document view, including frames and the status messages. | |
Text mode drawing functions.
|
inlinestatic |
|
static |
Checks if there is a link under the cursor so it can become the current highlighted link.
|
static |
|
static |
Puts the formatted document on the given terminal's screen.
active indicates whether the document is focused – i.e., whether it is displayed in the selected frame or document.
void draw_formatted | ( | struct session * | ses, |
int | rerender ) |
Render and draw the current session document.
|
static |
|
static |
|
static |
|
static |
|
static |
void refresh_view | ( | struct session * | ses, |
struct document_view * | doc_view, | ||
int | frames ) |
Update the document view, including frames and the status messages.