Commit graph

24 commits

Author SHA1 Message Date
Ashley Wulber
0c1396cac3
feat: example improvements 2023-05-12 13:45:42 -04:00
Ashley Wulber
5da0bef35e
wip: update to use cosmic-advanced-text 2023-05-12 13:45:22 -04:00
Ashley Wulber
2a5d4c3467 update iced: includes DnD support for iced-sctk 2023-04-04 18:15:41 -04:00
Ashley Wulber
3245ff1b0e fix: applet & cosmic-sctk example 2023-02-28 12:26:38 -07:00
Michael Aaron Murphy
2b0227d34f feat(iconsource): additional helper methods for creating handles 2023-01-19 19:58:31 +01:00
Michael Aaron Murphy
b3d550cc5e feat!(segmented-button): improved interfaces and documentation
BREAKING CHANGE: Various type and function names have changed to reflect
themselves better in documentation. Code has been reorganized into
separate modules with a better placement in libcosmic. Most of the
functions, types, and modules now have documentation and examples.

These changes no longer require the `Model` type to define the
data/component type that it stores. The component functionality is now
optional, and it's also possible to associate many components to an item
with one component per type. This has had a side effect of simplifying a
lot of the type signatures in the implementation.

Before, to insert an item into the model, you had to define a
`SegmentedItem` and a `Component` on insert, and get back an ID for that
item. Which makes it difficult to define an item that contains only an
icon or has no components. And requires an extra insert function to
activate the item on insert.

Now, there is a flexible builder-style API for configuring
newly-inserted items in the model. So the complexity for inserting and
retrieving values from the model has decreased significantly
2023-01-19 19:58:31 +01:00
Michael Aaron Murphy
352bf8e401 improv: use current design for nav bar toggle button 2023-01-10 20:49:49 +01:00
Michael Aaron Murphy
a55f41fc42 chore: fix cosmic-sctk with a partial sync of cosmic 2023-01-10 20:49:49 +01:00
Michael Aaron Murphy
7d018a2139 feat(settings): global setting for icon theme 2023-01-05 16:57:02 +01:00
Ashley Wulber
dc4edb2a4d feat: applet button theme helper 2023-01-05 16:20:33 +01:00
Victoria Brekenfeld
a736b361a1 ci: add CI for different feature combinations 2023-01-04 05:46:24 +01:00
Victoria Brekenfeld
75687acf2f chore: apply cargo fmt 2023-01-04 05:46:24 +01:00
Ashley Wulber
96c8527573 feat: various improvements to window commands and event handling 2022-12-19 23:09:58 +01:00
Ashley Wulber
8b1014a754 feat: rectangle tracker container 2022-12-15 00:25:47 +01:00
Ashley Wulber
9957c08a12 update: iced & some deps 2022-12-13 22:31:20 +01:00
Jeremy Soller
e6062d63cc
Make iced a submodule 2022-12-13 08:55:15 -07:00
Ashley Wulber
d888f2bd3b fix: use latest iced & commit hash for sctk 2022-12-13 08:29:37 -07:00
Ashley Wulber
9796fa9f15
Merge branch 'cosmic-design-system' into sctk-cosmic-design-system 2022-12-06 17:03:31 -05:00
Ashley Wulber
a8c753d429
feat: transparent button style 2022-11-17 20:49:20 -05:00
Ashley Wulber
3850def414
image icon 2022-11-17 18:07:57 -05:00
Ashley Wulber
33779b8652
wip: popup helpers 2022-11-15 23:11:48 +01:00
Ashley Wulber
ee542bd046
refactor: simplify application trait 2022-11-14 23:51:38 +01:00
Ashley Wulber
b1c3a52589
wip: example applet 2022-11-11 05:06:54 +01:00
Ashley Wulber
45ccc8c3d2
working examples with iced-sctk 2022-11-10 16:19:13 +01:00