Commit Graph

15 Commits

Author SHA1 Message Date
dcd3c3117e initialise app with a file path, for the functionality of loading different files from the terminal 2025-08-26 15:56:52 +01:00
a98ca50cf5 remove browse mode and code that became dead as a result of its removal, because the new plan is to launch the program from the terminal (and terminal navigation is okay) 2025-08-26 15:36:39 +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
d3ace298d3 remove 'squares' field from app type, and refactor most functions in common-update.sml to use layer tree instead of squares vector 2025-08-09 10:19:26 +01:00
852b2cf1f1 remove 'undo' and 'redo' fields from app_type, because I won't be adding that functionality for the forseeable future 2025-08-09 09:35:52 +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
8715879ceb add layerTree field to app type 2025-08-09 08:22:28 +01:00
8d855be27a add layer field to app type, as preparation for switching to layer tree 2025-08-09 08:15:11 +01:00
c898d83d6e add undo and redo fields (but we are not acting on them) 2025-07-11 16:54:07 +01:00
7028391298 add functionality to draw in different colours 2025-07-11 16:39:39 +01:00
040fc67c80 add code to let user change alpha valua 2025-07-11 15:34:29 +01:00
d5fda8b488 improve creation of click points, so that we can have a pixel be a perfect square, even if the canvas isn't 2025-07-11 00:57:29 +01:00
9b2f3e90cb amend bug relating to being unable to select on quad tree, related to dividing odd numbers by 2 (because performing integer division on an odd number by 2 results in rounding, which we don't want) 2025-07-07 01:48:15 +01:00
2e0549097e begin merging files which were previously in temp-squares directory into main 2025-07-06 14:56:54 +01:00