2020-02-21 21:53:23 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "terminal.h"
|
|
|
|
|
|
2020-02-22 14:02:00 +01:00
|
|
|
#define SIXEL_MAX_COLORS 1024u
|
|
|
|
|
|
2020-02-21 21:53:23 +01:00
|
|
|
void sixel_init(struct terminal *term);
|
|
|
|
|
void sixel_put(struct terminal *term, uint8_t c);
|
|
|
|
|
void sixel_unhook(struct terminal *term);
|
2020-02-22 00:23:19 +01:00
|
|
|
|
|
|
|
|
void sixel_destroy(struct sixel *sixel);
|
2020-02-22 14:02:00 +01:00
|
|
|
|
|
|
|
|
void sixel_colors_report_current(struct terminal *term);
|
|
|
|
|
void sixel_colors_reset(struct terminal *term);
|
|
|
|
|
void sixel_colors_set(struct terminal *term, unsigned count);
|
|
|
|
|
void sixel_colors_report_max(struct terminal *term);
|