Commit graph

1014 commits

Author SHA1 Message Date
Ryan Brue
d5c8b762c1 fix: remove rust-analyzer.linkedProjects 2024-04-13 17:11:42 -06:00
Jeremy Soller
c5bd7cf28a Update iced 2024-04-13 08:45:49 -06:00
Ashley Wulber
e2191543b8 chore: update iced
should fix scaling issues for complicated borders
2024-04-11 15:18:44 -06:00
Michael Aaron Murphy
2bfdc09a43 fix(popover): add modal property for dialogs
Fixes quirks with the context drawer and dialogs
2024-04-11 23:03:59 +02:00
Michael Aaron Murphy
c6ab6cfe23 fix(editable_input): disable edit mode when widget loses focus 2024-04-11 23:03:34 +02:00
Michael Aaron Murphy
0d829886fe fix(editable_input): disable read-only mode when text is clicked 2024-04-11 23:03:34 +02:00
Michael Aaron Murphy
0bf44a6f1f fix(popover): close popover when clicking outside of popover 2024-04-11 19:18:38 +02:00
Jeremy Soller
62d527b6e5
Update iced 2024-04-10 09:42:24 -06:00
Ashley Wulber
dd952bbfdb feat: custom config path 2024-04-09 22:36:18 +02:00
Michael Aaron Murphy
7d1b557112 fix(text_input): clip text in text_input if they exceed initial bounds 2024-04-09 21:22:34 +02:00
Michael Aaron Murphy
78e331d5ed fix(segmented-button): misaligned icon when text is empty 2024-04-09 21:22:17 +02:00
Michael Aaron Murphy
33db28327a feat(example): add text-input example 2024-04-09 21:22:06 +02:00
Michael Aaron Murphy
0ac4172b74 feat(widget): add editable_input widget 2024-04-09 21:22:06 +02:00
Ashley Wulber
02acbd343c chore: update iced 2024-04-09 21:21:38 +02:00
Ashley Wulber
d625291266 feat: dnd for segmented buttons and nav 2024-04-09 21:21:38 +02:00
Ashley Wulber
f15aeb4247 feat: dnd utilities 2024-04-09 21:21:38 +02:00
Ashley Wulber
0caff62a18 update iced 2024-04-05 15:31:29 -06:00
Jeremy Soller
0dca2e0468
Update iced 2024-04-05 14:04:35 -06:00
Jeremy Soller
6b7fa3d476
Update iced 2024-04-05 09:43:59 -06:00
Ashley Wulber
fa31f42cd8 fix: dnd 2024-04-04 18:47:06 -06:00
Ian Douglas Scott
94ee2c7a63 Update iced submodule 2024-04-03 09:12:49 -07:00
Ian Douglas Scott
23dc7810c6 Update cctk
Updated to use same sctk version as iced.
2024-04-01 15:37:39 -07:00
Ashley Wulber
b240e3fef2 refactor: no Sync bound for Message 2024-04-02 00:12:21 +02:00
Ashley Wulber
745cba1c2c feat: add drag_destinations for container widgets 2024-04-01 22:14:42 +02:00
Ashley Wulber
b9cc88c492 fix: add Sync bound to Message 2024-04-01 13:40:03 -06:00
Ashley Wulber
924e8b52b7 chore: update iced with dnd support for winit 2024-04-01 13:40:03 -06:00
Ian Douglas Scott
61a14a953d
applet: Add icon_button_from_handle (#368)
`StatusNotifierItem` can use either named icons, or pixmap data. So to
support the latter, it needs a way to show a non-named icon with the
same button styling as any other planel applet icon.

The `StatusNotifierItem` protocol actually supports sending different
icons with different sizes, so ideally we'd want a `icon::Data` variant
that contains multiple sizes? But just using the largest and scaling
works for now.
2024-03-27 09:10:41 -07:00
Victoria Brekenfeld
cc439b2cea chore: Update calloop 2024-03-26 14:51:33 +01:00
Ian Douglas Scott
8afd6490da Update cosmic-client-toolkit 2024-03-25 09:44:01 -07:00
Eduardo Flores
2f6f8aa22b fix(style): fixed default style for list_column 2024-03-23 12:18:35 -06:00
Eduardo Flores
3b1f19ac70 improv(list_column): added setter for style. 2024-03-23 11:43:44 -06:00
Ashley Wulber
1575aa267c fix(theme): add # to light / dark colors when writing gtk4 css variables 2024-03-19 23:56:37 +01:00
Ashley Wulber
c6bb69eafd refactor(icon): use COSMIC variable for default icon theme name 2024-03-19 14:14:30 -06:00
Ashley Wulber
61427b25b0 fix: fallback to Cosmic icon theme 2024-03-19 14:14:30 -06:00
Michael Aaron Murphy
59e5f2ff38
fix(app): set window title properly with winit 2024-03-19 19:27:00 +01:00
Ashley Wulber
d02a4fefff fix: selected images should have a border 2024-03-19 11:32:36 -04:00
Ashley Wulber
01d7e46fea fix: diff children 2024-03-18 22:00:50 +01:00
Ashley Wulber
1b62b9686c refactor(theme): use symlink for both gtk4 and gtk3 css and add method for reset 2024-03-18 14:49:40 -06:00
Ashley Wulber
db63aefe6f feat: add apply_theme_global to CosmicTk 2024-03-18 14:49:40 -06:00
Ashley Wulber
e18e304e0f feat: add method for applying gtk color variables to their respective css files 2024-03-18 14:49:40 -06:00
Ashley Wulber
6696a170c5 cleanup: remove TODOS 2024-03-18 14:49:40 -06:00
Ashley Wulber
7ad48afcbd feat: export palette colors as named colors 2024-03-18 14:49:40 -06:00
Ashley Wulber
d6b87a0222 chore: update gtk4-output for the theme to set adwaita named colors
This is still a bit incomplete, and some apps use their own custom variables as well, for example the text editor.
2024-03-18 14:49:40 -06:00
Michael Aaron Murphy
4154428a63 feat(config): add icon theme property to CosmicTk config 2024-03-18 09:51:37 -06:00
Jeremy Soller
3694304ee5
feat(core): add nav_bar_set_toggled 2024-03-18 09:23:07 -06:00
Eduardo Flores
28cbf3c083 style: formatting 2024-03-18 15:06:37 +01:00
Eduardo Flores
9f10c5fd9e docs(menu): update example 2024-03-18 15:06:37 +01:00
Eduardo Flores
db71a32c38 improv(menu): add more types of menu items.
- Added `Checkbox` and `Folder` variants to `MenuItem`.
- Exported `menu_button` macro.
2024-03-18 15:06:37 +01:00
Eduardo Flores
171e697738 improv(menu): add documentation. 2024-03-16 19:00:12 -06:00
Eduardo Flores
0b47efe1de improv(menu): simplify menu construction.
- Added `MenuAction` trait to call the `message` method on button press.
- Added two new methods to construct a MenuTree.
- Added MenuItem enum to represent an action or a separator in a MenuTree.
- Added menu example.
- Moved Modifier enum and KeyBind struct to libcosmic.
- Moved menu_button macro to libcosmic.
2024-03-16 19:00:12 -06:00