Michael Aaron Murphy
b13ad0b453
improv(segmented-button): Add more From implementations for ButtonContent
2022-12-28 18:34:45 -05:00
Michael Aaron Murphy
bbac6b9bbf
feat(segmented-button): Selection style and implementation
2022-12-28 18:34:45 -05:00
Michael Aaron Murphy
3454483345
feat(segmented-button): Configurable background and hover styling
2022-12-28 18:34:45 -05:00
Ashley Wulber
f84410608b
feat: continually auto-sized surfaces
2022-12-28 16:53:37 +01:00
Michael Aaron Murphy
e97c258422
feat: implement SegmentedButton widget
2022-12-28 10:19:03 -05:00
Ashley Wulber
01701759c9
fix: make sure that lazy widgets have calculated their element before calling layout
2022-12-27 22:38:49 +01:00
Ashley Wulber
d31c686e9a
fix: limits on popup size and shrink popup container
2022-12-27 21:20:06 +01:00
Ashley Wulber
5d271ae21b
fix: applet feature
2022-12-27 18:11:38 +01: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
55d00bd21a
fix(iced): Switch from swbuf to softbuffer
2022-12-23 18:41:32 +01:00
Michael Aaron Murphy
d732f64fb8
feat: Border radius support for buttons
2022-12-23 16:09:17 +01:00
Michael Aaron Murphy
a39a2518d0
chore: Add vscode config to use clippy on save
2022-12-23 15:10:51 +01:00
Michael Aaron Murphy
dcbde3b1f2
chore: Apply clippy lints
2022-12-23 15:10:13 +01:00
Ashley Wulber
03dfc009fd
fix: Use master_jammy branch of cosmic-panel-config
2022-12-23 14:43:32 +01:00
13r0ck
9880bf2f56
Send Unit type rather than u32
2022-12-22 06:37:41 -07:00
13r0ck
8eff8a33fa
More efficently resize at break point
...
Uses iced `events_with()` to only subscribe to window resize
events. The window width is stored in a static AtomicU32 so
that the subscription can compare to an old window width as to
only send messages when the width crosses the break point.
fix up
2022-12-22 06:37:41 -07:00
Jeremy Soller
bdf5f7da38
Stub for loading backgrounds
2022-12-21 14:49:41 -07:00
Ashley Wulber
5fb8b9d56f
specify rev in cosmic-panel-config & re-export
2022-12-21 14:40:58 -07:00
Jeremy Soller
8c78f23902
Move desktop views into separate file
2022-12-21 14:21:51 -07:00
Jeremy Soller
4ba38dc25d
Use cosmic toggler instead of iced
2022-12-21 13:14:42 -07:00
Jeremy Soller
3f113016c5
Refactor pages into separate files
2022-12-21 13:11:32 -07:00
Jeremy Soller
e4af157406
Add bluetooth page mockup
2022-12-21 12:47:44 -07:00
Jeremy Soller
e21f1ec7b8
Add abouts page, improve settings list padding
2022-12-21 12:18:54 -07:00
Jeremy Soller
343a855816
Add more sub pages
2022-12-21 11:39:49 -07:00
Jeremy Soller
1e1a0159b8
Add sub-page trait, and more sub-pages
2022-12-21 11:08:21 -07:00
Jeremy Soller
e198b5da49
Add link to Desktop on all unimplemented desktop pages
2022-12-21 10:15:25 -07:00
Jeremy Soller
478b399365
Fix nav button padding
2022-12-21 10:06:50 -07:00
Jeremy Soller
fbda6a4f07
Titles on unimplemented pages, fix nav bar padding
2022-12-21 10:04:56 -07:00
Jeremy Soller
ba866da4a6
Simplify page definition
2022-12-21 09:27:10 -07:00
Jeremy Soller
193d032519
Clean up desktop page definition and add notifications
2022-12-21 09:12:18 -07:00
Jeremy Soller
0681c1edea
Improve responsive layout
2022-12-21 08:58:17 -07:00
Jeremy Soller
dd13b8300c
Adjust padding for nav bar and content
2022-12-21 08:22:52 -07:00
13r0ck
c46207a993
CosmicAppletHelper: Add window size helper
2022-12-20 20:04:10 -07:00
Jeremy Soller
906711b916
Text size/margin adjustments
2022-12-20 17:28:22 -07:00
Jeremy Soller
98815f5131
Add desktop options page
2022-12-20 16:02:44 -07:00
Jeremy Soller
aa7b66c925
WIP navigation demo for subpages on Desktop page
2022-12-20 15:06:01 -07:00
Jeremy Soller
0ad2ffe2d4
Add more pages to example
2022-12-20 14:38:32 -07:00
Jeremy Soller
fe825a3f40
Update iced
2022-12-20 13:46:25 -07:00
Ashley Wulber
268cf4eb9f
update iced
2022-12-20 13:40:24 -07:00
Jeremy Soller
5359ceb0f8
Update to new iced, use swbuf instead of softbuffer
2022-12-20 09:08:16 -07:00
Ashley Wulber
1a0f6aeb9c
fix: windows should not be removed from the window list until after they have been handled in the event loop
2022-12-20 00:14:09 +01:00
Jeremy Soller
77c13cb732
Align navbar with new designs
2022-12-19 23:56:02 +01:00
Jeremy Soller
a716e0837d
Fixes for nav_button macro
2022-12-19 23:56:02 +01:00
Jeremy Soller
e8291584c4
Add Svg theme for an icon on top of a primary button
2022-12-19 23:56:02 +01:00
Jeremy Soller
9607d213a1
Use iced_softbuffer in cosmic example
2022-12-19 23:56:02 +01:00
Jeremy Soller
07f07109b7
Update iced to include softbuffer
2022-12-19 23:56:02 +01:00
Ashley Wulber
96c8527573
feat: various improvements to window commands and event handling
2022-12-19 23:09:58 +01:00
Michael Aaron Murphy
6e30394270
chore: Rebase Iced
2022-12-19 17:03:13 +01:00
Ashley Wulber
50b8131e21
feat: aspect ratio limiting container
2022-12-18 14:07:08 +01:00
Ashley Wulber
42ac442183
feat: custom button theme
2022-12-18 14:06:05 +01:00