Commit Graph

226 Commits

Author SHA1 Message Date
11052e801f port function to handlw window resizing event 2025-07-06 14:08:44 +01:00
d231edda6a modify ClickPoints.getClickPos function to detect click for square/pixel, not for triangle. (Checking if mouse is between two click points instead of if mouse is around one click point.) 2025-07-06 14:01:03 +01:00
4a87b0f16e port 'addCoordinates' function to app-update.sml 2025-07-06 13:52:38 +01:00
833005703b a bit of refactoring for quad tree's 'toTriangles' function 2025-07-06 13:26:33 +01:00
1ce3a36db4 remove unused parameter from quad tree 2025-07-06 13:23:14 +01:00
0bdf5064d8 port arrow movement (involving functional core) 2025-07-06 03:58:45 +01:00
20c02814e4 refactoring progress 2025-07-06 03:53:26 +01:00
a919e3d3d4 add function to convert from absolute pixel value to NDC 2025-07-06 03:35:36 +01:00
ed64b464c8 progress with refactoring 2025-07-06 03:21:18 +01:00
df5f326e36 begin refactoring AppUpdate structure 2025-07-06 02:49:38 +01:00
e8e090a19d add refactored message types to temp folder 2025-07-06 02:30:15 +01:00
441e5fdd69 add graph lines to refactored version 2025-07-06 02:15:16 +01:00
79be94bcbd begin refactoring to use square pixels instead of triangles, focusing on functional core first 2025-07-06 01:38:02 +01:00
513cbd3dba code a quad tree decomposition algorithm 2025-07-06 00:32:28 +01:00
78905b59f0 allow width and height to have a different number of click points 2025-02-18 11:53:28 +00:00
68cbf59f04 add makefile 2025-01-02 12:43:40 +00:00
40c5222621 done adding ability to change different colours in both functional core and imperative shell 2024-12-30 04:32:15 +00:00
fc69a0e4c3 progress with setting rgb (add functions to set in app type) 2024-12-30 04:14:07 +00:00
5dde0517cc progress adding ability to change colour of triangle 2024-12-30 03:41:11 +00:00
b41cb87b41 fix error trying to parse rgb colour data from file (have tested the change works; error was that code was meant to parse 'b' but was parsing 'B' instead) 2024-12-29 20:27:48 +00:00
7c2cc66b5a allow loading of files with or without rgb colour data 2024-12-29 20:22:11 +00:00
43eb5f4448 add [r, g, b] field to triangle, so we can draw coloured objects (next: add ability to change current colour) 2024-12-29 20:18:29 +00:00
cd1cef793e update cozette-sml, receiving fixed ascii table (just that _underscore_ and had their positions swapped) 2024-10-09 01:19:01 +01:00
fcfa50e1f6 add fonts as submodule, so it can be shared with other projects 2024-09-30 12:01:12 +01:00
13682f1c6c add load functionality (but note that saving is still hardcoded right now) 2024-09-29 22:26:07 +01:00
249247b704 progress for navigqation within file browser 2024-09-29 16:08:04 +01:00
5369f84389 display currently selected file/folder in a different colour, to visually mark which one is currently being focused. 2024-09-29 12:45:13 +01:00
9d44589b9d add fileBrowserIdx field to track which item is selected in the browser 2024-09-29 12:32:11 +01:00
6846d7bd52 change spacing between letters a bit to make text more legible 2024-09-27 21:36:35 +01:00
ea7722b1f0 amend lower-case-s to sit on baseline, as other letters do 2024-09-27 10:12:01 +01:00
be379e1fe0 begin drawing file browser text 2024-09-27 10:06:21 +01:00
6fa88769aa add modal text draw object to imperative shell, for drawing text like file browser 2024-09-27 09:08:19 +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
7dfc427663 add backtick to ascii table, which was missing before and caused offsets after backtick to be off by 1 2024-09-23 22:43:41 +01:00
a65cf56a56 create .mlb file with ascii tabble 2024-09-23 15:50:59 +01:00
8db8487f7a add and export glyph that is meant to represent an unknown ascii character 2024-09-23 14:04:43 +01:00
a60aa28d6b add all upper case letters 2024-09-23 14:00:05 +01:00
dbbc4b4122 done exporting all symbols 2024-09-23 13:47:31 +01:00
ee56118dec export all lower case letters 2024-09-23 13:35:19 +01:00
a23a94678f export 19 symbols 2024-09-23 13:21:11 +01:00
029786e2f1 export numbers to .sml files 2024-09-23 12:59:23 +01:00
bf6a0cd812 add remaining symbols 2024-09-23 12:30:50 +01:00
88a7e9e77c amend height of some symbols 2024-09-23 12:23:39 +01:00
93323438f4 add some more symbols 2024-09-23 12:03:02 +01:00
6bd88ddc0b add more symbols 2024-09-23 11:36:48 +01:00
6117fb447c add a few more symbols (question mark and backwards/forwards slash) 2024-09-23 10:50:08 +01:00