Commit graph

78 commits

Author SHA1 Message Date
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
35760ac68f Make thread-pool optional in iced_futures 2020-01-19 11:08:47 +01:00
Héctor Ramón Jiménez
b5b17ed4d8 Create iced_futures and wire everything up 2020-01-19 10:17:44 +01:00
Héctor Ramón
6ca5e6184f
Merge pull request #162 from hecrj/feature/window-file-events
Window file events
2020-01-16 18:34:29 +01:00
Héctor Ramón Jiménez
b3106738eb Produce new window file events in iced_winit 2020-01-16 07:18:17 +01:00
Héctor Ramón Jiménez
f73bacb454 Add file events to iced_native:🪟:Event 2020-01-16 07:12:59 +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
Héctor Ramón Jiménez
d6b20d3e79 Add Application::mode to iced_winit 2020-01-16 04:54:48 +01:00
Héctor Ramón Jiménez
e6aa25a103 Make layout bounds explicit in UserInterface 2020-01-10 03:10:58 +01:00
Héctor Ramón Jiménez
e45497dfd6 Move Debugger and Windowed to a better location
We move `renderer::Debugger` to `layout::Debugger` and
`renderer::Windowed` to `window::Renderer`.
2020-01-10 01:58:55 +01:00
Héctor Ramón Jiménez
d15d1156bd Produce window::Event::Resized in iced_winit 2020-01-10 01:34:41 +01:00
Héctor Ramón Jiménez
bbc8f837d7 Merge branch 'master' into feature/custom-styling 2020-01-05 22:03:32 +01:00
Héctor Ramón Jiménez
8d6f86b317 Remove background from Settings 2020-01-05 18:11:54 +01:00
Songtronix
d60f3b89a7 add(widget): primitive progressbar widget 2020-01-02 11:11:08 +01:00
Héctor Ramón Jiménez
d96ced8e2d Allow configuration of default font 2020-01-01 17:49:48 +01:00
Héctor Ramón Jiménez
e1062a02d1 Move styling to a brand new iced_style crate 2020-01-01 14:16:10 +01:00
Héctor Ramón Jiménez
fb9cc0262b Draft basic styling for Container 2019-12-31 11:36:54 +01:00
Héctor Ramón Jiménez
89a6b8a9a1 Rename Settings::background_color to background 2019-12-29 12:31:47 +01:00
Héctor Ramón Jiménez
f74ab463d4 Add background_color to Settings 2019-12-29 12:29:47 +01:00
Héctor Ramón Jiménez
62474d0e75 Use personal fork of winit until 0.20 lands
Fixes #135
2019-12-24 02:56:12 +01:00
Héctor Ramón Jiménez
972b9520bf Use latest window_clipboard changes 2019-12-19 06:34:44 +01:00
Héctor Ramón Jiménez
a14b39555e Allow clipboard access in Widget::on_event 2019-12-18 07:45:49 +01:00
Héctor Ramón Jiménez
3daa9c2cc8 Log broadcast error as an error instead of a warning 2019-12-14 06:42:26 +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
Héctor Ramón Jiménez
293314405f Make iced_native subscription input opaque 2019-12-14 04:49:13 +01:00
Héctor Ramón Jiménez
65ff3744a0 Remove unnecessary event loop proxy Mutex
I am not sure why I had to use it in the first place...
2019-12-14 01:33:31 +01:00
Héctor Ramón Jiménez
c688452d7b Consume Recipe when building a Stream 2019-12-14 01:13:01 +01:00
Héctor Ramón Jiménez
cdb7acf6c2 Implement Subscription::map and from_recipe 2019-12-10 03:43:00 +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
9b84b6e403 Merge branch 'master' into feature/event-subscriptions 2019-12-08 06:53:54 +01:00
Héctor Ramón Jiménez
48145ba51e Use oneshot and future::select to cancel streams 2019-12-07 08:51:44 +01:00
Héctor Ramón Jiménez
65cac922b3 Add ModifiersState to keyboard::Event::Input 2019-12-06 04:01:48 +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
60b32a9fed
Merge pull request #94 from hatoo/improve-setting
Improve window setting
2019-12-03 07:38:03 +01:00
Héctor Ramón Jiménez
7756081fdb Refactor window creation in iced_winit 2019-12-03 07:20:22 +01:00
hatoo
287f3ea99a Add tailing newline to winit/Cargo.toml 2019-12-02 21:58:35 +09:00
Héctor Ramón
805c5ad0cd
Merge pull request #84 from hecrj/fix/event-processing
Process events only when necessary
2019-12-01 03:33:40 +01: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
826bc374b1 Process events only when necessary
Additionally, this also fixes a bug where the old size was being used
for layouting after a resize.
2019-11-28 21:05:17 +01:00
Héctor Ramón Jiménez
80a8a57471 Stop loading a mono font just for the debug view 2019-11-26 15:33:38 +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
862859142b Add CHANGELOG to subcrates 2019-11-25 14:55:14 +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
bbeb03504a Stop emitting private use characters on macOS 2019-11-24 12:27:39 +01:00
Héctor Ramón Jiménez
580891dda7 Write docs for iced_winit 2019-11-22 22:14:48 +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
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
4b94cf0035 Add installation section to subcrate READMEs 2019-11-20 09:56:16 +01:00