Commit graph

118 commits

Author SHA1 Message Date
Richard Feldman
f327e34d34
Merge branch 'toF32' into breakout 2022-04-07 18:58:13 -04:00
Richard Feldman
97fff2e84d
Re-render in reponse to keyboard input 2022-04-03 23:32:32 -04:00
Anton-4
ace5b066f8 fixed high mem+CPU usage for gui-example and editor 2022-04-01 09:41:13 +02:00
Richard Feldman
283d92e3cd
Fix gui example host 2022-03-26 16:14:05 -07:00
Richard Feldman
2ffb74e5fa
Reproduce U32s being wrong 2022-03-26 13:04:43 -04:00
Richard Feldman
4882fb4a06
Revert "Reproduce gui example segfault"
This reverts commit 459c411cd2.
2022-03-26 13:01:54 -04:00
Richard Feldman
459c411cd2
Reproduce gui example segfault 2022-03-26 13:01:49 -04:00
Richard Feldman
b1b3d92b04
Merge remote-tracking branch 'origin/trunk' into focus 2022-03-26 00:41:45 -04:00
Anton-4
c04b5c9c04
Removed iced label 2022-03-09 18:45:44 +01:00
Anton-4
71ad4b4ab7
fixed large memory consumption
Reducing MAX_QUADS to 1,000 reduced memory consumption to 43MB
2022-03-09 18:05:04 +01:00
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Derek Gustafson
1c9e0c57bf
Make RocDecs display properly in webrepl. 2022-03-06 11:52:25 -05:00
Richard Feldman
261b406137
Use roc_alloc over Box::new when making elems 2022-03-06 08:40:29 -05:00
Richard Feldman
8f7f03343d
Add Debug instance for RocElem 2022-03-05 20:49:14 -05:00
Richard Feldman
258ffee84a
Reproduce RocElem segfault 2022-03-05 17:10:41 -05:00
Richard Feldman
873fad275f
Add some focus tests 2022-03-05 17:10:41 -05:00
Richard Feldman
c8ad0abec4
Use ElemId over raw pointers 2022-03-05 17:10:41 -05:00
Richard Feldman
665e71ba1f
Comment out some unused stuff 2022-03-05 17:10:41 -05:00
Richard Feldman
cb635ef301
Delete obsolete rects_and_texts 2022-03-05 14:21:20 -05:00
Richard Feldman
8302b732b8
First pass at Focus 2022-03-05 11:51:13 -05:00
Richard Feldman
9bf513b55c
Render height and width 2022-03-05 11:35:28 -05:00
Richard Feldman
3b6c66ccb2
Make a separate .gitignore for gui platform
This is just so I can open it in my editor and have
the editor pick up on the .gitignore
2022-03-05 11:35:28 -05:00
Richard Feldman
38fd3108f2
Use Program in examples/gui 2022-03-05 11:24:08 -05:00
Richard Feldman
d7b3a3f943
Format examples/gui 2022-02-25 23:19:24 -05:00
Richard Feldman
bec1fec695
Work around https://github.com/rtfeldman/roc/issues/2586 2022-02-25 23:07:23 -05:00
Richard Feldman
5cf0aa9899
Work around https://github.com/rtfeldman/roc/issues/2585 2022-02-25 23:06:52 -05:00
Richard Feldman
b21fdca968
Change some styles in examples/gui/Hello.roc 2022-02-25 22:38:58 -05:00
Richard Feldman
bab5be4e67
Implement ReferenceCount for RocElem 2022-02-24 21:38:07 -05:00
Richard Feldman
b85e79e6bc
Drop some obsolete code 2022-02-24 21:37:58 -05:00
Richard Feldman
130b6108af
Revert "Reproduce monomorphization crash"
This reverts commit 181fcb97f7.
2022-02-24 00:18:53 -05:00
Richard Feldman
181fcb97f7
Reproduce monomorphization crash 2022-02-24 00:18:34 -05:00
Richard Feldman
4de6ad4afb
Drop unused field 2022-02-24 00:07:44 -05:00
Richard Feldman
39229013ea
Delete some obsolete comments 2022-02-23 21:36:05 -05:00
Richard Feldman
7f1f22f81a
Delete some obsolete gui example platform stuff 2022-02-23 21:34:12 -05:00
Richard Feldman
5fa5a15d44
Drop an obsolete comment 2022-02-23 21:27:18 -05:00
Richard Feldman
66057b6643
Make Hello World gui example more legible 2022-02-23 21:22:22 -05:00
Richard Feldman
4168fc7c6e
Drop some unused code 2022-02-23 21:13:37 -05:00
Richard Feldman
716a0cc8c9
Replace RgbaTup with repr(c) Rgba struct 2022-02-23 21:12:42 -05:00
Richard Feldman
5b7acf8b4f
Make Row and Col work 2022-02-23 20:36:37 -05:00
Richard Feldman
90a25efbd8
Store button styles in Button 2022-02-23 08:35:09 -05:00
Richard Feldman
f1b7c7383f
Store rect colors and borders in FillRect 2022-02-23 08:19:39 -05:00
Richard Feldman
e5b4133a8e
Draw Drawables in reverse order 2022-02-23 08:16:44 -05:00
Richard Feldman
380f367530
Introduce Drawables 2022-02-23 08:11:50 -05:00
Richard Feldman
be3bdae36c
Render a more reasonable-looking button 2022-02-23 00:23:52 -05:00
Richard Feldman
5b92eb87ec
First button ever rendered! 2022-02-22 21:42:15 -05:00
Richard Feldman
4399a6dfee
Pass RocButton all the way to rendering 2022-02-22 21:42:14 -05:00
Richard Feldman
683b505e3a
Get Button and Text working 2022-02-22 21:42:14 -05:00
Richard Feldman
56e3fc4169
Make Elem recursive 2022-02-20 20:30:42 -05:00
Richard Feldman
5f78e9320b
Pass a tag to the gui host 2022-02-20 20:07:07 -05:00
Anton-4
50928d8578
don't use position name twice to prevent collision on macos metal 2022-02-19 17:06:18 +01:00