From 642b5fb0007b64c77d186fcb018d571152ee1d47 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 14 Aug 2023 18:51:07 +0200 Subject: reorganization: first steps --- src/user/app/vterm/vterm.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/user/app/vterm/vterm.h (limited to 'src/user/app/vterm/vterm.h') diff --git a/src/user/app/vterm/vterm.h b/src/user/app/vterm/vterm.h deleted file mode 100644 index 026e71a..0000000 --- a/src/user/app/vterm/vterm.h +++ /dev/null @@ -1,39 +0,0 @@ -#pragma once -#include -#include -#include -#include - -#define eprintf(fmt, ...) fprintf(stderr, "vterm: "fmt"\n" __VA_OPT__(,) __VA_ARGS__) - - -struct psf1 { - uint16_t magic; - uint8_t mode; - uint8_t h; -} __attribute__((packed)); -struct psf2 { - uint32_t magic; - uint32_t version; - uint32_t glyph_offset; - uint32_t flags; - uint32_t glyph_amt; - uint32_t glyph_size; - uint32_t h; - uint32_t w; -} __attribute__((packed)); -extern struct psf2 font; -extern void *font_data; -void font_load(const char *path); -void font_blit(uint32_t glyph, int x, int y); - -extern struct framebuf fb; - -extern struct rect dirty; -void vdirty_mark(uint32_t x, uint32_t y); -void flush(void); -void scroll(void); - -struct point {uint32_t x, y;}; -extern struct point cursor; -void in_char(char c); -- cgit v1.2.3