Commit graph

5498 commits

Author SHA1 Message Date
Héctor
2b4f428cf8
Merge pull request #2585 from dtzxporter/scrollbar-show-always-disabled
Scrollbar disabled style status to allow custom styles for always visible, but not overflowing scrollbars.
2025-01-06 20:37:21 +01:00
Héctor Ramón Jiménez
e01fb00d3b
Fix missing warning field in color_palette example 2025-01-06 20:36:44 +01:00
David Aguiló Domínguez
feef71a382
Moved warning to be between success and danger 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
3bc836827a
Added color for warning for TERRA, and added warning field to Extended with the needed struct and generate 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
39f2cdd946
Added color for warning for OXOCARBON, used a purple since it is the one used for diagnostic warnings in the nvim theme 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
c3aefdc27b
Added color for warning for MOONFLY and NIGHTFLY 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
91439dc172
Added color for warning for TOKYO_NIGHT and KANAGAWA 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
c768aba64c
Added color for warning for GRUVBOX and CATPPUCCIN 2025-01-06 20:31:19 +01:00
David Aguiló Domínguez
9e2f7b2d50
Added warning field to palette and assigned colors to it in the LIGHT, DARK, DRACULA, NORD and SOLARIZED(both) themes 2025-01-06 20:31:19 +01:00
Héctor
e543329c79
Merge pull request #2688 from iced-rs/fix/window-position-inconsistency
Use "outer" positions in all window-related operations
2025-01-06 20:26:07 +01:00
Héctor Ramón Jiménez
eee3588181
Rename *_disabled to is_*_disabled in scrollable 2025-01-06 20:25:22 +01:00
Héctor Ramón Jiménez
cff3eb217f
Simplify scrollable disabled styling calculation 2025-01-06 20:23:26 +01:00
dtzxporter
8d9fe61d76
Migrate scrollbar disabled style status to iced 0.13.
Feel free to change the 'name' of it. I originally used 'disabled' to signal that it's not usable, but still visible. 'Overflowing' may be a better term.
2025-01-06 20:20:32 +01:00
Héctor Ramón Jiménez
bfab1a32d1
Fix documentation of window::Event::Opened 2025-01-06 20:13:51 +01:00
Héctor Ramón Jiménez
a0acaba866
Use "outer" positions in all window-related operations 2025-01-06 20:13:51 +01:00
edwloef
c90d153976
always increment quad, mesh, text and image layer counts in wgpu layer rendering 2024-12-19 15:23:06 +01:00
Héctor
f2c9b6b2ff
Merge pull request #2698 from iced-rs/feature/test-crate
Headless Mode Testing
2024-12-17 17:28:46 +01:00
Héctor Ramón Jiménez
e5545aaa57
Avoid dropping results in counter test 2024-12-17 04:35:28 +01:00
Héctor Ramón Jiménez
ecd5227ef7
Fix redundant expression in iced_test documentation 2024-12-17 04:32:49 +01:00
Héctor Ramón Jiménez
5220a064c5
Write documentation for iced_test 2024-12-17 04:13:19 +01:00
Héctor Ramón Jiménez
8f6f5c13b0
Track Cargo.lock for reproducible builds and tests 2024-12-17 03:09:52 +01:00
Héctor Ramón Jiménez
41a822c6fb
Use proper hash for creates_a_new_task snapshot 2024-12-17 03:03:07 +01:00
Héctor Ramón Jiménez
326c5852aa
Fix broken link in Settings documentation 2024-12-17 02:20:23 +01:00
Héctor Ramón Jiménez
2f98a7e203
Append env::consts::OS to snapshot filenames 2024-12-17 02:17:07 +01:00
Héctor Ramón Jiménez
0ad40d0338
Reduce size of Simulator in todos test 2024-12-17 01:53:39 +01:00
Héctor Ramón Jiménez
b22a847668
Bump MSRV to 1.81 2024-12-17 01:41:09 +01:00
Héctor Ramón Jiménez
869b44db4e
Implement Simulator::simulate and polish naming 2024-12-17 01:37:00 +01:00
Héctor Ramón Jiménez
bfa722c662
Skip loading fonts that were previously loaded 2024-12-14 04:09:51 +01:00
Héctor Ramón Jiménez
2cf4abf25b
Support custom renderers in iced_test through renderer::Headless trait 2024-12-14 03:49:24 +01:00
Héctor Ramón Jiménez
6572909ab5
Embed and use Fira Sans as default font when testing 2024-12-12 03:15:32 +01:00
Héctor
a687a83765
Merge pull request #2691 from mtkennerly/bugfix/pane-grid-canceled-within-deadband
Emit pane_grid::DragEvent::Canceled within deadband
2024-12-10 17:59:08 +01:00
Héctor Ramón Jiménez
7683bd201f
Stop tracking todos snapshot hash file
Font selection is platform-dependent.
2024-12-10 05:10:04 +01:00
Héctor
ce13c22b5a
Merge pull request #2692 from Azorlogh/make-engine-send
Make `iced_wgpu::Renderer` `Send` by using `Arc` in text/triangle caches
2024-12-10 05:07:08 +01:00
Héctor Ramón Jiménez
9bc29e5347
Add explicit 'static in todos for Rust 1.80 2024-12-10 05:01:11 +01:00
Héctor Ramón Jiménez
1713ac49f2
Decouple iced_test from iced crate 2024-12-10 04:56:37 +01:00
Héctor Ramón Jiménez
1aeb317f2d
Add image and hash snapshot-based testing to iced_test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
8e3636d769
Return Result in todos test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
cb30f9f604
Remove dbg! leftover in core::widget::text 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
d09d5d45ae
Draft iced_test crate and test todos example 2024-12-10 04:51:08 +01:00
Alix Bott
917feb9247 make engine send by using Arc in text/triangle caches 2024-12-08 03:27:37 +01:00
mtkennerly
aea95b53fb
Emit pane_grid::DragEvent::Canceled within deadband 2024-12-07 10:32:54 -05:00
Héctor
d6182299b9
Merge pull request #2675 from chrismanning/tooltip-hover-render
Request redraw in tooltip widget when cursor is hovering
2024-12-06 06:25:29 +01:00
Héctor Ramón Jiménez
07850718fc
Request redraw in tooltip when State changes 2024-12-06 06:16:16 +01:00
Héctor
9c93341089
Merge pull request #2681 from xosxos/patch-1
fix: add an initial state to the `system_information` example
2024-12-03 01:35:41 +01:00
Héctor Ramón Jiménez
1e5c1ad2cb
Avoid using Message to drive logic in system_information example 2024-12-03 01:28:03 +01:00
Osma S. Rautila
334f5baa10
fix: add run_with(Example::new)
The example was not running the `update` method and was stuck on the loading screen (at least on macos). This fixes is on my system.
2024-12-03 01:28:03 +01:00
Héctor
3b2a422d5d
Merge pull request #2683 from T-256/master
Call `OnPress::get` only when button is pressed
2024-12-02 20:13:02 +01:00
Héctor Ramón Jiménez
713aa74f4c
Fix widget::button format 2024-12-02 19:58:06 +01:00
T-256
2cab4e6ddb
Call OnPress::get only when button is pressed 2024-12-02 19:58:01 +01:00
Héctor Ramón Jiménez
8295b231df
Run cargo fmt 2024-12-02 19:57:39 +01:00