Ashley Wulber
63f249a395
refactor: remove SurfaceMessageHandler
2025-02-28 12:34:47 -05:00
Ashley Wulber
6f2a306c14
refactor: better usage of menu::Item
2025-02-28 12:33:16 -05:00
Ashley Wulber
69ae35010f
fix: button styling
2025-02-28 12:33:16 -05:00
Ashley Wulber
5ef18de61f
refactor: menu bar buttons
2025-02-28 12:33:15 -05:00
Ashley Wulber
ad65f45f5b
refactor: SurfaceMessage
2025-02-28 12:33:15 -05:00
Ashley Wulber
9ee6233884
refactor: remove menu tree changes
2025-02-28 12:33:14 -05:00
Ashley Wulber
04b51bc1ba
wip: menus
2025-02-28 12:33:14 -05:00
Ashley Wulber
91459591ec
wip: subsurfaces
2025-02-28 12:31:15 -05:00
Michael Aaron Murphy
76348bb985
chore: handle more sources of excess cosmic-config logs
2025-02-19 16:57:28 +01:00
wiiznokes
a355a049d9
feat!(app): ContextDrawer return type for context_drawer method
2024-11-16 03:38:29 +01:00
Ashley Wulber
07763aca8e
refactor: allow resetting main window id to None
2024-10-21 17:33:10 -06:00
Ashley Wulber
cf3ba4ca07
refactor: allow resetting the main window id
2024-10-21 17:37:51 -04:00
Ashley Wulber
0491c4baaa
libcosmic updates
2024-10-18 14:04:39 -04:00
Vukašin Vojinović
e645dee2f0
fix(header_bar): increase compact height
...
Increases Compact header height to 40 (from 36), to better accommodate larger widgets (e.g. the search bar). This makes it distinct from the SSD header, which is now addressed by the `_` match case.
Also makes the horizontal header padding fixed at 8, so that the app window padding can also be 8.
2024-10-03 15:39:00 +02:00
Jeremy Soller
10f02d9d6b
Responsive context drawer width
2024-09-23 10:02:34 -06:00
Jeremy Soller
e56a94b783
feat(app): allow context drawer to be laid out next to content
2024-09-20 11:31:29 -06:00
Jeremy Soller
00f0699042
feat(app): add show_close for toggling close button in header bar
2024-08-26 18:16:18 +02:00
Michael Aaron Murphy
1ef1400d8b
fix: condense app to content first
2024-05-30 21:41:15 +02:00
Michael Aaron Murphy
6720b8277c
feat: CosmicTk::header_size density config
2024-05-29 06:25:15 -06:00
Michael Aaron Murphy
69bf95765d
fix(core): set default window focus to window::Id::MAIN
2024-05-17 20:58:38 +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
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
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
c390b2614d
wip: support desktop portal color-scheme, and accent variables
2024-03-01 21:30:24 -05:00
Ashley Wulber
3e68e39366
refactor: allow opting out of automatic keyboard navigation
2024-03-01 15:22:28 -05: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
efe4ce2f5b
refactor: config improvements
2024-01-18 20:19:32 -07:00
Ashley Wulber
eff22fdb34
chore(cosmic-config): update to include state and remove ping/pong
2024-01-02 15:12:14 +01:00
Ashley Wulber
06c33dcf06
refactor: optional config subscriptions using dbus
2024-01-02 15:12:14 +01:00
Jeremy Soller
b8f1a366dd
Add content_container flag to enable/disable wrapping content
2023-12-21 12:10:00 -07:00
Ashley Wulber
c66e4aafd0
update to support winit multi-window
2023-12-08 10:06:13 -05:00
Ashley Wulber
57f4abb8a0
refactor: make the single-instance feature additive
2023-11-21 21:25:10 +01:00
Ashley Wulber
c9554a8740
wip: dbus activation & single instance support
...
refactor: activation action with new trait for subcommand and args
refactor: libcosmic can handle sending the activation request
cleanup
2023-11-17 19:29:11 -05:00
Ashley Wulber
6b517ddb0e
fix: increment a counter when there is a system theme mode change, or the theme is set to system
...
this forces a new subscription for the system theme, which seemed to fall behind previously unless the mode was changed back and forth
2023-10-26 14:27:32 -04:00
Ashley Wulber
7cc791a3f5
feat: add support for dark / light mode switching ( #178 )
...
* feat: add support for dark / light mode switching and simultaneouscustom light / dark mode themes
* refactor(color-picker): optional initial color and fallback color
* refactor: used FixedPortion for layout of the settings item
This makes sure that the control always has at least the specified portion of the available space
* refactor: make all members of the ThemeBuilder public
* refactor: add and update palette colors
* fix(theme): typo and derive PartialEq for ThemeBuilder
* fix: update color picker usage
* feat: add more variables to the theme
* fix: radius on headerbar
* fix: Theme CosmicConfigEntry impl
* chore: specify rev of taffy
* fix: theme CosmicConfigEntry missing variables
* fix: apply theme type when theme mode changes
* wip: add plus icon to empty color picker button
* chore: fix rev and imports
* refactor(color-picker): allow custom size for the icon
* refactor(color_picker): make color_button public
* update iced
2023-10-16 16:19:04 -04:00
Michael Aaron Murphy
a04c74f240
feat(app): set_context_title and set_header_title methods for ApplicationExt and Core
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
d620531e7e
feat(app): integrate ContextDrawer with context_drawer method
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
8f7b400143
refactor(applet): move applet module to crate root
2023-09-18 07:45:11 +02:00
Michael Aaron Murphy
023d8ad3a0
fix(app): restore distinction between app theme changes, and system theme changes
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
9552916a59
feat(app): set header title seperately from window title
...
This change will enable applications to set different titles for each
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
02413e5fa6
chore(app): remove redundant system theme property
...
The system theme is now set globally, so this is no longer used.
2023-09-14 01:38:56 +02:00
Ashley Wulber
c474b3e955
wip: add applet module
2023-08-18 16:47:10 -04:00
Ashley Wulber
6c57e04e36
refactor: introduce thread local THEME variable and distinguish between custom and system theme settings
2023-08-14 12:31:16 -04:00
Michael Murphy
a223b60a0c
feat!: implement Application API
2023-08-02 11:54:07 +02:00