Héctor Ramón Jiménez
c1f79b40cf
Make Application and Sandbox return a Result
2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
22ced3485e
Introduce feature flags to enable iced_glow
...
Also keep `iced_wgpu` as the default renderer for the time being.
2020-05-27 05:05:13 +02:00
Héctor Ramón Jiménez
e0e4ee73fe
Implement iced_glutin 🎉
2020-05-21 00:44:35 +02:00
Héctor Ramón Jiménez
98bc8cf2a7
Rename MouseCursor to mouse::Interaction
2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
1501a93915
Disable time module on Wasm for now
2020-04-30 05:51:41 +02:00
Héctor Ramón Jiménez
e2076612cb
Implement time::every in iced_futures
2020-04-30 05:37:44 +02:00
Héctor Ramón Jiménez
d8b9e03481
Remove ButtonState
2020-04-30 04:54:49 +02:00
Héctor Ramón Jiménez
ec712c8032
Move MouseCursor to iced_core
2020-04-29 03:23:02 +02:00
Héctor Ramón Jiménez
2539042b71
Remove Drawable and rename State to Program
2020-04-28 06:24:12 +02:00
Héctor Ramón Jiménez
56dbd68326
Move reusable mouse types to iced_core
2020-04-28 03:11:01 +02:00
Héctor Ramón Jiménez
7479ba137f
Document widget feature flags
2020-04-05 04:38:10 +02:00
Héctor Ramón Jiménez
d7a3ce4e68
Fix a couple of links in documentation
2020-04-02 17:39:24 +02:00
Héctor Ramón Jiménez
f5e7e0625e
Improve docs for Sandbox and Application
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
c73f23c380
Move Space to widget module
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
05beb87852
Move common keyboard types to iced_core
...
Also expose them in `iced` through `iced_native` and `iced_web`.
2020-03-17 07:30:05 +01:00
Héctor Ramón Jiménez
558abf648b
Add transform stack to canvas::Frame
2020-02-14 04:59:31 +01:00
Héctor Ramón Jiménez
f436f20eb8
Draft Canvas types and clock example
2020-02-12 03:47:36 +01:00
Héctor Ramón Jiménez
f5186f31f1
Fix docs.rs links
...
Related issue: https://github.com/rust-lang/docs.rs/issues/223
2020-02-03 23:53:34 +01:00
Héctor Ramón Jiménez
a30553ddbb
Forbid unsafe code and Rust 2018 idioms
2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
7cea737115
Package examples and remove dev-dependencies
2020-01-20 06:27:01 +01:00
Héctor Ramón Jiménez
04086a90c9
Implement WasmBindgen executor and reorganize
2020-01-20 05:43:09 +01:00
Héctor Ramón Jiménez
90690702e1
Add Application::Executor associated type
2020-01-20 04:47:36 +01:00
Héctor Ramón Jiménez
c96492b956
Expose window::Mode in iced
...
Although the Fullscreen API in the Web platform has some limitations, it
is still useful to be able to support fullscreen on the native side.
2020-01-16 05:54:22 +01:00
Gabriel Konat
5a974fe72d
Use cfg and path attribute instead of cfg_attr for IntelliJ Rust support
2019-12-04 14:39:20 +01:00
Héctor Ramón
84874ac5dc
Merge pull request #68 from hecrj/feature/application-settings
...
Allow `Application` configuration with `Settings`
2019-11-25 15:00:53 +01:00
Héctor Ramón Jiménez
1344ea84fc
Update debug view GIF in README
2019-11-25 14:40:18 +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 Jiménez
f92f5c3eca
Fix examples link in documentation
2019-11-23 13:58:02 +01:00
Héctor Ramón Jiménez
a7dba612f0
Write docs for iced and iced_native
2019-11-22 19:36: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
02c20e6202
Support async actions in iced_winit
2019-11-17 07:11:44 +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
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
c7ef9d0da7
Connect iced_web with iced properly
2019-10-23 02:33:07 +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
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
67f8da4b34
Initialize renderer primitive properly
2019-10-07 04:12:39 +02:00
Héctor Ramón Jiménez
c9da3a10d9
Use log crate instead of dbg!
2019-10-07 04:05:40 +02:00
Héctor Ramón Jiménez
0c3f78713d
Draft basic text rendering using wgpu_glyph
2019-10-05 05:12:36 +02:00
Héctor Ramón Jiménez
a7d1194403
Add Renderer and Primitive concepts
2019-10-05 03:56:18 +02:00
Héctor Ramón Jiménez
5204cc8c8b
Count redraws and add a couple of TODOs
2019-10-04 22:47:36 +02:00
Héctor Ramón Jiménez
ebb8dbb065
Draft UI event loop
2019-10-03 01:59:16 +02:00
Héctor Ramón Jiménez
fc38119be3
Clear the window properly on redraw
2019-10-03 00:34:15 +02:00
Héctor Ramón Jiménez
8bb33cd5a0
Initialize wgpu
...
We only enable the `vulkan` feature for now.
2019-10-03 00:23:08 +02:00
Héctor Ramón Jiménez
63294088ad
Open a window using winit
2019-10-03 00:08:16 +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
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