Ashley Wulber
259bba4d19
fix (cosmic-config): feature gate updates for subscription helpers
2023-05-22 10:29:39 -04:00
Ashley Wulber
b82b6566f1
refactor(cosmic-config-derive): add support for types with generic parameters
2023-05-21 23:15:08 -04:00
Ashley Wulber
b064293632
fix (cosmic-config)
2023-05-19 23:54:34 -04:00
Ashley Wulber
6e6677bfac
fix (example): update to rectangle tracker subscription
2023-05-19 17:49:17 -04:00
Ashley Wulber
c2ddc97685
feat (cosmic-config): iced subscription
2023-05-19 17:30:54 -04:00
Ashley Wulber
76fd9207e5
feat: derive macro for loading a cosmic-config
2023-05-19 15:36:15 -04:00
Ashley Wulber
f433b3dc20
fix: make rectangle_tracker subscription only return update if there is some
2023-05-15 14:22:07 -04:00
Ashley Wulber
d38b68244a
update iced
2023-05-15 13:45:52 -04:00
Ashley Wulber
da1bc01753
update iced
2023-05-12 17:54:45 -04:00
Ashley Wulber
b750e6c5f0
update iced
2023-05-12 15:26:05 -04:00
Ashley Wulber
d843a7bf81
udpate iced
2023-05-12 14:36:32 -04:00
Ashley Wulber
0d708f4003
merge master
2023-05-12 13:46:06 -04:00
Ashley Wulber
e16c6f0821
re-export iced_runtime & iced_widget
2023-05-12 13:45:48 -04:00
Ashley Wulber
d0d07b8d4e
update iced: fixes for tiny-skia quad rendering with edge case border radius
2023-05-12 13:45:48 -04:00
Ashley Wulber
646000462b
update iced: new slider & tiny-skia quad updates
2023-05-12 13:45:47 -04:00
Ashley Wulber
69f997c2d1
cleanup & update iced
2023-05-12 13:45:47 -04:00
Ashley Wulber
acb1b9e759
update iced
2023-05-12 13:45:46 -04:00
Ashley Wulber
a2a9497215
update iced
2023-05-12 13:45:46 -04:00
Ashley Wulber
731f420075
refactor: always use lazy feature of iced
2023-05-12 13:45:45 -04:00
Ashley Wulber
7a02339be6
update ci
2023-05-12 13:45:45 -04:00
Ashley Wulber
8149faca4d
cleanup
2023-05-12 13:45:44 -04:00
Ashley Wulber
9316537d64
feat: hash icon width and height
2023-05-12 13:45:44 -04:00
Ashley Wulber
4a770419f7
fix: slider height and iced fixed
2023-05-12 13:45:43 -04:00
Ashley Wulber
ba41a48971
feat: add focus style to button
2023-05-12 13:45:43 -04:00
Ashley Wulber
eb0fcf5278
feat: helper for loading fonts
2023-05-12 13:45:42 -04:00
Ashley Wulber
0c1396cac3
feat: example improvements
2023-05-12 13:45:42 -04:00
Ashley Wulber
b6c3b76891
update iced to fix segmented button border radius
2023-05-12 13:45:42 -04:00
Ashley Wulber
2a628b8431
fix: spin button styling & spacing
2023-05-12 13:45:41 -04:00
Ashley Wulber
f3206b1620
fix: line height and spacing for segmented button and update to get svg fix
2023-05-12 13:45:41 -04:00
Ashley Wulber
130be16d12
use cosmic-advanced-text branch of iced
2023-05-12 13:45:40 -04:00
Ashley Wulber
5da0bef35e
wip: update to use cosmic-advanced-text
2023-05-12 13:45:22 -04:00
Ian Douglas Scott
98ec1bbd48
Add a Popover widget, that shows a widget in an overlay ( #100 )
...
This serves a similar purpose to `GtkPopover`. It takes two widgets, one
to show normally and one to show in an overlay.
This should basically work, though more options could be added here.
2023-05-11 13:29:05 -07:00
Ian Douglas Scott
355e5a9715
config: Add calloop feature to provide a calloop source ( #102 )
...
This should be useful for integrating cosmic-config into things using
calloop, like cosmic-comp.
2023-05-09 08:45:21 -07:00
Ian Douglas Scott
b85c504d72
theme: Use boxed functions instead fn pointers ( #99 )
...
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-28 16:04:57 -07:00
Ian Douglas Scott
c878e24465
Fix build on Windows/non-Unix
...
We'll need libcosmic to work on Windows and macOS if we want to use it
in the Keyboard Configurator.
`freedesktop-icons` doesn't seem to build on Windows, so only use it
on Unix systems. It does seem to build on macOS, so leave it as a
dependency there. A good solution for icon bundling on macOS/Windows will
need to be figured out at some point.
2023-04-25 06:20:20 -06:00
Ashley Wulber
93ec06a34d
update iced: drag fixes
2023-04-07 21:36:40 -04:00
Ashley Wulber
72a0999b2e
update iced: dnd source helper
2023-04-07 13:57:46 -04:00
Ashley Wulber
e5d263b23f
fix: window configured sizes fix
2023-04-05 17:18:43 -04:00
Ashley Wulber
c466790903
update sctk
2023-04-05 11:20:18 -04:00
Ashley Wulber
2a5d4c3467
update iced: includes DnD support for iced-sctk
2023-04-04 18:15:41 -04:00
Jeremy Soller
035ec88c1b
Update iced
2023-03-24 09:57:57 -06:00
Jeremy Soller
f0ab457393
Update iced
2023-03-24 08:03:45 -06:00
Jeremy Soller
24709e9c3b
Update iced
2023-03-17 18:46:06 -06:00
Jeremy Soller
e3ec7e3b7d
WIP: Config API
2023-03-10 09:39:33 -07:00
Carl Richell
7b367daf38
Update README.md
2023-03-06 15:55:33 -07:00
Ashley Wulber
b510b89b98
fix(entry): entry bg alpha typo & border radius fixes
2023-03-03 11:28:32 -05:00
Carl Richell
ff78cfe1ca
Update README.md
2023-03-02 11:46:25 -07:00
Ian Douglas Scott
172d8ae511
Update iced and sctk ( #87 )
2023-03-02 08:40:51 -08:00
Ashley Wulber
b35af255b4
refactor(container): make layer optional and export as container
2023-02-28 12:26:38 -07:00
Ashley Wulber
8d968f931d
fix: use master branch for theme
2023-02-28 12:26:38 -07:00