Commit graph

841 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
cbb5fcc882
Fetch bounds on window resize in visible_bounds example 2023-07-27 01:29:20 +02:00
Héctor Ramón Jiménez
8961fcd501
Highlight container bounds on hover in visible_bounds example 2023-07-27 01:21:50 +02:00
Héctor Ramón Jiménez
09f2887da5
Create visible_bounds example 2023-07-27 01:04:22 +02:00
Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container 2023-07-27 01:04:18 +02:00
Héctor Ramón Jiménez
28d32a8b64
Fix on_option_hovered support in ComboBox 2023-07-26 22:34:56 +02:00
Joao Freitas
470e13c806
Add gif to example 2023-07-26 21:59:42 +02:00
Joao Freitas
dd5ef8b908
Add ComboBox widget
- Widget implementation
- Widget helper
- Example
2023-07-26 21:59:42 +02:00
Cory Forsstrom
42c423b4a8 Add viewport to Widget::on_event 2023-07-15 10:04:25 -07:00
Héctor Ramón Jiménez
dc0ebdc525
Fix new clippy lint in pokedex example 2023-07-13 16:40:47 +02:00
Héctor Ramón
21bd51426d
Merge pull request #1912 from tarkah/feat/scrollable-alignment
Add scrollable alignment option
2023-07-12 10:24:04 +02:00
Héctor Ramón Jiménez
c5a623f32b
Introduce drop helper to pane_grid::State 2023-07-06 07:57:24 +02:00
Héctor Ramón Jiménez
ecce8bbcee
Simplify Target enum in widget::pane_grid 2023-07-06 07:57:23 +02:00
Joao Freitas
e5c9dd54b3
Add ability to drag pane to the pane grid edges & optional style for dragged pane 2023-07-06 07:55:49 +02:00
Cory Forsstrom
4f066b516b Add scrollable alignment option 2023-07-04 10:43:12 -07:00
Héctor Ramón Jiménez
fa5650cfd1
Decouple Mesh primitives from main Primitive type 2023-06-29 07:48:03 +02:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives 2023-06-29 07:18:20 +02:00
Héctor Ramón Jiménez
af62ec1c87
Fix loading_spinners example 2023-06-28 00:11:41 +02:00
Héctor Ramón
9d83718fbe
Merge pull request #1878 from AustinMReppert/master
Minor Scrollable Improvements
2023-06-27 23:16:54 +02:00
Héctor Ramón
2d2ed4048c
Merge pull request #1902 from nicksenger/loading-spinners
Example loading spinners
2023-06-27 23:12:09 +02:00
Héctor Ramón Jiménez
493571695a
Rename ScrollbarProperties to Direction in scrollable 2023-06-27 23:04:49 +02:00
Austin M. Reppert
fa04f40524
Make vertical scroll properties optional
Co-Authored-By: Austin M. Reppert <austinmreppert@gmail.com>
2023-06-27 23:03:29 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module 2023-06-27 19:41:03 +02:00
Héctor Ramón Jiménez
b38f7d2837
Center Submit button vertically in styling example 2023-06-21 18:07:26 +02:00
Cory Forsstrom
f608056c50
Add nested picklist to modal example 2023-06-14 09:27:28 +02:00
Cory Forsstrom
55dc3b5619
Introduce internal overlay::Nested for UserInterface 2023-06-14 09:25:30 +02:00
Nick Senger
290b47f312 refactor: remove unnecessary canvas complexity 2023-06-09 11:03:52 -07:00
Nick Senger
9d69af10cc comment: fix typo 2023-06-08 20:09:10 -07:00
Héctor Ramón Jiménez
733c2bd9f5
Use mouse::Cursor in integration example 2023-06-08 20:45:48 +02:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level 2023-06-08 20:35:40 +02:00
Héctor Ramón Jiménez
57db196c3a
Increase width of controls in pane_grid example 2023-06-08 20:23:47 +02:00
Héctor Ramón Jiménez
5c8cfb411e
Take Rectangle by value in Cursor API 2023-06-08 20:16:46 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability 2023-06-08 20:11:59 +02:00
Bingus
05e238e9ed
Adjusted offscreen pass to be a render pass vs compute for compat with web-colors flag. 2023-06-08 10:10:26 -07:00
Nick Senger
0148cfc82b fix: RedrawRequest::NextFrame -> RedrawRequest::At() 2023-06-08 07:51:32 -07:00
Nick Senger
56eacdb358 comment: cleanup imports 2023-06-08 07:47:57 -07:00
Nick Senger
204c9d6f52 fix: rotation in terms of duration 2023-06-07 16:48:11 -07:00
Nick Senger
2ebc923197 feat: use lyon for easing 2023-06-07 15:42:13 -07:00
Nick Senger
cdfb8b3068 feat: add progress indicators example 2023-06-07 11:57:49 -07:00
Héctor Ramón Jiménez
78c0189824
Fix width of crop labels in screenshot example (again) 2023-06-06 16:36:20 +02:00
Héctor Ramón Jiménez
38582873b7
Rearrange controls of the screenshot example 2023-06-06 16:32:14 +02:00
Héctor Ramón Jiménez
5b5000e3ae
Introduce on_press_maybe helper for Button 2023-06-06 16:18:20 +02:00
Héctor Ramón Jiménez
5324928044
Wrap Screenshot::bytes in an Arc and implement AsRef<[u8]> 2023-06-06 16:14:42 +02:00
Héctor Ramón Jiménez
7adfaa88a6
Avoid iced_image import in screenshot example 2023-06-06 16:05:46 +02:00
Héctor Ramón Jiménez
c1021c7175
Fix punctuation in screenshot example 2023-06-06 15:59:56 +02:00
Héctor Ramón Jiménez
cd15f8305a
Fix width of crop labels in screenshot example 2023-06-06 15:59:36 +02:00
Héctor Ramón Jiménez
8820583cc0
Create numeric_input helper in screenshot example 2023-06-06 15:51:32 +02:00
Héctor Ramón Jiménez
5ed9452877
Use Container::Box in screenshot example 2023-06-06 15:39:29 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command. 2023-06-06 15:37:30 +02:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.

Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.

This feature flag should facilitate application development with `iced`
in those cases.

More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00