Héctor Ramón Jiménez
|
fe0de182c5
|
Remove SwapChain associated type from Compositor
|
2021-08-20 20:32:04 +07:00 |
|
Poly
|
18753b77fc
|
wgpu: Update to 0.10
|
2021-08-19 03:06:38 +02:00 |
|
Héctor Ramón Jiménez
|
3e03a42bc6
|
Use thiserror to derive Error for SwapChainError
|
2021-08-04 21:52:02 +07:00 |
|
Billy Messenger
|
b629a80254
|
small documentation error
|
2021-07-22 13:26:27 -05:00 |
|
Billy Messenger
|
e5010b8ab8
|
redo custom error for Compositor::draw()
|
2021-07-22 13:23:36 -05:00 |
|
Billy Messenger
|
a7d2834a6d
|
add custom error for Compositor::draw()
|
2021-07-22 13:08:13 -05:00 |
|
Billy Messenger
|
e822f654e4
|
Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframe
|
2021-07-22 12:37:39 -05:00 |
|
Héctor Ramón Jiménez
|
a866f8742e
|
Avoid cloning placeholder for PickList unnecessarily during draw
|
2021-07-22 20:22:38 +07:00 |
|
Héctor Ramón Jiménez
|
1b36068847
|
Introduce placeholder_color to pick_list::Style
|
2021-07-22 20:22:32 +07:00 |
|
Jon Pacheco
|
fa433743b3
|
feat: add placeholders to pick_list
see issue #726
|
2021-07-22 19:12:56 +07:00 |
|
Diego Fujii
|
80df17ab55
|
fix-typo
|
2021-06-24 00:16:08 +09:00 |
|
Yusuf Bera Ertan
|
83d19689c8
|
docs: update all 0.2 github links to 0.3
|
2021-06-14 21:01:37 +03:00 |
|
Kaiden42
|
7a626f3b7b
|
Change label of Toggler to optional
|
2021-06-03 20:21:55 +07:00 |
|
Kaiden42
|
52a185fbab
|
Implement Toggler widget for iced_native
|
2021-06-03 20:21:02 +07:00 |
|
Héctor Ramón
|
b94cd7a2a8
|
Use Padding::horizontal and Padding::vertical helpers
|
2021-06-01 19:21:43 +07:00 |
|
Héctor Ramón
|
0a14492343
|
Fix Tooltip widget
|
2021-06-01 19:13:52 +07:00 |
|
Ben LeFevre
|
fe0a27c56d
|
Add support for asymmetrical padding
|
2021-06-01 19:05:39 +07:00 |
|
Clark Moody
|
d4c5f3ee95
|
Enable event handling within the title elements
Shrink the pick area to avoid both the controls and the title elements.
Handle events and merge title area event status with control events.
|
2021-05-24 16:37:47 -05:00 |
|
Héctor Ramón
|
3840b75bea
|
Provide compatible_surface in iced_wgpu::Compositor
|
2021-05-05 14:33:30 +07:00 |
|
Héctor Ramón
|
59c2500c55
|
Fix Scrollable scrollbar being rendered behind contents
... by issuing a new clip layer just for the scrollbar itself.
|
2021-05-03 15:42:02 +07:00 |
|
Downtime
|
ca4257ff5c
|
Update frame.rs
|
2021-04-01 21:58:25 +08:00 |
|
Héctor Ramón
|
7eb5127748
|
Merge pull request #770 from hecrj/feature/clipboard-write
Write clipboard support and `TextInput` copy and cut behavior
|
2021-03-10 21:13:07 +01:00 |
|
Héctor Ramón Jiménez
|
21971e0037
|
Make Clipboard argument in Widget trait mutable
|
2021-03-10 01:59:02 +01:00 |
|
Héctor Ramón Jiménez
|
c51b771519
|
Reposition Tooltip inside viewport bounds
... only when out of bounds.
|
2021-02-27 03:47:13 +01:00 |
|
Héctor Ramón Jiménez
|
f52f8c1337
|
Fix viewport argument in PaneGrid draw calls
|
2021-02-27 03:36:46 +01:00 |
|
Héctor Ramón Jiménez
|
5e2743361b
|
Generate new layers only for clip primitives in Layer::generate
|
2021-02-23 04:02:55 +01:00 |
|
Héctor Ramón Jiménez
|
4e923290cc
|
Add style and padding to Tooltip
|
2021-02-23 04:00:35 +01:00 |
|
Héctor Ramón Jiménez
|
2f766b7341
|
Introduce Tooltip::gap to control spacing
|
2021-02-23 03:16:37 +01:00 |
|
Héctor Ramón Jiménez
|
81c75c1524
|
Change Tooltip to support Text only for now
|
2021-02-23 03:09:16 +01:00 |
|
Yusuf Bera Ertan
|
a19f89d3a6
|
feat(native): add Tooltip widget
|
2021-02-15 19:37:46 +03:00 |
|
Tanner Rogalsky
|
766bb7f5cc
|
Fix physical_width getter incorrectly returning the height
|
2021-01-14 10:38:12 -05:00 |
|
Héctor Ramón Jiménez
|
a7bb7bb2ea
|
Implement split highlight on hover for PaneGrid
|
2021-01-01 15:28:38 +01:00 |
|
Héctor Ramón
|
f8aef03456
|
Merge pull request #657 from clarkmoody/feature/pane-grid-title-contents
Generic Element Content in Pane Grid TitleBar
|
2020-12-22 14:58:39 +01:00 |
|
Héctor Ramón Jiménez
|
f2c2f3fc75
|
Remove unnecessary text::Renderer bound for PaneGrid
This is no longer necessary, as we do not render text directly anymore.
|
2020-12-22 14:44:44 +01:00 |
|
Héctor Ramón Jiménez
|
43ef85ae5c
|
Rename starting_cursor_pos to cursor_grabbed_at in image::Viewer
|
2020-12-18 11:20:18 +01:00 |
|
Héctor Ramón Jiménez
|
21b10dc103
|
Fix layout of image::Viewer
|
2020-12-18 10:44:24 +01:00 |
|
Héctor Ramón Jiménez
|
74ee7cca81
|
Format use declarations in image::viewer
|
2020-12-18 10:18:39 +01:00 |
|
Héctor Ramón Jiménez
|
0b73e5fbfa
|
Merge remote-tracking branch 'tarkah/image-pane' into image-pane
|
2020-12-18 10:15:30 +01:00 |
|
Billy Messenger
|
4e391013c8
|
don't panic when swapchain frame is outdated
|
2020-12-16 10:03:51 -06:00 |
|
Clark Moody
|
f54590d7ad
|
Replace TitleBar string title with generic Content
|
2020-12-10 12:17:36 -06:00 |
|
Héctor Ramón Jiménez
|
745aa49025
|
Update example links to point to 0.2 branch
|
2020-11-26 16:37:33 +01:00 |
|
Héctor Ramón Jiménez
|
11798dcc03
|
Update graphs in crate docs
|
2020-11-26 07:22:03 +01:00 |
|
Héctor Ramón Jiménez
|
c23136a5df
|
Account for empty ranges in Slider and ProgressBar
|
2020-11-26 03:33:08 +01:00 |
|
rubik83
|
955b62ea2d
|
fix slider handle_offset formula
change :
let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(1.0))
to :
let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
|
2020-11-26 03:09:46 +01:00 |
|
rubik83
|
9991a89428
|
fix active_progress_width formula
change :
let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(1.0))
to :
let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
|
2020-11-26 03:09:46 +01:00 |
|
Héctor Ramón Jiménez
|
01322f69a4
|
Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
|
2020-11-26 02:05:43 +01:00 |
|
Héctor Ramón Jiménez
|
08e0b9ffbd
|
Fix broken links in API documentation
|
2020-11-26 01:59:20 +01:00 |
|
Héctor Ramón
|
556cf24b95
|
Merge pull request #627 from hecrj/fix/canvas-rotation
Fix backwards `Frame::rotate` in `canvas`
|
2020-11-24 00:17:46 +01:00 |
|
Héctor Ramón Jiménez
|
f41eacc3dc
|
Use f32 for border_width and border_radius
|
2020-11-23 00:31:50 +01:00 |
|
Héctor Ramón Jiménez
|
77c7ad1fef
|
Fix backwards Frame::rotate in canvas
The angle direction has been fixed upstream in `euclid` (see
https://github.com/servo/euclid/pull/413).
|
2020-11-22 11:05:08 +01:00 |
|