Add spreadsheet program

This commit is contained in:
Ole Morud
2022-12-25 16:06:34 +01:00
committed by Ole Morud
commit 2712a1bf3e
24 changed files with 1314 additions and 0 deletions

20
src/sheet.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef SHEET_H
#define SHEET_H
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <err.h>
#include "config.h"
struct sheet {
struct celltree *root_cell;
size_t width;
size_t height;
char* title;
};
void sheet_init(struct sheet *s, size_t width, size_t height, char* title);
void sheet_delete(struct sheet *s);
#endif