Héctor Ramón Jiménez
72f89ba77f
Fix cursor position after a CursorLeft event
2020-08-25 01:39:54 +02:00
Héctor Ramón Jiménez
4030326a35
Handle ScaleFactorChanged in iced_winit
2020-07-16 18:18:36 +02:00
Héctor Ramón Jiménez
78cb805fac
Add ModifiersChanged to keyboard::Event
2020-06-30 07:36:13 +02:00
Héctor Ramón Jiménez
f30a666dc8
Decouple cursor_position from Cache
...
Instead, we ask explicitly for it in the different `update` and `draw` methods.
This way, the runtime can derive the logical position of the cursor from
the source of truth.
2020-06-23 06:44:34 +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
15aa40df40
Add missing link to conversion::fullscreen
2020-04-02 03:44:14 +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
f08cb4ad56
Implement mouse-based pane resizing for PaneGrid
2020-03-14 08:10:50 +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
fb4a7968ca
Update winit to 0.20
2020-02-07 23:34:32 -05: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
Songtronix
d60f3b89a7
add(widget): primitive progressbar widget
2020-01-02 11:11:08 +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
580891dda7
Write docs for iced_winit
2019-11-22 22:14:48 +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
fb8b50ab79
Move winit conversions to iced_winit
2019-10-10 05:44:33 +02:00