Commit graph

40 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
a97401aed2 Rethink workspace structure 2019-09-14 19:16:06 +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
c583a2174d Improve tour example 2019-09-04 11:09:57 +02:00
Héctor Ramón Jiménez
6fbba6f4ee Make clippy happy 2019-08-31 06:20:56 +02:00
Héctor Ramón Jiménez
eecac7b5d1 Remove nalgebra dependency
- Implement our own `Point` and `Vector` types
  - Make `Rectangle` not generic
2019-08-31 04:31:13 +02:00
Héctor Ramón Jiménez
343cafa1ee Address documentation feedback
- Fix broken links
  - Mention generic `Color` in some widgets
  - Clarify meaning of renderer-agnostic in usage/overview example
2019-08-31 04:08:28 +02:00
Héctor Ramón Jiménez
1e3a415379 Link to temp documentation in README for now 2019-08-30 22:59:44 +02:00
Héctor Ramón Jiménez
072cdab489 Write documentation example for Element::map 2019-08-30 02:59:53 +02:00
Héctor Ramón Jiménez
fafad2dfca Write renderer docs and fix broken links 2019-08-29 01:28:00 +02:00
Héctor Ramón Jiménez
51050fc45c Improve Overview section in README 2019-08-28 06:57:40 +02:00
Héctor Ramón Jiménez
8758dd446f Write more documentation 2019-08-28 06:45:39 +02:00
Héctor Ramón Jiménez
d59d3f033d Write documentation for root module 2019-08-26 04:10:32 +02:00
Héctor Ramón Jiménez
bdab6f9d1a Update README 2019-08-25 05:22:17 +02:00
Héctor Ramón Jiménez
ec66e3fc1b Remove Runtime and expose Cache instead 2019-08-23 05:53:54 +02:00
Héctor Ramón Jiménez
e55ac637a9 Add Runtime concept to abstract caching 2019-07-23 10:49:24 +02:00
Héctor Ramón Jiménez
2b7ad3d50e Decouple iced from coffee 2019-07-20 19:12:31 +02:00
Héctor Ramón Jiménez
eefdcbe06c Initial commit 2019-05-29 03:17:48 +02:00