Commit graph

481 commits

Author SHA1 Message Date
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
e97c258422 feat: implement SegmentedButton widget 2022-12-28 10:19:03 -05: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
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
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
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
5359ceb0f8
Update to new iced, use swbuf instead of softbuffer 2022-12-20 09:08:16 -07:00
Jeremy Soller
77c13cb732 Align navbar with new designs 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
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
8b1014a754 feat: rectangle tracker container 2022-12-15 00:25:47 +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
Eduardo Flores
c96c1c3e20
Correct imports for SpinButtonModel and SpinMessage (#27)
I corrected a small issue with some imports for SpinButton.
2022-12-07 05:37:20 +01:00
Michael Aaron Murphy
cb77ca1255
feat: Add on_change input argument to SpinButton 2022-12-07 03:44:57 +01:00
Michael Aaron Murphy
ef71f7f027
feat(widget): Add SpinButtonModel
Enables convenient handling of spin messages, and specifying steppings, minimum, and maximum values
2022-12-07 03:03:41 +01:00
Eduardo Flores
200784b6c1
feat(widget): Add spin_button widget
Co-authored-by: Michael Aaron Murphy <michael@mmurphy.dev>
2022-12-07 00:17:34 +01:00
Michael Aaron Murphy
f283ab897f
example(cosmic): Re-add checkbox example 2022-12-06 23:18:53 +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
a8c753d429
feat: transparent button style 2022-11-17 20:49:20 -05:00
Ashley Wulber
3850def414
image icon 2022-11-17 18:07:57 -05:00
Ashley Wulber
33779b8652
wip: popup helpers 2022-11-15 23:11:48 +01:00
Ashley Wulber
7a9ecb1082
fix: deps for regular example 2022-11-15 11:15:13 +01:00
Ashley Wulber
ee542bd046
refactor: simplify application trait 2022-11-14 23:51:38 +01:00
Ashley Wulber
9174e42099
fix: correctly align the container for popups 2022-11-14 16:58:04 +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