Commit graph

258 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
335ad1dd1d Enable feature flags in docs.rs 2020-04-05 04:52:03 +02:00
Rob Ede
5198f8e3e4
document wgpu feature flags 2020-04-04 02:14:02 +01:00
Héctor Ramón Jiménez
d0cca658a1 Bump all versions 🎉 2020-04-02 17:40:20 +02:00
Héctor Ramón Jiménez
2ef1b4317a Remove subcrates CHANGELOG
At this stage, it is important to allow the library to change rapidly.
Because of this, keeping a log of changes can be counter-productive. We
do not want pin down design decisions by writing detailed changelogs
(sunk cost fallacy).

Once the library and its different parts start becoming more stable and
mature, we will reintroduce changelogs accordingly.

For now, we will keep a main `CHANGELOG` file just for the `iced` crate.
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
703f7657e1 Add example to pane_grid module documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
7d40b76b02 Update iced_wgpu root documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
48b90a7529 Add examples to Canvas documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
4c44517556 Fix minor documentation issues 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
f4f8f62f55 Add example for Canvas widget 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
26cd6c0f2b Update iced_wgpu information in repository docs 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
ae009158cc Implement svg::Handle::from_memory
Useful if you already have your SVG data in memory.
2020-03-31 00:39:18 +02:00
Héctor Ramón Jiménez
3f6c6b7b02 Remove unnecessary clone call in Transformation 2020-03-29 15:22:47 +02:00
Héctor Ramón Jiménez
9e139e6ca7 Improve Antialiasing::sample_count signature 2020-03-29 15:21:43 +02:00
Héctor Ramón Jiménez
79fed3d695 Remove unnecessary conversion in iced_wgpu 2020-03-29 15:21:18 +02:00
Héctor Ramón Jiménez
8b49968cab Remove redundant field assignment 2020-03-29 15:20:44 +02:00
Héctor Ramón Jiménez
49bcebb1e5 Remove unnecessary merge of iced_wgpu::Defaults 2020-03-29 15:16:36 +02:00
Héctor Ramón Jiménez
3f7dd50594 Use !is_empty() instead of len() > 0 2020-03-29 15:04:11 +02:00
Kai Mast
442a52be07 Fix formatting 2020-03-28 15:30:51 -07:00
Kai Mast
cbe9298a0b Clippy 2020-03-28 15:25:55 -07:00
Héctor Ramón Jiménez
30f02345a8 Implement Renderer::find_cursor_position 2020-03-25 13:57:02 +01:00
Héctor Ramón Jiménez
6b89dd7db9 Improve text_input::cursor API 2020-03-24 20:23:31 +01:00
Héctor Ramón Jiménez
e77fa175aa Merge branch 'master' into feature/text-selection 2020-03-24 19:08:21 +01:00
Héctor Ramón Jiménez
bb898fa2e2 Create PaneGrid alias in iced_wgpu 2020-03-19 09:37:13 +01:00
Héctor Ramón Jiménez
20b142e8e3 Make cursor unavailable when dragging panes 2020-03-18 01:27:01 +01:00
Héctor Ramón Jiménez
ec334bdd36 Improve pane selection when resizing a PaneGrid 2020-03-14 09:01:52 +01:00
Héctor Ramón Jiménez
f08cb4ad56 Implement mouse-based pane resizing for PaneGrid 2020-03-14 08:10:50 +01:00
Héctor Ramón Jiménez
f11397c31a Clip scrollable primitives only when necessary 2020-03-10 06:49:25 +01:00
Héctor Ramón Jiménez
eb070b9652 Draft drag and drop support for PaneGrid 2020-03-10 06:47:32 +01:00
Héctor Ramón Jiménez
4e0e50ae27 Fix Debug implementation of layer::cache::State 2020-03-10 06:46:11 +01:00
Héctor Ramón Jiménez
e4fbca59b4 Merge branch 'master' into feature/panes-widget 2020-03-10 06:12:06 +01:00
Héctor Ramón Jiménez
6151c52824 Rename Panes widget to PaneGrid 2020-03-10 02:57:13 +01:00
Héctor Ramón Jiménez
b4f970ee73 Implement Default for canvas::Text 2020-03-08 00:06:48 +01:00
Héctor Ramón Jiménez
e9194cbf4a Transform text position in Frame::fill_text
Also add a warning explaining its current limitations.
2020-03-08 00:06:04 +01:00
Héctor Ramón Jiménez
38d967c414 Take a slice in iced_wgpu::triangle pipeline 2020-03-07 23:47:55 +01:00
Héctor Ramón Jiménez
b74e7e7353 Implement Primitive::Cached 2020-03-07 23:45:54 +01:00
Héctor Ramón Jiménez
37f0d97159 Rename Frame::text to Frame::fill_text
This keeps the API similar to the Web Canvas API.
2020-03-07 22:28:57 +01:00
Héctor Ramón Jiménez
f35c9f25f0 Rename canvas::TextNode to canvas::Text 2020-03-07 22:27:02 +01:00
Artur Sapek
1bb8555691 implement text support in canvas widget 2020-03-06 22:01:21 -07:00
Héctor Ramón Jiménez
85ee2fc65a Merge branch 'master' into feature/panes-widget 2020-03-05 02:04:03 +01:00
Héctor Ramón Jiménez
3062c190bb Fix offsets in triangle pipeline
Yes, again...
2020-03-04 22:32:23 +01:00
Héctor Ramón Jiménez
d7f32d47ba Compute panes regions and focus on click 2020-03-04 22:01:57 +01:00
Héctor Ramón Jiménez
b6926d9ab4 Improve Debug implementation of cache::State 2020-03-04 21:56:59 +01:00
Héctor Ramón Jiménez
012b4adec7 Draft Panes widget and panes example 2020-03-04 04:10:26 +01:00
Héctor Ramón Jiménez
02091267bf Use new wgpu_glyph release in iced_wgpu 2020-03-03 00:07:30 +01:00
Soham Chowdhury
1841015428 Add support for loading already-decoded image pixels 2020-02-29 07:32:42 +05:30
Héctor Ramón Jiménez
96f75eae4d Fix offsets of buffer uploads in triangle pipeline 2020-02-28 19:38:17 +01:00
Héctor Ramón Jiménez
88d4cd0970 Remove unnecessary pub(crate) use 2020-02-28 14:41:07 +01:00
Héctor Ramón Jiménez
4e7159c22c Stop creating image pipeline when unnecessary 2020-02-28 14:38:42 +01:00
Héctor Ramón Jiménez
fc55e3a3df Move Atlas::deallocate after allocate 2020-02-26 20:50:32 +01:00
Héctor Ramón Jiménez
bb397cc668 Move Debug implementation for vector::Svg 2020-02-26 20:49:40 +01:00