Michael Aaron Murphy
35fea09344
fix(flex_row): missing child nodes in layout
2023-12-04 08:33:59 -07:00
Michael Aaron Murphy
bb7c7ac52a
feat(widget): add dropdown::multi list widget
2023-11-30 22:20:12 +01:00
Jeremy Soller
d6c8fbe268
Bundle close and open menu icons
2023-11-28 13:22:25 -07:00
danieleades
8e99406a8b
chore: fixing linter warnings
2023-11-28 20:02:08 +01:00
Jeremy Soller
ebcfa5f2d0
Make ashpd optional when using tokio feature
2023-11-28 11:54:13 -07:00
Jeremy Soller
bb3bfdd835
Allow application to customize nav bar
2023-11-28 11:49:43 -07:00
Jeremy Soller
be62ed4a7d
Add config_state_subscription for watching config states
2023-11-27 15:09:57 -07:00
Ian Douglas Scott
d1537b4c39
fix: compilation with latest taffy commit
...
Also adds `rev =` to `Cargo.toml` specifying the latest commit.
A library like `libcosmic` shouldn't use git dependencies without
specifying a commit or tag.
2023-11-22 20:12:59 +01:00
Ashley Wulber
57f4abb8a0
refactor: make the single-instance feature additive
2023-11-21 21:25:10 +01:00
Jeremy Soller
001fd744c5
Allow custom position in popover
2023-11-20 10:18:10 -08:00
Ashley Wulber
70d54d6f20
update iced
2023-11-20 12:27:51 -05:00
Ashley Wulber
c3ea6286f5
fix: warning abount missing assume_defaults key and use name key for dbus_interface macro
2023-11-20 12:27:51 -05:00
Ashley Wulber
c38dc6da94
refactor: rename single-instance feature
2023-11-17 19:29:11 -05:00
Ashley Wulber
ef5b6fb44a
feat: add helpers for getting and using activation tokens in applets
...
refactor(applet): connect to privileged socket if available
cleanup
2023-11-17 19:29:11 -05:00
Ashley Wulber
c9554a8740
wip: dbus activation & single instance support
...
refactor: activation action with new trait for subcommand and args
refactor: libcosmic can handle sending the activation request
cleanup
2023-11-17 19:29:11 -05:00
Jeremy Soller
1caae11e8f
fix: compilation on Windows
2023-11-17 01:36:29 +01:00
Ashley Wulber
448c777812
fix: clear the color picker when it is toggled
2023-11-16 15:34:04 -05:00
Jeremy Soller
7ea8a6103b
Format
2023-11-16 08:06:07 -07:00
Jeremy Soller
2df8cb8862
Allow segmented buttons to be indented
2023-11-16 08:06:07 -07:00
Jeremy Soller
bad4400779
Add menu code, adapted from iced_aw
2023-11-16 08:06:07 -07:00
Jeremy Soller
23b480e58d
Update iced
2023-11-16 08:06:07 -07:00
Jeremy Soller
afdac36219
Use forked atomicwrites for Redox support
2023-11-16 08:06:07 -07:00
Jeremy Soller
ac2860f86f
Enable serde feature of iced_core
2023-11-16 08:06:07 -07:00
Ashley Wulber
7322ac1336
chore: update iced
2023-11-15 18:11:29 -07:00
Ian Douglas Scott
959a0c49ec
Update iced
2023-11-15 16:56:06 -07:00
Ian Douglas Scott
1887d8ef6a
Add a should_exit method to Application trait
...
A Cosmic application has no way to call `Cosmic<T>::close` to set the
`should_exit` flag there, as far as I'm aware.
So it makes sense to add a `should_exit` method here.
2023-11-15 16:41:51 -07:00
Michael Aaron Murphy
2c445d820f
feat(image_button): add optional removable button overlay
2023-11-15 16:50:15 +01:00
Michael Aaron Murphy
9f27d2b7f5
improv(file_chooser): make subscription handler a generic closure
2023-11-15 16:50:06 +01:00
Ashley Wulber
405aaf134d
fix(applet): set the theme to be the system preference if it is not light or dark
2023-11-13 12:15:15 +01:00
Michael Aaron Murphy
14614e4e03
fix(button): image button rendering fixes
2023-11-13 12:14:51 +01:00
Ashley Wulber
6c7a080209
chore: add feature for enabling serializing keycodes
2023-11-10 23:15:23 -05:00
Ashley Wulber
5960e397c2
chore: update iced
2023-11-10 23:15:23 -05:00
Ashley Wulber
484417787a
chore: update iced
2023-11-09 14:55:51 +01:00
Ashley Wulber
42f24b7ee2
fix: draw sharp corners when the window is tiled, maximized, or fullscreen
2023-11-06 11:24:50 -05:00
Michael Aaron Murphy
e0b34e5d28
chore(iced): update to support image border radius property
2023-11-03 16:41:31 +01:00
Michael Aaron Murphy
9ccd34b5ab
fix(headerbar): center-align title even if start region is empty
2023-11-03 16:41:31 +01:00
Michael Aaron Murphy
43c78fa0df
feat(examples): add image button example
2023-11-03 16:41:31 +01:00
Michael Aaron Murphy
34386561b3
feat(button): add ImageButton widget variant
2023-11-03 16:41:31 +01:00
Ashley Wulber
470b966e8d
feat(RectangleTracker): allow ignoring the bounds of a parent widget
2023-10-30 14:35:48 -04:00
Victoria Brekenfeld
a946e7e85b
chore(fonts): add FiraSans Bold typeface
2023-10-30 15:48:03 +01:00
Ashley Wulber
6b517ddb0e
fix: increment a counter when there is a system theme mode change, or the theme is set to system
...
this forces a new subscription for the system theme, which seemed to fall behind previously unless the mode was changed back and forth
2023-10-26 14:27:32 -04:00
Ashley Wulber
047a8376ee
fix: apply the system theme change when updating the mode
2023-10-26 14:27:32 -04:00
Ashley Wulber
18b22905e2
fix: match the button overlays with figma, and if the button is transparent, use the overlay directly for hover and pressed states
2023-10-26 12:21:54 -04:00
Michael Aaron Murphy
7b2b8952c6
chore: update design demo
2023-10-24 19:52:44 +02:00
Michael Aaron Murphy
ca7c17ce21
feat(widget): add dropdown widget as pick_list replacement
...
The Dropdown widget is based on the PickList widget from iced.
2023-10-24 19:45:21 +02:00
Michael Aaron Murphy
dbd6c978ba
chore(deps): update iced
2023-10-24 19:45:21 +02:00
Ashley Wulber
33412998c7
refactor(applet): add padded control
2023-10-24 16:52:18 +02:00
Michael Aaron Murphy
390de9a6cf
fix(headerbar): center-align center region of header bar
2023-10-24 16:46:46 +02:00
Ashley Wulber
a2bda49152
refactor: add applet button variants and a menu_button helper
2023-10-19 15:10:32 -04:00
Jeremy Soller
f3eb41c1d2
Update iced
2023-10-19 10:19:12 -06:00