ELinks 0.16.1.1
|
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "bookmarks/bookmarks.h"
#include "cache/cache.h"
#include "config/options.h"
#include "document/docdata.h"
#include "document/document.h"
#include "document/format.h"
#include "document/options.h"
#include "document/plain/renderer.h"
#include "document/renderer.h"
#include "globhist/globhist.h"
#include "intl/charsets.h"
#include "protocol/protocol.h"
#include "protocol/uri.h"
#include "terminal/color.h"
#include "terminal/draw.h"
#include "util/color.h"
#include "util/error.h"
#include "util/memory.h"
#include "util/string.h"
Data Structures | |
struct | plain_renderer |
Macros | |
#define | realloc_document_links(doc, size) |
#define | url_char(c) |
#define | RED_COLOR_MASK 0x00FF0000 |
#define | GREEN_COLOR_MASK 0x0000FF00 |
#define | BLUE_COLOR_MASK 0x000000FF |
#define | RED_COLOR(color) |
#define | GREEN_COLOR(color) |
#define | BLUE_COLOR(color) |
Functions | |
static struct screen_char * | realloc_line (struct document *document, int x, int y) |
static struct link * | add_document_link (struct document *document, char *uri, int length, int x, int y) |
static struct link * | check_link_word (struct document *document, char *uri, int length, int x, int y) |
static int | get_uri_length (char *line, int length) |
static int | print_document_link (struct plain_renderer *renderer, int lineno, char *line, int line_pos, int width, int expanded, struct screen_char *pos, int cells) |
static void | decode_esc_color (char *text, int *line_pos, int width, struct screen_char *template_, color_mode_T mode, int *was_reversed) |
static int | add_document_line (struct plain_renderer *renderer, char *line, int line_width) |
static void | init_template (struct screen_char *template_, struct document_options *options) |
static struct node * | add_node (struct plain_renderer *renderer, int x, int width, int height) |
static void | add_document_lines (struct plain_renderer *renderer) |
static void | fixup_tables (struct plain_renderer *renderer) |
void | render_plain_document (struct cache_entry *cached, struct document *document, struct string *buffer) |
#define BLUE_COLOR | ( | color | ) |
#define BLUE_COLOR_MASK 0x000000FF |
#define GREEN_COLOR | ( | color | ) |
#define GREEN_COLOR_MASK 0x0000FF00 |
#define realloc_document_links | ( | doc, | |
size ) |
#define RED_COLOR | ( | color | ) |
#define RED_COLOR_MASK 0x00FF0000 |
#define url_char | ( | c | ) |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
void render_plain_document | ( | struct cache_entry * | cached, |
struct document * | document, | ||
struct string * | buffer ) |