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
Héctor Ramón Jiménez
957beeebf9
Merge branch 'master' into basic-renderer
2019-10-05 05:42:15 +02:00
Héctor Ramón Jiménez
e82e96e6ad
Update welcome step of tour example
2019-10-05 05:32:56 +02:00
Héctor Ramón Jiménez
ef498eb1af
Add some padding to the tour example
2019-10-05 05:17:59 +02:00
Héctor Ramón Jiménez
e1b9d42bf1
Start iced_winit and iced_wgpu
2019-10-03 00:01:45 +02:00
Héctor Ramón Jiménez
0a93be78b8
Merge branch 'master' into web
2019-09-21 13:51:03 +02:00
Héctor Ramón Jiménez
05889ecea8
Add wasm-pack link
2019-09-21 13:42:58 +02:00
Héctor Ramón Jiménez
86dede4c4c
Make example work on web and update READMEs
2019-09-21 13:38:14 +02:00
Héctor Ramón Jiménez
b9e0f74948
Create iced_core and iced_native
2019-09-20 19:15:31 +02:00
Héctor Ramón Jiménez
b83a4b42dd
Remove generic Color in widgets
2019-09-19 19:00:42 +02:00
Héctor Ramón Jiménez
f9de39ddaa
Unify web and ggez tour examples 🎉
2019-09-19 15:01:12 +02:00
Héctor Ramón Jiménez
7bfcf4c0bc
Remove extern crate and log dependency
2019-09-16 14:04:33 +02:00
Héctor Ramón Jiménez
a97401aed2
Rethink workspace structure
2019-09-14 19:16:06 +02:00
tgotwig
87007c7e32
Add log and env_logger
...
Relates #7
2019-09-14 14:10:28 +02:00
Héctor Ramón Jiménez
8b8f7563ad
Switch to workspace layout
2019-09-10 19:41:49 +02:00
Héctor Ramón Jiménez
e6f9b5a16e
Set cursor type only when necessary in tour
2019-09-05 21:17:23 +02:00