ELinks 0.19.1
kitty.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
#include "elinks.h"
#include "document/document.h"
#include "osdep/osdep.h"
#include "terminal/hardio.h"
#include "terminal/kitty.h"
#include "terminal/map.h"
#include "terminal/screen.h"
#include "terminal/terminal.h"
#include "util/base64.h"
#include "util/memory.h"
Include dependency graph for kitty.c:

Macros

#define EL_KITTY_CHUNK   4096

Functions

int add_kitty_image_to_document (struct document *doc, struct el_string *pixels, int lineno, struct k_image **imagine, int width, int height)
struct el_string * el_string_init (char *data, unsigned int length)
struct el_string * el_string_ref (struct el_string *el_string)
void el_string_unref (struct el_string *el_string)
void delete_k_image (struct k_image *im)
void try_to_draw_k_images (struct terminal *term, struct string *text)
struct k_image * copy_k_frame (struct k_image *src, struct el_box *box, int cell_width, int cell_height, int dx, int dy)

Macro Definition Documentation

◆ EL_KITTY_CHUNK

#define EL_KITTY_CHUNK   4096

Function Documentation

◆ add_kitty_image_to_document()

int add_kitty_image_to_document ( struct document * doc,
struct el_string * pixels,
int lineno,
struct k_image ** imagine,
int width,
int height )

◆ copy_k_frame()

struct k_image * copy_k_frame ( struct k_image * src,
struct el_box * box,
int cell_width,
int cell_height,
int dx,
int dy )

◆ delete_k_image()

void delete_k_image ( struct k_image * im)

◆ el_string_init()

struct el_string * el_string_init ( char * data,
unsigned int length )

◆ el_string_ref()

struct el_string * el_string_ref ( struct el_string * el_string)

◆ el_string_unref()

void el_string_unref ( struct el_string * el_string)

◆ try_to_draw_k_images()

void try_to_draw_k_images ( struct terminal * term,
struct string * text )