Commit graph

307 commits

Author SHA1 Message Date
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
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
Ian Douglas Scott
947532413a Include Cosmic theme in libcosmic, instead of in Iced fork
I think it's best to only include things in the Iced fork that can't be
done without forking Iced, and/or are expected to be merged upstream.
The theme doesn't seem to be either, so it fits more appropriately in
libcosmic.

That should make it easier to keep up with upstream, and it may help to
have all the Cosmic parts in one place.

Based on https://github.com/pop-os/iced commit ad9026e.
2022-10-29 11:14:49 -06:00
Jeremy Soller
6e30c6b129
Move text example to cosmic-text 2022-10-18 13:32:20 -06:00
Jeremy Soller
91f79dff95 Update Windows fallback lists 2022-10-14 10:31:19 -07:00
Jeremy Soller
4b98970436 Update default macOS fonts 2022-10-14 10:39:08 -06:00
Jeremy Soller
9519696a5b
Add forbidden font families 2022-10-14 09:38:27 -06:00
Jeremy Soller
ce835d7014
Add Noto fallback fonts that are also on macOS 2022-10-14 09:30:40 -06:00
Jeremy Soller
619a52ed4e Add default fallbacks for macOS 2022-10-14 09:25:30 -06:00
Jeremy Soller
9e7fa311e5 Fix fallback platforms 2022-10-13 19:18:51 -06:00
Jeremy Soller
d01eb3cbbc
Remove Meiryo fonts, they are not working 2022-10-13 14:22:23 -06:00
Jeremy Soller
340a438a32
Fix missing commas 2022-10-13 14:20:36 -06:00
Jeremy Soller
3552abdcbb
Add some CJK fonts for windows 2022-10-13 14:20:05 -06:00
Jeremy Soller
dc50b6935b
Add more windows script fallbacks 2022-10-13 14:10:07 -06:00
Jeremy Soller
f9985f8cae
Add some Windows script definitions 2022-10-13 13:58:15 -06:00
Jeremy Soller
14abe468b8
Add more script definitions 2022-10-13 13:57:57 -06:00
Jeremy Soller
51e3ef6627
Add some windows common fallbacks 2022-10-13 13:38:06 -06:00
Jeremy Soller
fec418b3b1
Add more script specific fallbacks 2022-10-13 13:26:06 -06:00
Jeremy Soller
f91cb3ce0f
Script specific font matching 2022-10-13 12:12:11 -06:00
Jeremy Soller
7e08a63796
Implement fallback priorities and han unification on Unix 2022-10-13 10:39:12 -06:00
Eduardo Flores
07e53ddadd Reimplemented NavigationBar
- Navigation Bar was reimplemented to support sections and pages.
- Created new widget called separator, a horizontal rule with the COSMIC
  theme.
2022-10-13 11:42:13 +02:00
Eduardo Flores
420d3c3dfc Changed the file structure 2022-10-13 11:42:13 +02:00
Eduardo Flores
7743d0d084 Implemented Expander
- Updated example to show behavior
- Created styles for Expander and ExpanderRow
- Simpler implementation of `ExpanderRow`
- Deleted `ExpanderData` and replaced it with `ExpanderRow`
- Every row can now have child rows.
- Ran cargo fmt.
- Deleted settings example
- Added expander to cosmic example
- Expander icons now render

ListBox partially implemented
2022-10-13 11:42:13 +02:00