Commit graph

28 commits

Author SHA1 Message Date
Nikolai Vazquez
267e242238 Make many functions const
The point is to set up repeated components or boilerplate before their
use sites.

The majority of these make sense as `const`. However, some functions
such as those regarding state may not make sense as `const`.
2019-11-29 21:24:52 -05:00
Héctor Ramón Jiménez
862859142b Add CHANGELOG to subcrates 2019-11-25 14:55:14 +01:00
Héctor Ramón Jiménez
2b2a0f12c7 Update document title properly in iced_web 2019-11-24 11:33:50 +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
b2721661f5 Style Button min-width in iced_web 2019-11-24 11:03:55 +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
fa227255b0 Write docs for iced_web 2019-11-22 22:14:04 +01:00
Héctor Ramón Jiménez
42e775fece Merge branch 'master' into improvement/docs 2019-11-22 20:30:57 +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
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
409b2db994 Add usage section to iced_web 2019-11-20 10:54:32 +01:00
Héctor Ramón Jiménez
4b94cf0035 Add installation section to subcrate READMEs 2019-11-20 09:56:16 +01:00
Héctor Ramón Jiménez
cb4827059f Add README for each subcrate 2019-11-20 09:41:04 +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
c7ef9d0da7 Connect iced_web with iced properly 2019-10-23 02:33:07 +02:00
Héctor Ramón Jiménez
f8a232c8af Remove generic handle in Image
For now, we will simply assume images will be loaded from a given path.
2019-10-22 23:20:24 +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
5e28f80af8 Improve documentation 2019-09-24 15:15:34 +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
dd093c79d7 Use futures-preview instead of futures 2019-09-16 18:04:23 +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
27ac85a9d9 Draft web runtime and widgets 2019-09-14 20:54:50 +02:00
Héctor Ramón Jiménez
a97401aed2 Rethink workspace structure 2019-09-14 19:16:06 +02:00