From ca4af600fdad77b3c4603a62c81eee51187fafcf Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 25 Aug 2023 21:53:17 +0000 Subject: implemented most of the layout code. added a new util.c to host the cell/coordinate conversions. made the showproc a painter thread instead, to avoid problems with menuhit(2). --- fns.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fns.h') diff --git a/fns.h b/fns.h index 67a4756..ab3d3d7 100644 --- a/fns.h +++ b/fns.h @@ -6,3 +6,9 @@ void *emalloc(ulong); void *erealloc(void*, ulong); Image *eallocimage(Display*, Rectangle, ulong, int, ulong); + +/* + * util + */ +char *cell2coords(Point2); +Point2 coords2cell(char*); -- cgit v1.2.3