wiiznokes
ebf5c2738b
chore: remove Clone bound on Flags
2024-06-16 20:13:56 +02:00
Ashley Wulber
552f3aefd6
feat: wrap core interface elements in id container
2024-05-30 16:57:51 -04:00
Michael Aaron Murphy
6720b8277c
feat: CosmicTk::header_size density config
2024-05-29 06:25:15 -06:00
Ashley Wulber
56ff501d36
fix: wayland exit_on_close
2024-05-28 19:22:19 -06:00
Jeremy Soller
8ecf1a8edd
fix(app) set iced.window.exit_on_close_request
2024-05-28 13:58:29 -06:00
Victoria Brekenfeld
b8266b6100
improv(app): drop setting WGPU_POWER_PREF
2024-05-21 16:19:57 +02:00
Michael Aaron Murphy
aa3f5d3401
improv: impl From<M> for Message<M>
2024-05-21 01:29:50 +02:00
Michael Aaron Murphy
709ab268a0
refactor(app): iced::Command -> Command
2024-05-20 00:45:19 +02:00
Ashley Wulber
78a137214d
chore: update zbus
2024-05-17 00:00:24 +02:00
Ashley Wulber
1b63c9e38b
chore: update libcosmic
2024-05-15 16:19:32 -04:00
Jeremy Soller
a2e2711061
fix(settings): set iced window exit_on_close_request
2024-05-14 08:04:09 -06:00
Jeremy Soller
ac95b571ec
feat: allow on_app_exit to override closing the application
2024-05-13 17:39:21 +02:00
Ashley Wulber
05a9e7639f
feat: update the headerbar to match figma
...
i don't think the alpha is actually working for the icon, but the color should match
2024-05-13 11:22:59 -04:00
Michael Aaron Murphy
3cfc5c16a3
fix: avoid setting WGPU_POWER_PREF=low if system is desktop
2024-05-07 05:00:27 +02:00
Jeremy Soller
42cfdbf585
fix(app): restore on_context_drawer functionality that was removed in 59a913c
2024-04-26 10:22:51 -06:00
Michael Aaron Murphy
9ffb87d21f
feat(context_menu): add a context menu widget as menu tree alternative to the popover widget
2024-04-22 17:25:05 +02:00
Michael Aaron Murphy
59a913c15d
feat!(segmented_button): Add context menu support and integrations
2024-04-18 17:18:53 +02: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
Ashley Wulber
b240e3fef2
refactor: no Sync bound for Message
2024-04-02 00:12:21 +02:00
Ashley Wulber
b9cc88c492
fix: add Sync bound to Message
2024-04-01 13:40:03 -06:00
Michael Aaron Murphy
59e5f2ff38
fix(app): set window title properly with winit
2024-03-19 19:27:00 +01:00
Michael Aaron Murphy
4154428a63
feat(config): add icon theme property to CosmicTk config
2024-03-18 09:51:37 -06:00
Ashley Wulber
e47684ffdb
refactor: icon styling and headerbar icon styling
...
Headerbar icons are transparent when their window is not focused, but otherwise share the same style as icons with selection. This updates the icon styles to match figma when selected.
2024-03-11 16:26:48 -04:00
Michael Aaron Murphy
4f07d05ee8
feat(config): add CosmicTk config for configuring window controls
2024-03-05 08:36:43 -07:00
Ashley Wulber
06b46f455b
wip: support desktop portal color-scheme, and accent variables
2024-03-01 21:30:24 -05:00
Jeremy Soller
4c738572f5
fix(app): adjust default nav bar width
2024-03-01 09:09:58 -07:00
Jeremy Soller
a593f866ef
Set resize border for winit apps
2024-02-27 10:52:33 -07:00
Jeremy Soller
16aaf10b56
Add support for themed application dialog
2024-02-27 09:38:33 -07:00
Ashley Wulber
08b2e1ca38
cleanup
2024-02-14 11:05:24 -05:00
Jeremy Soller
3c5dcecf2b
Changes for multiple Application support
...
- Add Application::main_window_id to allow ids other than MAIN
- Make Cosmic and Cosmic::app public to allow custom use
2024-02-13 10:38:35 -07:00
Ian Douglas Scott
cc8033d74b
feat(header_bar): Show window menu on right click
...
With this, apps like cosmic-term require no changes to show the
compositor window menu when the header is right clicked.
2024-02-13 17:10:04 +01:00
Jeremy Soller
02cee1d805
fix: maximize instead of fullscreen
...
This fixes interactions with the window manager including dodging
exclusive zones, correctly sharpening corners when the window manager
sets the maximized mode, and correctly toggling the maximized state when
either F11 or the maximize button are clicked.
2024-02-12 17:53:59 +01:00
Ashley Wulber
e778782328
fix: layout fixes for nav bar
2024-02-06 11:28:27 -05:00
Ashley Wulber
c571a289b4
fix: gap between corner of window content and headerbar
2024-02-06 11:28:27 -05:00
Jeremy Soller
ca1469a6b2
Implement size_limits for winit
2024-01-31 10:51:31 -07:00
Jeremy Soller
693f776f7d
Allow debugging of all layout inside main view
2024-01-31 10:07:04 -07:00
Ashley Wulber
8157ed5c63
feat: apply overlay to headerbar when it loses focus
2024-01-11 15:54:32 -05:00
Michael Aaron Murphy
6850e53855
fix: when using wgpu, default to low power GPU
...
Ensures that the integrated GPU is used by default on hybrid graphics
systems; and resolves NVIDIA-related driver issues.
2024-01-10 16:28:55 +01:00
Jeremy Soller
68c760e652
Allow apps to return a command when context drawer is toggled
2024-01-09 12:07:38 -07:00
Ashley Wulber
06c33dcf06
refactor: optional config subscriptions using dbus
2024-01-02 15:12:14 +01:00
Ashley Wulber
a731ebc1b2
fix: set platform specific app id
2023-12-27 19:12:53 -05:00
Jeremy Soller
b8f1a366dd
Add content_container flag to enable/disable wrapping content
2023-12-21 12:10:00 -07:00
Michael Aaron Murphy
56965ac2e5
fix(app): closing of window in wayland
2023-12-12 15:08:24 +01:00
Ashley Wulber
493bf6c47a
fix: avoid accidentally triggering vendoring of iced_winit when not used ( #238 )
2023-12-11 12:59:13 -05:00
Ashley Wulber
c66e4aafd0
update to support winit multi-window
2023-12-08 10:06:13 -05:00
wiiznokes
cda781cb96
Update mod.rs
2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596
chore: update to 0.12
2023-12-04 17:53:24 -05:00
Jeremy Soller
bb3bfdd835
Allow application to customize nav bar
2023-11-28 11:49:43 -07:00
Ashley Wulber
57f4abb8a0
refactor: make the single-instance feature additive
2023-11-21 21:25:10 +01: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