Commit Graph

12 Commits

Author SHA1 Message Date
4a9b5947e7 add functionality to flip drawing horizontally 2025-08-12 22:25:16 +01:00
55fe9b7605 a bit of formatting (code does same thing, but is expressed in a way that is a little clearer after the formatter has been run) 2025-08-09 14:13:23 +01:00
a5b988d136 fix bug in LayerTree.map function: replace old value with new value (the result of applying the callback function) 2025-08-09 14:01:55 +01:00
d6f7583273 progress towards saving export string in correct format (but note there is currently an exception somewhere because of changes; need to fix) 2025-08-09 11:56:18 +01:00
940e4429a7 reimplement parsing code (but program does not compile yet because I have to change type of 'USE_SQUARES' constructure) 2025-08-09 11:29:36 +01:00
b765e406c7 change BNF (but not implementation of BNF) for parsing, to handle layers, and also change minimum key in layer tree to be 1 2025-08-09 11:10:34 +01:00
58439d8df8 progress moving away from 'squares' field to layer tree 2025-08-09 09:32:34 +01:00
34c29bcbba add functions to add and remove pixels from layer-tree 2025-08-09 09:13:03 +01:00
e634bb25d7 add grid module, and change some functions in layer-tree.sml to use it instead of having grid-logic in there 2025-08-09 08:43:51 +01:00
8d855be27a add layer field to app type, as preparation for switching to layer tree 2025-08-09 08:15:11 +01:00
8e475a3abe add functionality to change grid size for layer tree 2025-08-09 08:04:22 +01:00
318ca4fdf1 begin coding layer tree so that we have toggleable layers 2025-08-09 07:48:49 +01:00