Commit graph

6319 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
96be0b5470
Remove trait redundancy in text_editor 2025-11-21 00:59:52 +01:00
pml68
e20fee7956
feat: only rehighlight TextEditor when Theme changes 2025-11-21 00:52:36 +01:00
Héctor
07d5271299
Merge pull request #2813 from laycookie/PowerPrefferencePatch
Power prefference patch
2025-11-21 00:51:24 +01:00
edwloef
a266f62f77
Add some more variants to mouse::Interaction 2025-11-21 00:47:59 +01:00
Héctor
4406681221
Merge pull request #2803 from Zarthus/on-link-clicked
Expand docs for on_link_click in Rich Text
2025-11-21 00:42:50 +01:00
Dennis Lonoshchuk
b440396869
Use PowerPreference::HighPerformance by default in iced_wgpu 2025-11-21 00:40:05 +01:00
Jos Ahrens
329dc7d7ec
Improve documentation for Rich::on_link_click 2025-11-21 00:33:53 +01:00
Héctor
4ffb4a79f9
Merge pull request #2801 from rhysd/mac-specific-shortcuts
Implement macOS-specific key shortcuts with `Control` modifier for text input
2025-11-21 00:25:53 +01:00
Héctor Ramón Jiménez
416ec838f2
Implement macOS-specific key shortcuts for text_editor 2025-11-21 00:15:36 +01:00
Héctor Ramón Jiménez
524b4acc6d
Simplify convert_macos_shortcut a bit in text_input 2025-11-21 00:10:14 +01:00
rhysd
587cd7c94f
Implement macOS-specific key shortcuts for text input
This commit implements some key shortcuts listed in the following list:

https://support.apple.com/en-us/102650#:~:text=and%20iCloud%20Drive.-,Text%2Dediting%20shortcuts,-The%20behavior%20of
2025-11-21 00:08:28 +01:00
Héctor Ramón Jiménez
c12d59db4b
Merge pull request #2775 from ellieplayswow/feature/hidden-scrollbar
Add in new convenience function for a hidden Scrollbar

