Commit graph

105 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
01bc95c2a3 Remove redundant closure in Application::run 2020-03-29 15:22:56 +02:00
Héctor Ramón Jiménez
e23e93218c Convert WindowEvent from a reference in iced_winit 2020-03-27 22:06:20 +01:00
Héctor Ramón Jiménez
c7583f1227 Merge branch 'master' into feature/panes-widget 2020-03-17 03:23:10 +01:00
Héctor Ramón Jiménez
f08cb4ad56 Implement mouse-based pane resizing for PaneGrid 2020-03-14 08:10:50 +01:00
Héctor Ramón Jiménez
f1168187c9 Update window_clipboard in iced_winit 2020-03-12 07:32:04 +01:00
Héctor Ramón Jiménez
aac7ad3e14 Update winit to 0.22 2020-03-09 22:35:25 +01:00
Héctor Ramón Jiménez
2e457c394f Quit application when Cmd+Q is pressed on macOS 2020-02-19 14:53:08 +01:00
Héctor Ramón Jiménez
09cf0b7af3 Enter executor context only on Recipe creation 2020-02-16 11:31:37 +01:00
Héctor Ramón Jiménez
75d8de93ae Wrap application initialization with Runtime::enter 2020-02-16 11:25:10 +01:00
Héctor Ramón Jiménez
a244f93243 Avoid Size name collision iniced_winit 2020-02-09 05:31:55 +01:00
Héctor Ramón Jiménez
fbfd76023b Remove dead code in iced_winit::debug::Null 2020-02-09 05:26:20 +01:00
Héctor Ramón Jiménez
ce6806bbf4 Remove event conversion from iced_winit::Application 2020-02-09 05:24:54 +01:00
Héctor Ramón Jiménez
3efede2662 Add conversion::window_event to iced_winit 2020-02-09 05:23:21 +01:00
Héctor Ramón Jiménez
8f0b59a4b2 Remove scale_factor from iced_wgpu::Viewport 2020-02-09 03:36:59 +01:00
Héctor Ramón Jiménez
f1e20a61f1 Allow iced_wgpu to render to any TextureView 2020-02-09 03:25:13 +01:00
Imbris
8e4741ad77 Update winit to 0.21 2020-02-07 23:51:05 -05:00
Héctor Ramón Jiménez
7d9378752a Increase precision of scale_factor in Windowed 2020-02-07 23:50:10 -05:00
Héctor Ramón Jiménez
fbc9deb424 Implement an opaque Size type
It immutably ties physical and logical sizes to a specific scale factor.
2020-02-07 23:50:10 -05:00
Héctor Ramón Jiménez
1d71f78f90 Keep is_private_use_character filter for now 2020-02-07 23:34:32 -05:00
Héctor Ramón Jiménez
fb4a7968ca Update winit to 0.20 2020-02-07 23:34:32 -05:00
Héctor Ramón
7b892eb3e1
Merge pull request #177 from hecrj/feature/web-subscriptions
Event subscriptions and custom executors for `iced_web`
2020-02-04 10:33:13 -06:00
Héctor Ramón
12292126dc
Merge pull request #178 from hecrj/expose-winit-clipboard
Expose `iced_winit::Clipboard`
2020-02-03 21:25:36 -06:00
Héctor Ramón Jiménez
9a875864cf Write docs for iced_winit::Clipboard
Also explicitly allow the missing debug implementation.
2020-02-04 03:58:40 +01:00
Héctor Ramón Jiménez
6d46833eb2 Support event subscriptions in iced_web
Also improves the overall web runtime, avoiding nested update loops.
2020-02-04 03:28:47 +01:00
Héctor Ramón Jiménez
f5186f31f1 Fix docs.rs links
Related issue: https://github.com/rust-lang/docs.rs/issues/223
2020-02-03 23:53:34 +01:00
Imbris
98f20e4cc1 Make Clipboard public 2020-02-01 22:05:42 -05:00
Héctor Ramón Jiménez
a30553ddbb Forbid unsafe code and Rust 2018 idioms 2020-01-20 10:52:06 +01:00
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