Commit graph

106 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4aed0fa4b6 Rename window::Backend to Compositor 2020-05-19 20:01:55 +02:00
Héctor Ramón Jiménez
d4743183d4 Draft first working version of iced_glow 🎉 2020-05-19 14:23:28 +02:00
Héctor Ramón Jiménez
98bc8cf2a7 Rename MouseCursor to mouse::Interaction 2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
bb9ccc4f62 Remove inconsistent input module in iced_native 2020-04-30 05:04:45 +02:00
Héctor Ramón Jiménez
d8b9e03481 Remove ButtonState 2020-04-30 04:54:49 +02:00
Héctor Ramón Jiménez
e55cd9652e Split Input mouse event by ButtonState 2020-04-30 04:53:15 +02:00
Héctor Ramón Jiménez
e139aae143 Split Input keyboard event by ButtonState 2020-04-30 04:34:29 +02:00
Héctor Ramón Jiménez
0509710cc5 Add Crosshair variant to MouseCursor 2020-04-29 03:14:59 +02:00
Héctor Ramón Jiménez
59403b6ca8 Remove OutOfBounds variant from MouseCursor 2020-04-29 03:11:15 +02:00
Héctor Ramón Jiménez
ae546a5b9d Revert "Merge pull request #289 from hecrj/fix/cursor-events"
`winit` seems to produce `CursorEntered` and `CursorLeft` events after
wheel scrolling for no apparent reason (?). This causes annoying flickering when hovering some widgets on a scrollable.

I should investigate this further. We are rolling back the fix for the
time being.
2020-04-17 23:27:50 +02:00
Héctor Ramón Jiménez
4b0cc178dd Produce cursor events in iced_winit::conversion 2020-04-12 00:37:13 +02:00
Héctor Ramón Jiménez
8c8325d0cf Write documentation for the debug feature 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
15aa40df40 Add missing link to conversion::fullscreen 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
f5e7e0625e Improve docs for Sandbox and Application 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
26a35b7d7e Clarify return policy of Application::run 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
c4c5216e3b Allow passing external state to Application::new 2020-03-30 18:10:15 +02:00
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
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
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 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
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
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