Closes #2775.
2025-11-21 00:02:01 +01:00
ellieplayswow
fd1d9654b0
Add in new convenience function for a hidden Scrollbar 2025-11-21 00:00:33 +01:00
Héctor
4813c23532
Merge pull request #2771 from vincenthz/color-methods
Make color helpers in `palette` module public
2025-11-20 23:58:10 +01:00
Héctor Ramón Jiménez
5510675f15
Move some accessibility helpers to Color 2025-11-20 23:46:37 +01:00
Héctor Ramón Jiménez
437a2826ea
Make color helpers in palette module public
Co-authored-by: Vincent Hanquez <vincent@coretype.io>
2025-11-20 23:37:45 +01:00
Héctor
281e58da8e
Merge pull request #2767 from airstrike/impl-division
Implement division operation for `Rectangle`, `Size` and `Vector`
2025-11-20 02:18:06 +01:00
Héctor Ramón Jiménez
e51d7c723c
Remove Mul<Vector> and Div implementations for Rectangle 2025-11-20 02:07:14 +01:00
Héctor
5db93d9354
Merge pull request #2754 from rhysd/get-monitor-size
Add `window::monitor_size` task
2025-11-20 02:04:24 +01:00
Andy Terra
6f9b7a9005
Implement division operation for Rectangle, Size and Vector 2025-11-20 02:01:37 +01:00
Héctor Ramón Jiménez
7052bf3781
Improve consistency of runtime::window documentation 2025-11-20 01:50:17 +01:00
rhysd
d7d8b67cdc
Add window::monitor_size task 2025-11-20 01:46:57 +01:00
Héctor
fd57e61324
Merge pull request #2744 from rhysd/issue-2743
Do not capture released event inside `image::Viewer` when mouse is not dragged
2025-11-20 01:46:17 +01:00
Héctor
28ca3a5863
Merge pull request #2738 from jsatka/fix-custom-shader-example
Fix render pass viewport in `custom_shader` example
2025-11-20 01:43:14 +01:00
rhysd
26e3b54c4f
Do not capture released event inside image::Viewer 2025-11-20 01:35:00 +01:00
Joonas Satka
56bb4ce721
Fix render pass viewport in custom_shader example 2025-11-20 01:30:25 +01:00
Héctor
5195a59e20
Merge pull request #2735 from Exidex/closable-and-minimizable
Add ability to hide close and minimize title bar buttons
2025-11-20 01:23:50 +01:00
Héctor
e9317e7556
Merge pull request #2728 from rhysd/blur
Add option to make the transparent window blurry
2025-11-20 01:20:25 +01:00
Héctor
7eb2352c30
Merge pull request #2714 from mytdragon/combobox-text-shaping
Add `text_shaping` method to `combo_box` widget
2025-11-20 01:18:03 +01:00
rhysd
8f346ac220
Add option to make the transparent window blurry 2025-11-20 01:10:46 +01:00
MYT
d5e02408bb
Add text_shaping method to combo_box widget 2025-11-20 01:08:29 +01:00
Héctor
87eea88463
Merge pull request #2718 from flakes/new-rfd-and-windowhandles
Replace `window::run_with_handle` with a more powerful `window::run`
2025-11-20 00:54:23 +01:00
Héctor Ramón Jiménez
08e017b9aa
Rename handle to window in iced_winit 2025-11-20 00:44:36 +01:00
Héctor Ramón Jiménez
c9830b4a9b
Use window::run in editor example 2025-11-20 00:42:56 +01:00
Héctor Ramón Jiménez
bbba0942f8
Provide new Window trait to window::run
Co-authored-by: flakes <cxxjoe@gmail.com>
2025-11-20 00:41:56 +01:00
Héctor
2bbc7385e0
Merge pull request #2707 from xosxos/patch-2
Add `text_color` to toggler `Style`
2025-11-19 23:50:20 +01:00
Osma S. Rautila
038063f781
Add text_color to toggler::Style 2025-11-19 23:39:21 +01:00
Héctor
bbf936237d
Merge pull request #2699 from GyulyVGC/master
Add `menu_height` method to `PickList` and `ComboBox` widgets.
2025-11-19 23:38:06 +01:00
GyulyVGC
71a4dff703
Add menu_height method to pick_list and combo_box 2025-11-19 23:28:39 +01:00
Héctor
9ef65db8c9
Merge pull request #2695 from Integral-Tech/format-concat
Replace `format!` with `concat!` for string literals
2025-11-19 00:23:28 +01:00
Héctor
f47e848618
Merge pull request #2696 from edwloef/interaction-docs-fix
fix docs of `Widget::mouse_interaction`
2025-11-19 00:15:50 +01:00
Integral
6f5b53eec0
Replace format! with concat! for string literals 2025-11-19 00:11:31 +01:00
Héctor
80a3ca7af4
Merge pull request #2685 from thorn132/interaction_hidden
Mouse interaction to hide system cursor
2025-11-18 23:56:13 +01:00
thorn132
d33e18ec40
Fix integration example 2025-11-18 23:45:12 +01:00
thorn132
3a6f29ce67
Add Hidden variant to mouse::Interaction 2025-11-18 23:44:14 +01:00
Héctor
9565f88cb7
Merge pull request #2684 from Adam-Ladd/add_option_and_extract_options
Add `push` and `into_options` to `combo_box::State`
2025-11-18 23:37:46 +01:00
Héctor Ramón Jiménez
a862290836
Rename combo_box::State methods to push and into_options 2025-11-18 23:27:09 +01:00
Héctor
2f155f83c4
Merge pull request #2664 from Leonie-Theobald/findfocus_for_textinput
Implement find_focused() for text_input
2025-11-18 23:25:07 +01:00
user
d1360c74b0
added add_option and extract_options functions to combobox and split build_matcher (the logic to build a single matcher) out from build matchers 2025-11-18 23:19:57 +01:00
Héctor Ramón Jiménez
f1b0d558df
Fix broken find_by_id link in documentation 2025-11-18 23:15:47 +01:00