Commit Graph

18 Commits

Author SHA1 Message Date
be379e1fe0 begin drawing file browser text 2024-09-27 10:06:21 +01:00
e3ff121a35 change AppUpdate.update function to return a list, so we can return multiple messages from a single event 2024-09-27 08:27:53 +01:00
57fbf5f1aa add todo note 2024-09-25 20:34:59 +01:00
2528e67375 progress towards adding load functionality' 2024-09-25 10:17:57 +01:00
d49ac2c565 progress towards being able to load files dynamically 2024-09-25 08:08:15 +01:00
c17c573638 add new field to app type, to distinguish between modes (one mode for normal insertion/deleteion, another mode for saving, etc.) 2024-09-24 21:54:19 +01:00
92eec06f5e revert to previous style of grid 2024-09-21 14:41:47 +01:00
967dd2433e change graph lines to draw dots at clickable points rather than lines which are similar to graph paper 2024-09-21 13:23:25 +01:00
2098a4eda7 add 'numClickPoints' field to app type, and add parameter with same name to
ClickPoints.generate function
2024-09-20 21:33:35 +01:00
3472ff3c1c done adding functional-core part of arrow input (now just need to adjust a bit in the imperative shell next) 2024-09-20 14:14:07 +01:00
9ffc19ef24 progress towards supporting arrow input 2024-09-20 12:33:31 +01:00
2d817cc998 adjust app type by adding arrowX and arrowY integer fields, and subsequent refactoring, as preparation for being able to draw with arrow keys 2024-09-20 10:17:57 +01:00
80e1a68843 change ClickPoints.getMousePosition function to return indices to the click points array rather than the click points themselves; this will help adding functionality to use arrows for selecting click points later 2024-09-20 09:07:54 +01:00
415f06f0c0 address second regression mentioned in previous commit, where clicked dots are no longer visible (turns out that I removed a line during refactoring which added the triangle stage coordinates to the dot vector) 2024-09-19 18:54:32 +01:00
6a7f11efe6 address one regression, where triangles were no longer being displayed (because calculation changed) after the previous refactoring. I know of only one more regression, which is that the clicked dots do not persist after moving the mouse. 2024-09-19 17:46:40 +01:00
9153217d5f attempt a little refactoring (but note that this refactoring is untested) 2024-09-16 21:49:05 +01:00
acd68a055d code shortcut to trigger export (with <Ctrl-E>); it outputs syntatically valid .sml, but I am not sure if the output is correct as intended so it needs testing 2024-08-30 02:34:24 +01:00
24bc45142d slight refactoring (move pure parsing functions to functional core in a separate file) 2024-08-29 09:55:08 +01:00