ELinks 0.18.0
format.h File Reference
#include "util/color.h"
Include dependency graph for format.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  text_style_color
struct  text_style

Macros

#define INIT_TEXT_STYLE(attr, fg, bg)

Typedefs

typedef signed short text_style_format_T

Enumerations

enum  text_style_format {
  AT_BOLD = 1 , AT_ITALIC = 2 , AT_UNDERLINE = 4 , AT_FIXED = 8 ,
  AT_GRAPHICS = 16 , AT_PREFORMATTED = 32 , AT_NO_ENTITIES = 64 , AT_STRIKE = 128
}

Functions

void get_screen_char_template (struct screen_char *template_, struct document_options *options, struct text_style style)

Macro Definition Documentation

◆ INIT_TEXT_STYLE

#define INIT_TEXT_STYLE ( attr,
fg,
bg )
Value:
{ attr, {fg, bg}}

Typedef Documentation

◆ text_style_format_T

typedef signed short text_style_format_T

Enumeration Type Documentation

◆ text_style_format

Enumerator
AT_BOLD 
AT_ITALIC 
AT_UNDERLINE 
AT_FIXED 
AT_GRAPHICS 
AT_PREFORMATTED 
AT_NO_ENTITIES 
AT_STRIKE 

Function Documentation

◆ get_screen_char_template()

void get_screen_char_template ( struct screen_char * template_,
struct document_options * options,
struct text_style style )