Ashley Wulber
ed844b90d0
refactor: small widget container colors
2025-03-20 13:31:10 -07:00
Ashley Wulber
17bf7f9b4c
feat: improve accent_text for low contrast accent colors.
2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
5459f0b12a
fix(cosmic_config): is_err method conditions reversed
2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
c91742c982
fix(cosmic_config): treat errors getting key_path in get_local as NotFound
2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
c84d933f00
feat(cosmic_config): add ConfigGet::get_{local,system_default}
...
Required by https://github.com/pop-os/cosmic-settings/pull/975 to a modify a config
containing a HashMap which is used to partially-override the system default config
in the compositor.
2025-03-20 13:31:10 -07:00
Tony4dev
0acb3becf2
feat(segmented_button): add len method
2025-03-20 13:31:10 -07:00
Ian Douglas Scott
2afd00a4b2
Update cctk and iced
2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
2499ef9959
perf: set static mmap threshold on gnu target env by default
2025-03-20 13:31:10 -07:00
Ian Douglas Scott
50e79ee02d
Update iced and cctk
2025-03-20 13:31:10 -07:00
Victoria Brekenfeld
fb562884a7
chore: Update ron to 0.9
2025-03-20 13:31:10 -07:00
ellieplayswow
8203a11da4
feat(icon): add rotation property
2025-03-20 13:31:10 -07:00
Tony4dev
732e6ec3ff
improv(calendar): make visible public
2025-03-20 13:31:10 -07:00
Eduardo Flores
3a9aff13d6
chore(calendar): add derive attributes
2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
a6ffeb2abe
fix(text_input): compiler errors after Cow change
2025-03-20 13:31:10 -07:00
Tony4dev
e62e184431
improv!(calendar): do not select date when navigating prev/next months
2025-03-20 13:31:10 -07:00
Soso
4604e57b13
improv(text_input): use Cow<str> for label, helper, and error text
2025-03-20 13:31:10 -07:00
netraptor
c2f3e51b43
fix: disable async-std default dependency in rfd dependency when using tokio
2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
02b392c877
chore: enable image/gif when using animated-image feature
2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
c37946f8f4
chore: update image-rs and set defaults to only png + jpeg
2025-03-20 13:31:10 -07:00
Dryadxon
4bc6caef43
fix: impl combo_box::Catalog
2025-03-20 13:31:10 -07:00
Ian Douglas Scott
2c319554da
dnd_source: Add suppport for surface offset
...
The `drag_icon` callback is passed the offset of the cursor within the
widget at the start of the drag, and can return an offset the drag
surface should be placed relative to the cursor.
2025-03-20 13:31:10 -07:00
Adam Cosner
160070c1b5
Added more mouse interaction options
2025-01-11 15:46:05 -08:00
Adam Cosner
d4bce76213
Fixed warnings
2025-01-10 22:50:05 -08:00
Adam Cosner
1e28f39771
Ran cargo fmt
2025-01-10 22:46:20 -08:00
Adam Cosner
ea4e6c6cde
Added item contexts and changed the context menu functions to take builder functions
2025-01-10 22:44:42 -08:00
Adam Cosner
0b0e143fe4
Merge branch 'master' of https://github.com/Adam-Cosner/libcosmic
2025-01-10 22:37:40 -08:00
Adam Cosner
9f2e554847
Merge branch 'pop-os:master' into master
2025-01-10 22:36:24 -08:00
Adam Cosner
68fdd8fbe4
Added category context menus
2025-01-06 12:15:44 -08:00
Jason Rodney Hansen
aaa2ba3ad4
Fix entering text with compose key
...
Previously entering text in text inputs with the compose key would insert one
or more NUL bytes before the inserted character.
2025-01-05 17:51:44 -07:00
Adam Cosner
4111fcbd05
Added doc inline to widget
2025-01-05 15:56:35 -08:00
Adam Cosner
91c35e88ad
Made compact and standard table view into separate widgets
2025-01-04 12:42:34 -08:00
Adam Cosner
2305e25fa8
Use derive_setters for TableView
2025-01-04 12:16:08 -08:00
Adam Cosner
2401c2a4ec
Added table function for generic table view creation
2025-01-04 11:57:33 -08:00
Michael Aaron Murphy
e162c59160
perf: reduce memory usage by dropping ustr dependency
...
The string cache used by ustr pre-allocates 12 MB, even if we're
only using it for a few font family names. We can therefore
manage our own set of leaked strings to reduce memory usage by 12 MB.
2025-01-03 21:58:04 +01:00
Adam Cosner
dd9d1c0c2f
Revert "Added custom widget version of table"
...
This reverts commit 825792e367 .
2025-01-02 22:29:00 -08:00
Michael Aaron Murphy
fdefc5860b
perf: avoid duplicate Ustr for default font names
2025-01-03 01:18:47 +01:00
Adam Cosner
825792e367
Added custom widget version of table
...
Currently does not have mouse interaction, in the demo the normal one is right and custom is left
2025-01-01 18:04:12 -08:00
Adam Cosner
5c96696f9c
Merge branch 'pop-os:master' into master
2025-01-01 16:08:19 -05:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside
2025-01-01 00:37:04 +01:00
Ashley Wulber
3f2ba11d56
refactor: send initial config after watching for changes
2024-12-31 11:23:28 -05:00
Adam Cosner
ad4ed38538
Fixed table view issues with selection on compact view and some spacing problems
2024-12-30 14:37:27 -05:00
Adam Cosner
e608192030
Merge branch 'master' of https://github.com/Adam-Cosner/libcosmic
2024-12-30 14:17:45 -05:00
Adam Cosner
fc531b58c9
Added table view example
2024-12-30 14:17:35 -05:00
Adam Cosner
19dfbcbe5c
Merge branch 'pop-os:master' into master
2024-12-29 22:33:50 -05:00
Adam Cosner
8132f8f3e8
Compact view implemented
2024-12-29 22:32:11 -05:00
Adam Cosner
8021271524
Merge branch 'master' of https://github.com/Adam-Cosner/libcosmic
2024-12-26 19:23:40 -05:00
Adam Cosner
949a31855d
Implemented rudimentary table widget, currently not interactible
2024-12-26 19:16:22 -05:00
Eduardo Flores
b2ce4ccea2
fix: add cfg for unix only packages
2024-12-26 15:31:54 +01:00
Vukašin Vojinović
58fc034459
fix(dropdown): styling
2024-12-25 04:42:24 +01:00
Vukašin Vojinović
2d06ec4226
fix(style): use radius_s for nav bar toggle
2024-12-25 04:42:24 +01:00