Commit graph

77 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
cdd34e1e4b Implement image viewer example 2019-11-30 02:14:56 +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
bbcd16c335
Merge pull request #66 from hecrj/feature/new-web-tour
Make `tour` work with `iced_web` again
2019-11-24 19:15:28 +01:00
Héctor Ramón Jiménez
9f3abe9202 Spawn Command futures in iced_web 2019-11-24 11:26:28 +01:00
Héctor Ramón Jiménez
d0f79d2779 Make tour work with iced_web again 🎉
- Implements `TextInput`, `Scrollable`, and `Container`
- Adds basic style generation
2019-11-23 20:23:38 +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
6857829dc3 Draft Font type and implement Text::font 2019-11-13 07:22:21 +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
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
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
719c073fc6 Draft Scrollable widget (no clipping yet!) 2019-10-25 03:47:34 +02: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
655978f480 Draft nodes for missing widgets 2019-09-15 18:53:13 +02:00
Héctor Ramón Jiménez
8834772fa7 Draft widget nodes and wire interaction 2019-09-15 17:43:15 +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
b67aa0b25f Fix link in Image docs 2019-09-05 10:02:55 +02:00
Héctor Ramón Jiménez
c48739029b Ask users to share use cases 2019-09-05 09:59:38 +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
2c35103035 Fix docs for image 2019-09-03 14:30:12 +02:00
Héctor Ramón Jiménez
3e41c4b590 Fix docs for progress_bar 2019-09-03 14:17:36 +02:00
Héctor Ramón Jiménez
5c5612d931 Apply latest changes to Image and ProgressBar 2019-09-03 13:56:43 +02:00
Héctor Ramón Jiménez
b08c999ac8 Merge branch 'image_and_progress-bar' 2019-09-03 13:48:01 +02:00
Héctor Ramón Jiménez
52394732fc Fix Image and ProgressBar doc examples 2019-09-03 13:47:32 +02:00
Héctor Ramón Jiménez
e79c69de89 Improve wording in UserInterface::build (2) 2019-09-03 04:49:58 +02:00
Héctor Ramón Jiménez
a2386773a7 Improve wording in UserInterface::build 2019-09-03 02:56:19 +02:00
Héctor Ramón Jiménez
c7956cf526 Remove Default constraint for checkbox Color 2019-09-02 06:25:16 +02:00
Héctor Ramón Jiménez
28009bc26d Add conversion for MouseButton in winit 2019-09-02 05:10:14 +02:00