libcosmic/examples
Ian Douglas Scott ece17c8d62 theme: Use boxed functions instead fn pointers
This is more general, and necessary if the custom theming is dynamically
generated.

Iced's builtin theme also uses `Box`ed `Fn`, or `Rc` where clone is
required, so this seems reasonable.

Only `Text` is left using `fn`, since it needs to be `Copy`. Hopefully
that can be changed in Iced at some point.

`::custom` methods are added to make these variants a little more
convenient to construct. This replaces a couple `From` implementations,
which are potentially problematic with a generic.
2023-04-27 15:29:39 -07:00
..
config WIP: Config API 2023-03-10 09:39:33 -07:00
cosmic theme: Use boxed functions instead fn pointers 2023-04-27 15:29:39 -07:00
cosmic-sctk update iced: includes DnD support for iced-sctk 2023-04-04 18:15:41 -04:00