Commit graph

54 commits

Author SHA1 Message Date
Richard Feldman
b6157e76b8
Fix type mismatch in exit code 2022-09-19 21:12:48 -04:00
Ross Smyth
80f14f61df
Add safe layout reprs and safety comments about layout 2022-08-13 03:49:12 -04:00
Richard Feldman
7b2c1a7e64
s/trunk/main/g 2022-08-12 15:24:37 -04:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Richard Feldman
228793002c
Stop using ReferenceCounted in examples 2022-05-26 11:41:42 -04:00
Richard Feldman
698603aae7
Restore examples/gui to trunk version 2022-04-14 08:18:59 -04:00
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
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
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
38fd3108f2
Use Program in examples/gui 2022-03-05 11:24:08 -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
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
Anton-4
b1245ffd7f
update to wgpu master to fix M1 shader issues 2022-02-19 14:07:19 +01:00
Anton-4
7548f97221
changed whole pipeline to work with quads 2022-02-15 15:48:48 +01:00
Anton-4
3346eb4f2c
update wgpu, winit and wgpu_glyph 2022-02-12 13:55:21 +01:00
Anton-4
59a0c47038
succesfull rendering of multi-level rects and texts 2022-02-12 11:55:29 +01:00
Anton-4
51d86f101f
display example text on screen 2022-02-11 20:15:09 +01:00