Commit graph

90 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
e74f117976 Add a slight shadow to buttons for feedback 2019-10-12 02:32:16 +02:00
Héctor Ramón Jiménez
a92a0b73ed Move winit logic from iced to iced_winit
- Added new `renderer::Windowed` trait. This shoud allow users to easily
  try different renderers by simply changing one line.
- Renamed `UserInterface` traits to `Application`, as the `run` method
  takes total control of the current thread.
- Moved `MouseCursor` back to `iced_native`. The new
  `renderer::Windowed` trait returns one on `draw`.
- Split `iced_native` renderer in multiple modules, for consistency.
2019-10-09 05:36:49 +02:00
Héctor Ramón Jiménez
1a93f0ef4a Merge branch 'master' into basic-renderer 2019-10-08 03:25:47 +02:00
Héctor Ramón Jiménez
e95e656fcd Fix missing "is" in tour 2019-10-08 03:23:51 +02:00
Héctor Ramón Jiménez
10e10e5e06 Make iced_core::Button customizable
Now it supports:
  - Any kind of content
  - Custom border radius
  - Custom background
2019-10-08 03:13:41 +02:00
Héctor Ramón Jiménez
c9510db551 Render colored quads 2019-10-07 03:56:16 +02:00
Héctor Ramón Jiménez
5286ef36b6 Make tour a simple example instead of a crate 2019-10-06 20:06:13 +02:00
Héctor Ramón Jiménez
ae56edc8cc Center tour example 2019-10-05 19:02:16 +02:00