summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Expose additional helpers in `iced::pure`Libravatar Héctor Ramón Jiménez2022-02-132-5/+30
|
* Introduce lifetime to `on_change` handler for `Toggler`Libravatar Héctor Ramón Jiménez2022-02-131-2/+2
|
* Implement `Toggler` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-133-0/+138
|
* Implement `Slider` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-134-167/+503
|
* Implement `Image` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-134-25/+134
|
* Add `max_width` to `Column` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-122-2/+23
|
* Implement missing `on_event` and `mouse_interaction` for `Checkbox` in ↵Libravatar Héctor Ramón Jiménez2022-02-122-2/+42
| | | | `iced_pure`
* Implement pure version of `todos` example :tada:Libravatar Héctor Ramón Jiménez2022-02-1218-95/+916
| | | | | | | | The `Widget` trait in `iced_pure` needed to change a bit to make the implementation of `Element::map` possible. Specifically, the `children` method has been split into `diff` and `children_state`.
* Implement `TextInput` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-123-448/+730
|
* Implement `Scrollable` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-125-378/+810
|
* Implement `Checkbox` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-123-2/+97
|
* Reuse `Text` widget from `iced_native` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-123-116/+19
|
* Implement `Container` widget in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-123-22/+305
|
* Use `TypeId` of `()` for `Column` and `Row` tags in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-112-4/+2
|
* Implement `Row` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-112-0/+229
|
* Complete `Button` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-111-2/+32
|
* Expose reusable `Button` logicLibravatar Héctor Ramón Jiménez2022-02-115-247/+228
| | | | ... and reuse it in `iced_pure`!
* Allow pure widgets to borrow from `Application` data :tada:Libravatar Héctor Ramón Jiménez2022-02-1111-98/+103
|
* Expose function helpers to build widgets in `pure::widget`Libravatar Héctor Ramón Jiménez2022-02-113-7/+25
| | | | | `button("Hello")` is easier to write and read than `Button::new("Hello")`.
* Expose `iced_pure` through a `pure` feature in `iced`Libravatar Héctor Ramón Jiménez2022-02-117-14/+344
| | | | | | Besides exposing the `iced_pure` crate, enabling the `pure` feature also provides pure versions of both the `Application` and `Sandbox` traits! :tada:
* Rename `iced_virtual` to `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-1115-15/+16
| | | | `virtual` is a reserved keyword in Rust :grimacing:
* Implement `Into<Element>` for `&'static str` in `iced_virtual`Libravatar Héctor Ramón Jiménez2022-02-105-14/+27
|
* Draft virtual `Button`, `Column`, and `Text`Libravatar Héctor Ramón Jiménez2022-02-1015-101/+1177
| | | | ... as well as a very naive diffing strategy!
* Draft `iced_virtual` subcrateLibravatar Héctor Ramón Jiménez2022-02-096-0/+223
| | | | | | | | | | | | | | | | | | | | | The idea here is to expose a set of "virtual widgets" that can be used with a `Virtual` widget and its `virtual::State`. A virtual widget is a widget that does not contain any state, but instead is a "virtual" representation of the "real" widget. The real widgets are stored in the `virtual::State`. Every time a new virtual widget tree is created during `view`, it is compared to the previous one and "real" widgets are added / removed to the `virtual::State`. Effectively, this removes the need to keep track of local widget state in the application state and allows `view` to take an immutable reference to `self`. To summarize, using this crate should allow users to remove `State` structs in their application state. Eventually, the strategy used here may be adopted generally and, as a result, all of the widgets in `iced_native` would be replaced!
* Update Rust edition to 2021 :tada:Libravatar Héctor Ramón Jiménez2022-02-0939-41/+39
|
* Add `index.html` to `counter` exampleLibravatar Héctor Ramón Jiménez2022-02-091-0/+12
|
* Merge pull request #1217 from SynergyBest/masterLibravatar Héctor Ramón2022-02-0823-779/+42
|\ | | | | Fix links
| * [ImgBot] Optimize imagesLibravatar ImgBotApp2022-02-0714-739/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *Total -- 967.49kb -> 703.99kb (27.24%) /docs/images/radio.png -- 5.29kb -> 1.58kb (70.18%) /docs/images/text_input.png -- 3.18kb -> 1.27kb (60.17%) /docs/images/checkbox.png -- 5.56kb -> 2.22kb (60.17%) /examples/color_palette/screenshot.png -- 102.74kb -> 43.75kb (57.42%) /examples/tour/images/ferris.png -- 32.29kb -> 15.91kb (50.73%) /docs/graphs/ecosystem.png -- 124.13kb -> 67.44kb (45.67%) /docs/graphs/iced.png -- 97.75kb -> 53.27kb (45.5%) /docs/graphs/native.png -- 57.90kb -> 33.67kb (41.85%) /docs/images/text.png -- 4.95kb -> 2.99kb (39.61%) /docs/graphs/foundations.png -- 18.19kb -> 11.19kb (38.46%) /examples/scrollable/screenshot.png -- 144.78kb -> 102.53kb (29.18%) /examples/svg/resources/tiger.svg -- 67.02kb -> 64.50kb (3.76%) /docs/logo.svg -- 1.37kb -> 1.35kb (1.57%) /docs/images/todos_desktop.jpg -- 302.36kb -> 302.33kb (0.01%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
| * Fix linksLibravatar Theo Robinson2022-02-079-40/+40
|/ | | | | | Change dead links to updated ones. Change/Convert all file links to relative links so they are branch agnostic.
* Merge pull request #1231 from ↵Libravatar Héctor Ramón2022-02-071-0/+8
|\ | | | | | | | | TannerRogalsky/allow-the-creation-of-unconnected-clipboard Allow the creation of a clipboard without a window.
| * Allow the creation of a clipboard without a window.Libravatar Tanner Rogalsky2022-02-051-0/+8
|/
* Merge pull request #1225 from tarkah/feat/canvas-line-dashLibravatar Héctor Ramón2022-02-045-10/+80
|\ | | | | Add line dash API
| * Access `lyon_algorithms` indirectly through `lyon`Libravatar Héctor Ramón Jiménez2022-02-032-7/+3
| |
| * Ask for a slice of segments instead of ownership in `LineDash`Libravatar Héctor Ramón Jiménez2022-02-035-26/+26
| |
| * Fix examples, no longer CopyLibravatar Cory Forsstrom2022-01-271-2/+2
| |
| * Increase gap in exampleLibravatar Cory Forsstrom2022-01-271-1/+1
| |
| * Remove vec allocationLibravatar Cory Forsstrom2022-01-271-35/+36
| |
| * Add line dash APILibravatar Cory Forsstrom2022-01-276-3/+76
| |
* | Differentiate between question and discussion in issue templatesLibravatar Héctor Ramón Jiménez2022-02-021-3/+6
| |
* | Make titles of issue templates more relatableLibravatar Héctor Ramón Jiménez2022-02-022-6/+6
| |
* | Remove `codebase` from bug report templateLibravatar Héctor Ramón Jiménez2022-02-021-1/+1
| | | | | | | | | | ... since a bug report may not necessarily indicate an issue in the codebase.
* | Improve description of `Discussion` contact linkLibravatar Héctor Ramón Jiménez2022-02-021-1/+1
| |
* | Improve titles of issue templatesLibravatar Héctor Ramón Jiménez2022-02-022-2/+2
| |
* | Add `config.yml` to `.github/ISSUE_TEMPLATE`Libravatar Héctor Ramón Jiménez2022-02-021-0/+8
| |
* | Fix capitalization of `title` in bug report templateLibravatar Héctor Ramón Jiménez2022-02-021-1/+1
| |
* | Fix duplicate `label` field in bug report templateLibravatar Héctor Ramón Jiménez2022-02-021-1/+1
| |
* | Remove newlines from bug report templateLibravatar Héctor Ramón Jiménez2022-02-021-14/+6
| |
* | Fix missing closing backtick in bug report templateLibravatar Héctor Ramón Jiménez2022-02-021-1/+1
| |
* | Add issue template for bug reportsLibravatar Héctor Ramón Jiménez2022-02-021-0/+90
| |
* | Fix `default` backend in `iced_futures`Libravatar Héctor Ramón Jiménez2022-02-013-3/+18
| | | | | | | | Fixes #1228.