ELinks 0.18.0
Data Structures | Macros | Functions
util.h File Reference
#include <sys/types.h>
#include "dom/sgml/sgml.h"
#include "intl/charsets.h"
#include "terminal/draw.h"
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  dom_renderer
 

Macros

#define X(renderer)   ((renderer)->canvas_x)
 
#define Y(renderer)   ((renderer)->canvas_y)
 

Functions

void init_template_by_style (struct screen_char *template_, struct document_options *options, struct css_property list *properties)
 
void render_dom_text (struct dom_renderer *renderer, struct screen_char *template_, char *string, int length)
 
struct link * add_dom_link (struct dom_renderer *renderer, const char *cstring, int length, char *uristring, int urilength)
 

Macro Definition Documentation

◆ X

#define X (   renderer)    ((renderer)->canvas_x)

◆ Y

#define Y (   renderer)    ((renderer)->canvas_y)

Function Documentation

◆ add_dom_link()

struct link * add_dom_link ( struct dom_renderer *  renderer,
const char *  cstring,
int  length,
char *  uristring,
int  urilength 
)

◆ init_template_by_style()

void init_template_by_style ( struct screen_char *  template_,
struct document_options *  options,
struct css_property list *  properties 
)

◆ render_dom_text()

void render_dom_text ( struct dom_renderer *  renderer,
struct screen_char *  template_,
char *  string,
int  length 
)