enso/lib/rust/ensogl/example
Adam Obuchowicz 7f8190e663
Grid view selection and hover (#3622)
This PR adds a new variant of selection, where the mouse-hovered entry is highlighted and may be selected by clicking.

In the video below, we have three grid views with slightly different settings:
* In the left-top corner, both hover and selection highlight is just a shape under the label. Such a grid view does not require additional layers (when compared to non-selectable grid view).
* In the left-bottom corner the hover is normal shape, but selection is a _masked layer_ which allows us to have different text color. This setting requires three more layers to render.
* In the right-top corner, both hover and selection are displayed in the masked layer, creating 6 additional layers.

https://user-images.githubusercontent.com/3919101/181514178-f243bfeb-f2dd-4507-adc3-5344ae0579b7.mp4
2022-08-01 10:54:42 +00:00
..
animation New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
complex-shape-system New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
custom-shape-system New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
dom-symbols New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
drop-manager New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
easing-animator New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
glyph-system Embedded-fonts crate should contain constants with font names. (#3403) 2022-07-12 09:05:10 +00:00
grid-view Grid view selection and hover (#3622) 2022-08-01 10:54:42 +00:00
list-view Multi Component Group Wrapper (#3473) 2022-06-08 11:06:36 +00:00
mouse-events New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
profiling-run-graph Profiling workflows (#3475) 2022-06-01 18:01:16 +00:00
render-profile-flamegraph New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
scroll-area New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
shape-system New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
slider New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
sprite-system New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
sprite-system-benchmark New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
src Grid View with Scrolling (#3588) 2022-07-19 08:39:23 +00:00
text-area Embedded-fonts crate should contain constants with font names. (#3403) 2022-07-12 09:05:10 +00:00
Cargo.toml Grid View with Scrolling (#3588) 2022-07-19 08:39:23 +00:00