summaryrefslogtreecommitdiffstats
path: root/web/src/widget/image.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(web): Support in-memory image dataLibravatar Liam Murphy2021-03-211-0/+39
| | | | | | I had to create two methods which basically do the same thing, `from_memory` and `from_slice`, but `from_memory` takes ownership of the bytes to be compatible with `iced_native`. Also, `Data` is incompatible, because if I stored the bytes in `Data` and created a new object URL every render, it would have caused a memory leak because bumpalo doesn't call destructors and there'd be no way to call URL.revokeObjectUrl on it. It's also more efficient this way.
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-18/+0
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Use `String::from_str_in` in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-011-6/+11
|
* add some accessibility features to web widgetsLibravatar Tom Pridham2020-04-211-1/+15
|
* Add `From<String>` for `image::Handle` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-061-0/+6
|
* Add `Handle` and `Data` to `image` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-051-5/+78
|
* Rename module `style` to `css` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-051-2/+2
|
* Add `Length::FillPortion` variantLibravatar Héctor Ramón Jiménez2019-12-301-1/+1
| | | | | It allows to specify the amount of available space an element should take relative to other elements.
* Make `tour` work with `iced_web` again :tada:Libravatar Héctor Ramón Jiménez2019-11-231-1/+2
| | | | | - Implements `TextInput`, `Scrollable`, and `Container` - Adds basic style generation
* Move widgets from `core` to `native` and `web`Libravatar Héctor Ramón Jiménez2019-11-211-1/+49
| | | | Also made fields private and improved `Renderer` traits.
* Remove generic handle in `Image`Libravatar Héctor Ramón Jiménez2019-10-221-5/+5
| | | | For now, we will simply assume images will be loaded from a given path.
* Make example work on web and update READMEsLibravatar Héctor Ramón Jiménez2019-09-211-0/+2
|
* Create `iced_core` and `iced_native`Libravatar Héctor Ramón Jiménez2019-09-201-6/+14
|
* Draft nodes for missing widgetsLibravatar Héctor Ramón Jiménez2019-09-151-2/+23
|
* Draft web runtime and widgetsLibravatar Héctor Ramón Jiménez2019-09-141-0/+11