Ashley Wulber
76fd9207e5
feat: derive macro for loading a cosmic-config
2023-05-19 15:36:15 -04:00
Ashley Wulber
e16c6f0821
re-export iced_runtime & iced_widget
2023-05-12 13:45:48 -04:00
Ashley Wulber
69f997c2d1
cleanup & update iced
2023-05-12 13:45:47 -04:00
Ashley Wulber
731f420075
refactor: always use lazy feature of iced
2023-05-12 13:45:45 -04:00
Ashley Wulber
8149faca4d
cleanup
2023-05-12 13:45:44 -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
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
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
c466790903
update sctk
2023-04-05 11:20:18 -04:00
Jeremy Soller
e3ec7e3b7d
WIP: Config API
2023-03-10 09:39:33 -07:00
Ian Douglas Scott
172d8ae511
Update iced and sctk ( #87 )
2023-03-02 08:40:51 -08:00
Ashley Wulber
8d968f931d
fix: use master branch for theme
2023-02-28 12:26:38 -07:00
Ashley Wulber
becdbb6eb3
wip: use CosmicContainer
2023-02-28 12:26:38 -07:00
Ashley Wulber
a449a52dee
wip(theme): use transparent overlays for component colors where possible
2023-02-28 12:26:38 -07:00
Michael Aaron Murphy
046dd49438
feat(spin-button): support fraction::Decimal as model input
2023-01-19 19:58:31 +01:00
Ashley Wulber
2ce171e5ad
feat: dyrend
2023-01-19 08:28:37 -07:00
Ian Douglas Scott
cd19bbf37a
Re-export iced_sctk when build with wayland feature
2023-01-18 16:59:10 -07:00
Ian Douglas Scott
db2e6c236d
When built with tokio, provide a SingleThreadExecutor
...
An application can (optionally) use this to spawn a single tokio thread
instead of one per processor thread.
2023-01-18 16:59:10 -07:00
Ashley Wulber
1554a1ee03
chore: update iced
2023-01-06 09:47:47 -07:00
Victoria Brekenfeld
a736b361a1
ci: add CI for different feature combinations
2023-01-04 05:46:24 +01:00
Victoria Brekenfeld
cb2b0f7b9a
chore: Do not enable iced/tokio features unconditionally
2023-01-03 22:48:53 +01:00
Michael Aaron Murphy
444e389496
refactor!: separate horizontal and vertical segmented button widgets
...
- Removes the orientation enum in favor of two separate widgets
- Implements the spacing attribute for both widgets
- Demo is updated to display spaced variants of the widgets
2023-01-03 20:29:50 +01:00
Ashley Wulber
3af1da6332
chore(iced): update sctk
2023-01-03 17:16:18 +01:00
Michael Aaron Murphy
ad0443af3f
feat(segmented-button): Vertical orientation functionality
2023-01-03 00:12:28 -05:00
Michael Aaron Murphy
e97c258422
feat: implement SegmentedButton widget
2022-12-28 10:19:03 -05:00
Ashley Wulber
50dc7c02cc
feat: autosized surface support & update freedesktop-icons & change iced branch to master
2022-12-27 17:27:04 +01:00
Ashley Wulber
03dfc009fd
fix: Use master_jammy branch of cosmic-panel-config
2022-12-23 14:43:32 +01:00
Ashley Wulber
5fb8b9d56f
specify rev in cosmic-panel-config & re-export
2022-12-21 14:40:58 -07:00
Jeremy Soller
5359ceb0f8
Update to new iced, use swbuf instead of softbuffer
2022-12-20 09:08:16 -07:00
Jeremy Soller
9607d213a1
Use iced_softbuffer in cosmic example
2022-12-19 23:56:02 +01:00
Brock
c2625ef450
chore: Add tokio fieature to iced import
...
This allows applets to use the `time::every` subscription
2022-12-16 01:34:05 +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
Michael Aaron Murphy
d13415713c
fix: Remove static-rc due to debug assertions
2022-12-06 23:11:59 +01:00
Ashley Wulber
9796fa9f15
Merge branch 'cosmic-design-system' into sctk-cosmic-design-system
2022-12-06 17:03:31 -05:00
Michael Aaron Murphy
37f978d1b3
wip: Various refactorings and improvements
2022-12-06 16:14:39 +01:00
Ashley Wulber
e87fe7056d
fix: use fork of freedesktop_icons
2022-11-22 17:51:09 -05:00
Ashley Wulber
33779b8652
wip: popup helpers
2022-11-15 23:11:48 +01:00
Ashley Wulber
9174e42099
fix: correctly align the container for popups
2022-11-14 16:58:04 +01:00
Ashley Wulber
0a0972ddc8
feature defaults
2022-11-14 16:34:00 +01:00
Ashley Wulber
00eed9c741
feat: popup container helper
2022-11-14 16:33:05 +01:00
Ashley Wulber
49f0f34270
dependencies
2022-11-14 00:38:57 +01:00
Ashley Wulber
9260ee87e1
helpers
2022-11-12 01:55:37 +01:00
Ashley Wulber
f9c47cf479
feat: working applet
2022-11-11 19:55:23 +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
Ashley Wulber
5331cfb61b
depend on iced_sctk + cosmic-design-system changes
2022-11-09 21:33:23 +01:00