Add wire (node) drawing to schema mode
authorLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Sat, 21 Dec 2024 22:06:45 +0000 (23:06 +0100)
committerLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Sat, 21 Dec 2024 22:17:17 +0000 (23:17 +0100)
commitdcfb63fb220c6c04818033b725a456f88d03bc78
tree073f7852b7dafcbff56fa0c2fef3e124d03f0cfe
parentc5712d126e31837d3bac0ea0023e54cfd39ff088
Add wire (node) drawing to schema mode

Using the "c" key while in schema mode will start the drawing.
When it is started over an existing node, the node is extended, else new
node is created.
When ending on a node, the drawn node and the end node are merged
together.
To exit the mode use any other key than the movement keys (best use
"c"?).

To choose the correct symbol for a segment, the t_node_segment had to be
changed, and with that some functions (unrelated to wire drawing) had to
be changed also.
inc/FET_sim.h
src/build_helper.c
src/colors.c
src/schema_mode.c