Commit graph

75 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
1428e9180a
Make Menu API a bit more functional 2021-07-12 21:38:54 +02:00
Richard
9fc5ad23ed Initial menu implementation 2021-07-05 16:24:10 -03:00
Riccardo D'Ambrosio
5f1b880521
Change examples to point to 0.3 examples, not 0.2 2021-05-13 11:04:09 -04:00
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01:00
Jayce Fayne
b2415eee61 Add smol async runtime 2021-01-14 12:28:02 +01:00
Héctor Ramón Jiménez
745aa49025 Update example links to point to 0.2 branch 2020-11-26 16:37:33 +01:00
Héctor Ramón Jiménez
01322f69a4 Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
782dd2f522 Introduce tokio_old feature
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
2020-11-25 03:06:24 +01:00
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