Commit graph

9 commits

Author SHA1 Message Date
Vukašin Vojinović
9c2a86a8f4 chore: add rustfmt config 2026-05-04 11:55:17 -04:00
Michael Aaron Murphy
b9c24d2421 feat(a11y): screen reader name and description support for button widgets 2026-01-09 23:35:28 +01:00
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites

While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Michael Aaron Murphy
f4936344f0
chore(doc): add documentation for a handful of widgets 2024-05-20 20:01:47 +02:00
Michael Aaron Murphy
2c445d820f feat(image_button): add optional removable button overlay 2023-11-15 16:50:15 +01:00
Michael Aaron Murphy
14614e4e03 fix(button): image button rendering fixes 2023-11-13 12:14:51 +01:00
Michael Aaron Murphy
34386561b3 feat(button): add ImageButton widget variant 2023-11-03 16:41:31 +01:00