Héctor Ramón Jiménez
9ca65c9f18
Fix missing Subscription type in iced_web
2019-12-18 23:57:02 +01:00
Héctor Ramón
0f2e20f5e5
Merge pull request #122 from hecrj/feature/event-subscriptions
...
Event subscriptions
2019-12-16 21:38:56 +01:00
Héctor Ramón Jiménez
6ba2461445
Update Svg documentation
2019-12-15 06:28:44 +01:00
Héctor Ramón Jiménez
d6c3da21f7
Write docs for subscriptions and reorganize a bit
2019-12-14 05:56:46 +01:00
Malte Veerman
27717bc70c
Renamed Icon widget to Svg and gave it separate width and height.
...
The aspect ratio is now preserved like in the `Image` widget.
2019-12-12 01:25:18 +01:00
Malte Veerman
5696afcadd
Ran cargo_fmt over changed files.
2019-12-11 22:13:29 +01:00
Malte Veerman
a88aae5e04
Added an Icon widget to native.
2019-12-11 21:34:40 +01:00
Héctor Ramón Jiménez
98160406f7
Allow listening to runtime events in subscriptions
2019-12-08 08:21:26 +01:00
Héctor Ramón Jiménez
d575f45411
Draft first version of event subscriptions 🎉
2019-12-05 06:10:13 +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 Jiménez
561c3641c6
Merge branch 'master' into feature/image-from-bytes
2019-12-04 04:01:12 +01:00
Héctor Ramón Jiménez
369ed9bc2e
Add decorations to settings::Window
2019-12-03 07:08:12 +01:00
hatoo
97f1f3dcf4
Modify src/settings.rs to keep original API
2019-12-02 21:57:07 +09:00
hatoo
a33f49ff4b
Remove platform-specific logic from iced
...
Make Window.platform_specific use iced_winit::settings::PlatformSpecific
2019-12-01 14:55:05 +09:00
hatoo
5077f1dc6a
Add platform specific settings
2019-11-30 21:48:33 +09:00
hatoo
f0a857ddde
Add decorations to Setting
2019-11-30 21:03:50 +09:00
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