Commit graph

123 commits

Author SHA1 Message Date
Michael Aaron Murphy
7ee1f545e1 chore(iced): enable advanced feature 2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
e1d1b0bad5 feat(widget): initial implementation of Grid widget 2023-10-02 17:32:39 +02:00
Ashley Wulber
7e286d0953 update iced 2023-10-02 10:24:43 -04:00
Ashley Wulber
70077ca985 feat: color picker 2023-10-02 10:24:43 -04:00
Ashley Wulber
647f249490 chore: update iced
should fix DnD issues
2023-09-25 11:29:15 -04:00
Victoria Brekenfeld
a40cf289bb chore: Update freedesktop-icons 2023-09-21 14:17:35 +02:00
Ashley Wulber
1a1614b329 chore: update iced 2023-09-20 11:06:47 -04:00
Eduardo Flores
69cd9a3bfa
fix(applet): button & icon API refactor w/ applet example 2023-09-18 02:35:50 +02:00
Michael Aaron Murphy
f2b14d18eb chore(examples): migrated cosmic-design-demo 2023-09-15 20:48:25 +02:00
Michael Aaron Murphy
c775c65304 fix(cargo): features winit_debug and winit_tokio now depend on winit feature 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
18debe546d chore: no default features 2023-09-14 01:38:56 +02:00
Ashley Wulber
69da283aeb update iced 2023-08-21 15:47:01 -04:00
Ian Douglas Scott
2086a0ee0e Don't require "a18y" for applet feature
Causing panic currently.
2023-08-18 16:47:10 -04:00
Ashley Wulber
c474b3e955 wip: add applet module 2023-08-18 16:47:10 -04:00
Michael Aaron Murphy
1705b6fe27 feat(dialog): XDG portal integrations for open and save dialogs 2023-08-16 16:59:15 +02:00
Ashley Wulber
fb2fb65af0 chore: use palette 0.7.3 2023-08-14 12:31:16 -04:00
Ashley Wulber
a618c1b94a wip: calculate theme using new method 2023-08-14 12:31:16 -04:00
Ashley Wulber
620c1adb74 wip: theme update & some cleanup 2023-08-14 12:31:16 -04:00
Michael Murphy
a223b60a0c
feat!: implement Application API 2023-08-02 11:54:07 +02:00
Ashley Wulber
ab88a5b59f feat: animated image widget 2023-07-26 18:11:19 -04:00
Ian Douglas Scott
f77bd443d7 Use same sctk commit as iced 2023-07-25 09:33:37 -07:00
Michael Aaron Murphy
b0db23a169 perf(flexrow): provide reusable vec for storing elements 2023-06-26 17:00:50 +02:00
Ashley Wulber
bf456a08ee feat: animated togglers in the cosmic_sctk example 2023-06-15 20:38:16 +02:00
Ashley Wulber
78a3a1f29a fix CI 2023-06-15 20:38:16 +02:00
Ashley Wulber
850968715c udpate iced to use latest rebase 2023-06-15 20:38:16 +02:00
Ashley Wulber
a8a2e4ad26 feat: theme helper methods 2023-06-12 12:16:31 -04:00
Brock
5765053ad7
Expose internal iced crates for cosmic-time (#110)
This allows cosmic-time to use all imports via libcosmic, so the
versions of iced will not collide.
2023-06-01 16:12:57 -06:00
Ashley Wulber
ce713d9da7 refactor: move applet helpers to cosmic-applets repo 2023-05-31 10:33:46 -04:00
Ashley Wulber
f06a81ccf9 chore: update deps 2023-05-30 14:39:22 -04:00
Ashley Wulber
e056e8c830
Cosmic advanced text (#103)
* wip: update to use cosmic-advanced-text

* use cosmic-advanced-text branch of iced

* fix: line height and spacing for segmented button and update to get svg fix

* fix: spin button styling & spacing

* update iced to fix segmented button border radius

* feat: example improvements

* feat: helper for loading fonts

* feat: add focus style to button

* fix: slider height and iced fixed

* feat: hash icon width and height

* cleanup

* update ci

* refactor: always use lazy feature of iced

* update iced

* update iced

* cleanup & update iced

* update iced: new slider & tiny-skia quad updates

* update iced: fixes for tiny-skia quad rendering with edge case border radius

* re-export iced_runtime & iced_widget

* merge master

* udpate iced

* update iced

* update iced

* update iced

* fix: make rectangle_tracker subscription only return update if there is some

* feat: derive macro for loading a cosmic-config

* feat (cosmic-config): iced subscription

* fix (example): update to rectangle tracker subscription

* fix (cosmic-config)

* refactor(cosmic-config-derive): add support for types with generic parameters

* fix (cosmic-config): feature gate updates for subscription helpers

* feat: support for custom & system themes + move cosmic-theme to libcosmic

* feat: sorta hacky way of creating header bars for libcosmic + update iced to get support for resizable windows in iced-sctk

* update iced

* update and reexport sctk

* fix: applet border radius

* feat (cosmic-theme): add id and name methods

* fix(cosmic-theme): reexport palette from cosmic-theme

* fix(cosmic-config-derive): allow use with reexported cosmic-config

* feat: update iced with fix and refactor applet env vars

* update iced
2023-05-30 12:03:15 -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