Commit graph

98 commits

Author SHA1 Message Date
Malte Veerman
33ad332ce9 Implemented From<Color for Background 2019-12-04 22:02:07 +01:00
Héctor Ramón Jiménez
4293dcb254 Rename image::Handle::from_bytes to from_memory
Also, replace `image` example with a new `pokedex` example using the
PokéAPI.
2019-12-04 03:55:33 +01:00
Héctor Ramón Jiménez
cdd34e1e4b Implement image viewer example 2019-11-30 02:14:56 +01:00
Héctor Ramón Jiménez
811d8b90d7 Add simple counter example 2019-11-26 22:31:46 +01:00
Héctor Ramón Jiménez
d70021fa68 Allow Application configuration with Settings 2019-11-25 14:17:13 +01:00
Héctor Ramón
bbcd16c335
Merge pull request #66 from hecrj/feature/new-web-tour
Make `tour` work with `iced_web` again
2019-11-24 19:15:28 +01:00
Héctor Ramón Jiménez
21ec79296e Avoid unnecessary panic in todos 2019-11-24 11:55:46 +01:00
Héctor Ramón Jiménez
5b8f6948bb Add warning on debugger tour section in web 2019-11-24 11:08:53 +01:00
Héctor Ramón Jiménez
42e775fece Merge branch 'master' into improvement/docs 2019-11-22 20:30:57 +01:00
Héctor Ramón Jiménez
ba56a561b2 Implement iced::Sandbox trait for simple apps 2019-11-21 18:00:27 +01:00
Héctor Ramón Jiménez
65eb218d3d Move widgets from core to native and web
Also made fields private and improved `Renderer` traits.
2019-11-21 13:47:20 +01:00
Héctor Ramón Jiménez
7f1c6fc14c Remove scroll example and tour.html 2019-11-20 11:02:40 +01:00
Héctor Ramón Jiménez
08aa862a42 Update examples README 2019-11-20 10:54:40 +01:00
Héctor Ramón Jiménez
93093fa023 Disable debug view by default in tour example 2019-11-20 06:18:22 +01:00
Héctor Ramón Jiménez
63dbf078fe Improve persistence in todos 2019-11-18 00:13:18 +01:00
Héctor Ramón Jiménez
a803ab240b Rename Command::attempt to Command::perform 2019-11-18 00:10:40 +01:00
Héctor Ramón Jiménez
b2392d28bd Save todos async in a JSON file and load on boot 2019-11-17 07:38:01 +01:00
Héctor Ramón Jiménez
02c20e6202 Support async actions in iced_winit 2019-11-17 07:11:44 +01:00
Héctor Ramón Jiménez
2c8ba652a7 Draw proper checkmark for Checkbox in iced_wgpu 2019-11-14 03:34:41 +01:00
Héctor Ramón Jiménez
66bb2f7cbf Add filter controls to todos example 🎉 2019-11-14 03:03:50 +01:00
Héctor Ramón Jiménez
be5466a0a7 Remove argument from text_input::State::focused 2019-11-13 07:57:22 +01:00
Héctor Ramón Jiménez
cf3c53a063 Implement task edition/deletion in todos example 2019-11-13 07:39:29 +01:00
Héctor Ramón Jiménez
2337029602 Remove default styling of Button
- A background will only show if explicitly set.
- `iced_wgpu` won't apply a `min_width` of 100 units anymore.
2019-11-13 07:36:50 +01:00
Héctor Ramón Jiménez
60774740ef Fix doc comments and remove Align from tour 2019-11-11 07:11:41 +01:00
Héctor Ramón Jiménez
860a6923bb Split text measurements cache from rendering cache
This speeds up layouting in the most common scenario considerably!
🎉
2019-11-11 06:07:31 +01:00
Héctor Ramón Jiménez
d4d14b68f4 Remove padding from Container for now 2019-11-11 05:37:51 +01:00
Héctor Ramón Jiménez
ceb02f4a36 Implement Container widget
Remove `align_self` and `justify_content` methods
2019-11-11 05:26:08 +01:00
Héctor Ramón Jiménez
0240c3981b Draft custom layout engine based on druid 2019-11-11 03:08:00 +01:00
Héctor Ramón Jiménez
e953b1828d Allow applications to control the window title
`iced_winit` will change the window title dynamically at runtime!
2019-11-09 05:10:10 +01:00
memoryruins
786ac31c02 use String::clone in todo example 2019-11-07 18:17:48 -05:00
Héctor Ramón Jiménez
b68ac3aa47 Merge branch 'master' into feature/performance-metrics 2019-11-05 03:43:54 +01:00
Héctor Ramón Jiménez
075fcf1a52 Merge branch 'master' into feature/text-input 2019-11-03 05:19:51 +01:00
Héctor Ramón Jiménez
2c6bfdbc8c Implement debug view and load system fonts 2019-11-03 04:39:11 +01:00
Héctor Ramón Jiménez
022dc0139b Show Ferris at the end of the scrollable section 2019-11-02 02:44:57 +01:00
Héctor Ramón Jiménez
f3baae9228 Add text input section to tour 2019-11-02 02:17:00 +01:00
Héctor Ramón Jiménez
1242b334fe Merge branch 'feature/scrollables' into feature/text-input 2019-11-02 01:50:29 +01:00
Héctor Ramón Jiménez
58d04cadef Add scrollable section to tour 2019-11-02 01:42:51 +01:00
Héctor Ramón Jiménez
51a0e99097 Implement cursor movement in TextInput 2019-10-31 03:50:40 +01:00
Héctor Ramón Jiménez
1505d8f941 Implement task addition in todos example 2019-10-30 05:00:59 +01:00
Héctor Ramón Jiménez
63cd0fd8eb Draft TextInput widget structure
Also started a `todos` example to showcase it!
2019-10-30 03:31:07 +01:00
Héctor Ramón Jiménez
2b23e0986c Implement text clipping (caching still broken) 2019-10-28 04:28:21 +01:00
Héctor Ramón Jiménez
e21890168f Improve scroll example 2019-10-27 03:04:07 +01:00
Héctor Ramón Jiménez
0a0aa3edd9 Implement clipping for images 2019-10-27 02:29:23 +01:00
Héctor Ramón Jiménez
09bd2c46c0 Expose scrollable offset properly 2019-10-27 01:24:08 +02:00
Héctor Ramón Jiménez
719c073fc6 Draft Scrollable widget (no clipping yet!) 2019-10-25 03:47:34 +02:00
Héctor Ramón Jiménez
ac611ab837 Remove unnecessary comma 2019-10-23 02:47:05 +02:00
Héctor Ramón Jiménez
1788d5d21e Update READMEs 2019-10-23 02:35:24 +02:00
Héctor Ramón Jiménez
6145140816 Make tour example work on Wasm again 2019-10-23 02:34:11 +02:00
Héctor Ramón Jiménez
38b6c84e77 Implement basic image rendering in iced_wgpu 2019-10-23 01:21:23 +02:00
Héctor Ramón Jiménez
665b1d4e1b Update examples README 2019-10-13 18:51:39 +02:00