|
|
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 |
|
|
|
e69c6b42ef
|
done with loading file into app (loaded triangles are visible, etc.)
|
2024-08-29 05:38:58 +01:00 |
|
|
|
2549703dc7
|
verify that parsing saved file is successful
|
2024-08-29 05:21:04 +01:00 |
|
|
|
eb13636993
|
very basic saving (hardcoded file name, which is fine fow now)
|
2024-08-29 00:05:30 +01:00 |
|
|
|
c40e8b98e0
|
slight renaming of constructors in FileMessage.t datatype, to provide more clarity (SAVE_TRIANGLES is for saving to a custom format, LOAD_TRIANGLES is for loading from a file in that custom format, and export is for generating code from custom format)
|
2024-08-28 20:47:40 +01:00 |
|
|
|
48c721e29b
|
done with scaffolding for file mailbox; next, send message to file mailbox to export and import, and handle these messages properly from the file mailbox
|
2024-08-28 20:42:52 +01:00 |
|
|
|
e587c6cf73
|
preparation for adding new additional threads/mailboxes (namely, the file mailbox)
|
2024-08-28 20:11:00 +01:00 |
|
|
|
1049f2b561
|
scaffolding in preparation for adding simple load/export/save functionality
|
2024-08-17 09:46:53 +01:00 |
|
|
|
3f4c52e0d8
|
upload new dots to GPU when there is a window resize too
|
2024-08-14 21:35:01 +01:00 |
|
|
|
30dd9de17a
|
rename 'button' (the coloured square that appears over a clickpoint) to 'dot' throughout codebase, because I may want actual buttons later
|
2024-08-14 21:24:46 +01:00 |
|
|
|
9b639c9c53
|
progress towards toggling graph
|
2024-08-14 02:31:28 +01:00 |
|
|
|
4d0d8ef0a1
|
done with functional-core logic for redo (now just need to send REDO_ACTION on key callback when shortcut is pressed)
|
2024-08-08 23:43:38 +01:00 |
|
|
|
89f4ae3b13
|
undo implemented and working fine
|
2024-08-08 21:35:48 +01:00 |
|
|
|
5c7c61586a
|
scaffolding in preparation for implementing undo
|
2024-08-08 06:34:40 +01:00 |
|
|
|
ee2274ffbc
|
improve generated graph lines, so it aligns perfectly with clickPoints (but there are two 'todo' notes: one when the height is greather than the width, and also the constant vector when the program starts is an empty vector)
|
2024-08-03 04:40:53 +01:00 |
|
|
|
13063ea2c6
|
add framebufferSize callback (FFI scaffolding and creating new variant of input_message type but don't react to this message in a meaningful way yet)
|
2024-08-01 23:33:54 +01:00 |
|
|
|
0fc6201231
|
reduce number of type conversoins required for mouse move callback (and fix the other code which uses it too)
|
2024-08-01 21:17:39 +01:00 |
|
|
|
16fa1e49af
|
get drawing of triangles implemented
|
2024-07-31 22:25:15 +01:00 |
|
|
|
087998ac6b
|
return normalised device coordinates together with vector, from getClickPos function
|
2024-07-31 14:52:12 +01:00 |
|
|
|
6a2fe3ed18
|
a bit of formatting (no other changes in this commit)
|
2024-07-31 12:30:12 +01:00 |
|
|
|
29793cccbe
|
refactoring and scaffolding
|
2024-07-31 12:00:07 +01:00 |
|
|
|
b8ab605c90
|
code function that indicates which area, if any, was clicked
|
2024-07-30 19:04:36 +01:00 |
|