cushy/examples
Jonathan Johnson 9e4e079bf5
WindowLocal + Custom Observers
This cascaded into a lot more work than expected. However, in general,
if one clones a `WidgetInstance` and shares it between two windows, it
should now work. Widget authors must ensure that when they cache
information, they do so with either a `WidgetCacheKey` or use a
`WindowLocal<T>` if per-window state is desired.

This is demonstrated in the debug-window example, where the counter of
open windows is next to a clone of the same button from the main window
that opens a new window.
2023-12-29 13:21:39 -08:00
..
assets Tilemap updates 2023-12-09 08:20:18 -08:00
animation.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
background-tasks.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
basic-button.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
buttonception.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
buttons.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
canvas.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
checkbox.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
collapse.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
contacts.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
container-shadow.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
containers.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
counter.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
cursor-icon.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
custom-widgets.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
debug-window.rs WindowLocal + Custom Observers 2023-12-29 13:21:39 -08:00
disclose.rs Root tab order fix, Spacebar widget activiation 2023-12-28 15:48:34 -08:00
focus-order.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
focus.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
gameui.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
image.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
input.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
layers.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
login.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
manual-tabs.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
multi-window.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
nested-scroll.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
overlays.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
progress.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
radio.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
scroll.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
select.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
slider.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
stack-align-test.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
style.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
switcher.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
theme.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
tic-tac-toe.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
tilemap.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
typography.rs Renaming crate to Cushy 2023-12-27 19:02:59 -08:00
validation.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
window-properties.rs Directly depending on figures 2023-12-28 09:35:24 -08:00
wrap.rs Directly depending on figures 2023-12-28 09:35:24 -08:00