Commit Graph

1487 Commits

Author SHA1 Message Date
68a1787958 done scaffolding cml and adding resize functionality 2024-10-06 10:23:07 +01:00
b95fc48252 scaffolding for concurrent ml 2024-10-06 09:32:56 +01:00
6766fd1485 a bit of scaffolding to prepare for adding resize callback + message types 2024-10-06 08:18:24 +01:00
c5efc4640f return tuple from function 'startBuildTextLineGap' as function to move LineGap, used in 'startBuildTextLineGap' optimises nodes for better performance on subsequent operations 2024-10-05 23:27:25 +01:00
d2b8f713d3 implement functionality to start building string vector from requested line 2024-10-05 23:16:32 +01:00
12caf4df89 pull new brolib commit, which contains function to go to specific line 2024-10-05 23:02:25 +01:00
d4ef45630d add function to move to specific line number (or the node containing a specific line number if node contains multiple line breaks) 2024-10-05 23:01:19 +01:00
3f2f135a36 move LineGap to start after loading file in shell.sml, and fix wrong parameter passed in mutually recursive function, in buffer.sml 2024-10-05 15:07:23 +01:00
135ec2e3a6 update brolib subnodule, so we gain access to LineGap.goToStart function 2024-10-05 14:21:51 +01:00
36edbb6dee add function to go to start of line_gap.sml 2024-10-05 14:17:15 +01:00
e64b7418ae use LineGap.append in shell/shell.sml 2024-10-05 12:56:23 +01:00
6ac3525192 pull in new version of line_gap.sml, which has a new append function as well 2024-10-05 12:44:37 +01:00
2a5a5b0787 add append function to line_gap.sml 2024-10-05 12:39:45 +01:00
2f0630dd88 draw super basic text to screen 2024-10-05 02:03:17 +01:00
5cbadca309 update brolib submodule 2024-10-05 01:00:46 +01:00
599252e5ed add function to create a LineGap.t from a string (although, for performance reasons, it's best to use this function when string is shorter than 1024 chars) 2024-10-05 00:57:12 +01:00
4586135d18 done for the moment with text rendering 2024-10-05 00:17:11 +01:00
de70d31ee1 progress adding function to draw text 2024-10-04 23:23:25 +01:00
ff8d911010 add dependencies to .mlb file 2024-10-04 15:08:47 +01:00
e05f7a383e add a couple of libraries 2024-10-04 15:03:47 +01:00
014c2ef7d1 add signature to line_gap.sml 2024-10-04 15:00:14 +01:00
c5913c5ccb amend compiler error, and leave a couple of comments about drawText function 2024-10-03 07:28:58 +01:00
e6298e7b61 initialise text vertex buffer and text program in gl-draw.sml, and add functions to draw 2024-10-02 22:09:22 +01:00
eb0ca122d6 add draw module (very incomplete) 2024-10-01 08:25:12 +01:00
ae8005dceb add shader strings for open gl 2024-09-30 15:46:19 +01:00
c37c8d60e3 init 2024-09-30 13:43:43 +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