Antonio Scandurra
fac029b808
Fix errors in theme2
2023-11-30 12:08:00 +01:00
Antonio Scandurra
624ea58f2e
Polish screen sharing
2023-11-30 11:22:01 +01:00
Antonio Scandurra
a4035f15af
WIP
2023-11-29 18:18:15 +01:00
Antonio Scandurra
3ac545088a
WIP: preserve aspect ratio of images
2023-11-28 17:33:11 +01:00
Antonio Scandurra and Julia
600b564bbf
Introduce surface rendering
...
Co-Authored-By: Julia <julia@zed.dev >
2023-11-28 16:47:31 +01:00
Piotr Osiewicz
390ecb5b0c
Merge branch 'main' into collab_ui-zed2
2023-11-23 15:02:55 +01:00
Piotr Osiewicz
c191943849
Add basic call/user UI in top-right corner.
...
Allow ui::Avatar to take custom data instead of always relying on URI resolution
2023-11-23 15:00:13 +01:00
Nathan Sobo
c23f17ee0b
Reorganize element-related traits
2023-11-22 11:19:43 -07:00
Conrad Irwin
d0dd44faad
Merge branch 'main' into callback-handles
2023-11-20 12:21:42 -07:00
Conrad Irwin
0798cfd58c
Merge branch 'main' into derive-element-redux
2023-11-20 09:15:38 -07:00
Mikayla
88024ca7c9
Remove V parameter on elements
2023-11-19 18:32:31 -08:00
Nathan Sobo
33cd6f520a
Clean compile with redesigned element traits
2023-11-18 21:51:47 -07:00
Nathan Sobo
adc355a1e6
Element refinement passing on ui2
2023-11-18 20:05:47 -07:00
Nathan Sobo
2515bbf990
Move self in Element::paint
...
Remove mutable state borrows in favor of state ownership in render processes to streamline element rendering.
2023-11-17 23:32:55 -07:00
Conrad Irwin
6bfe6fa0e1
Fix image errors
...
* Firstly only log one error per image load, not per frame
* Secondly use an Icon not an image for rendering Icons
2023-11-17 13:47:07 -07:00
Antonio Scandurra
33a808a49b
WIP
2023-11-15 20:41:09 +01:00
Nathan Sobo
80014a28ea
No compile errors or warnings
2023-11-14 01:23:09 -07:00
Nathan Sobo
27fb381cca
Checkpoint
2023-11-14 01:15:48 -07:00
Nathan Sobo
922bb3195b
WIP
2023-11-13 18:58:42 -07:00
Nathan Sobo
76754c559c
WIP
2023-11-13 18:18:25 -07:00
Nathan Sobo
7eaba8fabc
WIP
2023-11-10 14:47:45 -07:00
85000eba81
wip: picker
...
co-authored-by: nathan <nathan@zed.dev >
co-authored-by: max <max@zed.dev >
2023-11-06 17:09:38 -08:00
Mikayla
3f7dc59512
Snapshot for kirill
2023-11-06 12:33:20 -08:00
Nathan Sobo and Julia Risley
04a8ee222b
Enforce a Send bound on next frame callbacks
...
This required using mpsc channels to invoke frame callbacks on the
main thread and send the receiver to the platform display link.
Co-Authored-By: Julia Risley <julia@zed.dev >
2023-11-02 12:01:22 -06:00
Marshall Bowers
66e4d75e6f
Checkpoint: Reproduction with Avatar story
2023-11-02 12:34:40 -04:00
Nathan Sobo
0285284ae1
Rename IntoAnyElement trait to Component
2023-10-26 12:46:52 +02:00
Marshall Bowers
8b972f6d8e
WIP: Fix compilation of gpui2
2023-10-26 09:51:33 +02:00
Marshall Bowers
965bfd8439
WIP: Pass in V to Element
2023-10-26 09:45:26 +02:00
Nathan Sobo
0910760b76
Reduce the need for Send + Sync bounds on generics
2023-10-24 14:20:01 +02:00
Nathan Sobo
ec0b2e5430
Add on_drop listeners
2023-10-23 16:59:16 +02:00
Nathan Sobo
96f2c4a9de
Checkpoint
2023-10-23 14:15:12 +02:00
Antonio Scandurra
e4fe9538d7
Checkpoint
2023-10-21 16:01:47 +02:00
Antonio Scandurra
f3979a9f28
Checkpoint
2023-10-21 15:59:52 +02:00
Nathan Sobo
d920f7edc1
Add group hovers
2023-10-11 21:34:08 -06:00
Nathan Sobo
e0fdc7d0aa
Eliminate PaintContext
2023-09-11 09:00:59 -06:00
Nathan Sobo
ebf8b32811
Checkpoint
2023-09-08 16:25:10 -06:00
Nathan Sobo
c3b1264c05
Checkpoint
2023-09-08 14:09:29 -06:00
Nathan Sobo
7738867639
Always pass parent origin when painting elements
2023-09-08 06:32:20 -06:00
Nathan Sobo
a8d5d93757
Max out corner radii to half the smaller dimension of the parent box
2023-09-06 17:21:05 -06:00
Nathan Sobo
99ad60460a
Add support for fetching/rendering images
2023-09-06 17:13:43 -06:00