From 2667aa2806877d6fdd31b6ad34b0440197c14e1f Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Fri, 24 Jul 2026 20:19:48 +0200 Subject: Fix some layout issues --- inc/cad/construction.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/cad/construction.h') diff --git a/inc/cad/construction.h b/inc/cad/construction.h index ea784cf..cb6b2bc 100644 --- a/inc/cad/construction.h +++ b/inc/cad/construction.h @@ -64,6 +64,7 @@ struct command { enum operation op; uint8_t root; bool hidden; + bool placed; // Only used for input commands size_t index; @@ -90,6 +91,8 @@ struct drawing { struct command *error; }; +void normalize_line(struct line *line); + struct element* insert_cmd(struct drawing *drawing, struct command cmd); void place_points(struct drawing *drawing, double inputs[]); void dump_program(struct drawing *drawing, double inputs[]); -- cgit v1.2.3