Héctor Ramón Jiménez
2b520ca098
Convert ScaleFactorChanged into Resized events in iced_glutin
...
... instead of just dropping them when calling `to_static`.
2021-03-24 05:29:19 +01:00
Héctor Ramón Jiménez
d66a34b272
Convert ScaleFactorChanged into Resized events in iced_winit
...
... instead of just dropping them when calling `to_static`.
2021-03-24 04:59:13 +01:00
Nicolas Levy
0333a8daff
Overwrite overlay method in Widget implementation for Button ( #764 )
...
* Overwrite `overlay` method in Widget implementation for Button
* Overwrite `overlay` method in Widget implementation for Button (cargo fmt)
* Fix button overlay
2021-03-14 23:39:01 +01:00
Héctor Ramón
c1f70f1e92
Merge pull request #773 from hecrj/feature/clipboard-access-in-update
...
Clipboard access in `Application::update`
2021-03-12 02:54:13 +01:00
Héctor Ramón Jiménez
7da3fb1b22
Implement stub Clipboard in iced_web
...
We need to figure out browser permissions and use of unstable `web-sys`
APIs
2021-03-11 03:52:41 +01:00
Héctor Ramón Jiménez
a365998264
Expose read and write methods in iced_winit::Clipboard directly
2021-03-11 03:49:15 +01:00
Héctor Ramón Jiménez
ae517b9fa0
Add clipboard argument to Application::update
2021-03-11 03:38:20 +01: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
939fcfe9db
Merge pull request #771 from hecrj/fix/tooltip-layering
...
Reposition `Tooltip` inside `viewport` bounds
2021-03-10 03:28:04 +01:00
Héctor Ramón Jiménez
17dcfa8faf
Implement copy and cut behavior for TextInput
2021-03-10 01:59:20 +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
35425001ed
Introduce write method to Clipboard trait
2021-03-10 01:18:22 +01:00
Héctor Ramón Jiménez
b22b0dd7ff
Update window_clipboard to 0.2
2021-03-10 01:16:26 +01:00
Héctor Ramón Jiménez
bbca5c4bde
Call hash_layout for controls in pane_grid::TitleBar
2021-03-09 04:49:17 +01:00
Héctor Ramón
a74974a8e4
Merge pull request #760 from TriedAngle/master
...
Update: rand in solar_system example
2021-03-05 03:10:55 +01:00
Sebastian
5f27ed4720
Update: rand
2021-03-03 01:23:18 +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
a5fddf9ee6
Merge pull request #465 from yusdacra/tooltip-widget
...
Tooltip widget
2021-02-24 01:42:08 +01:00
Héctor Ramón Jiménez
2736e4ca35
Hide Text as an implementation detail of Tooltip
2021-02-24 00:59:29 +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
9d4996cbab
Export Tooltip in iced_glow
2021-02-23 03:18:47 +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
9f60a256fc
Remove viewport from Overlay::draw for now
2021-02-23 03:12:00 +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
Héctor Ramón Jiménez
6759a5c56f
Log event subscription error as a warning
2021-02-23 02:16:12 +01:00
Héctor Ramón
842d54732b
Merge pull request #739 from hecrj/fix/beta-warnings
...
Fix warnings in the `beta` toolchain
2021-02-16 00:41:06 +01:00
Héctor Ramón Jiménez
ec20763aef
Use string literal as panic message in iced_glow
2021-02-16 00:04:36 +01:00
Héctor Ramón Jiménez
9ba9558429
Allow dead code explicitly in iced_web
2021-02-16 00:03:20 +01:00
Yusuf Bera Ertan
a19f89d3a6
feat(native): add Tooltip widget
2021-02-15 19:37:46 +03:00
Héctor Ramón
4de164dcc7
Merge pull request #392 from unrelentingtech/image-debloat
...
Add image format options to reduce code bloat
2021-02-13 16:18:40 +01:00
Héctor Ramón Jiménez
e1b1227f0c
Fix image feature name in glow and iced
2021-02-13 16:05:51 +01:00
Greg V
8f126c212b
Add image format options to reduce code bloat, fixes #376
2021-02-13 15:53:24 +01:00
Folyd
9f5c2eb0c4
Improve download_progress example ( #283 )
...
* Add advanced download example
* Rename to task fields and variables
* Cargo fmt advanced_download/src/download.rs
* Add progress bar for advanced download example
* Merge two download examples to single one
* Apply great review suggestions
* Change to url::Url instead of plain String
* Simplify `download_progress` example
* Update `README` of `download_progress` example
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 22:00:52 +01:00
anunge
9e453843b2
Touch support for PaneGrid and PickList ( #650 )
...
* touch events properly parsed and converted to logical size, button working
* scrolling with a nice touch
* fixed application state level touch cursor. panel_grid is touchable now.
* format glicthes fixes
* format glitches
* tight format
* fixed pane grid
* fixing with upstream
* Remove unused `touch` module from `iced_core`
* Remove unused `crate::text` import in `iced_native`
* Remove redundant match branch in `iced_winit`
* Keep removed line break in `UserInterface::update`
* Compute `text_size` only when bounds contains cursor in `overlay::menu`
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 20:52:20 +01:00
Héctor Ramón
2f10a1f2a2
Merge pull request #725 from PolyMeilex/wgpu-7.0
...
Update to wgpu 0.7
2021-02-06 16:18:19 +01:00
Héctor Ramón Jiménez
74b9ea520f
Enable filtering in wgpu::image
2021-02-06 16:04:43 +01:00
Héctor Ramón Jiménez
7eefad34fc
List color_blend first in wgpu::quad
2021-02-06 15:55:03 +01:00
Héctor Ramón Jiménez
15c4901aba
Remove unnecessary line break in triangle::msaa
2021-02-06 15:39:12 +01:00
Héctor Ramón Jiménez
ffdf87fbe2
Use lowercase in wgpu labels for consistency
2021-02-06 15:39:06 +01:00
Héctor Ramón Jiménez
5fc4210270
Use the latest release of wgpu_glyph
2021-02-06 15:27:27 +01:00
Poly
b0d1be69d6
Change PowerPreference from default() to LowPower
...
There is no reason to hide the fact that this is always in `LowPower` mode
2021-02-03 23:50:03 +01:00
Poly
09a5348740
[wgpu 0.7] Update integration example
2021-02-03 22:38:45 +01:00
Poly
1fb60c5dcb
Fix TextureViewDimension for image
...
wgpu validation helped to find this long standing type error
2021-02-03 22:26:53 +01:00
Poly
bd6b8304bd
Fix ScissorRect
...
- Breaks `TODO: Address anti-aliasing adjustments properly`
2021-02-03 21:51:11 +01:00
Poly
c5d6ddc126
[wgpu 0.7] triangle/msaa disable filtering
2021-02-03 21:13:51 +01:00
Poly
4a6db30d47
[wgpu 0.7] Update image.rs
2021-02-03 20:24:48 +01:00
Poly
e2595ac0aa
[wgpu 0.7] Update triangle.rs
2021-02-03 20:06:07 +01:00
Poly
5f935c34fd
[wgpu 0.7] Update triangle/msaa.rs
...
Notes:
- not sure if `filtering sampler` should be used, so for now it is not used
.
2021-02-03 20:05:37 +01:00