commit cursetree

This commit is contained in:
Emile Clark-Boman 2025-09-27 20:46:05 +10:00
parent 7f4f9941de
commit 9b0e752b8a
8 changed files with 95 additions and 37 deletions

View file

@ -1,15 +1,11 @@
#ifndef _CURSETREE_SURFACE_H
#define _CURSETREE_SURFACE_H
/* Initial row and column coordinates */
#define ROW0 1
#define COL0 1
typedef unsigned short pos;
#include "_ct_shared.h"
typedef struct ct_surface {
pos x, y, w, h;
char **buf;
glyph **buf;
pos vcx, vcy; /* virtual cursor position */
} surface;