Lukas Jung
|
cea17c1958
|
Add mouse-cursor support to glwindow backend
|
2021-12-07 22:41:24 +01:00 |
|
Simon Hausmann
|
b29b2cfaea
|
Make WinitWindow::apply_window_properties work outside the GL backend crate
Move the image loading related bit for the icon back into glwindow.
Amends commit
51469be56b .
|
2021-11-12 11:44:39 +01:00 |
|
Simon Hausmann
|
51469be56b
|
Move more of the winit related code from PlatformWindow impl into WinitWindow
This will allow code sharing with the simulator in the future.
|
2021-11-12 09:02:52 +01:00 |
|
Simon Hausmann
|
68ec3ccf6f
|
GL backend cleanup
Move the window constraint application handling into WinitWindow,
for future sharing.
|
2021-11-11 11:47:54 +01:00 |
|
Simon Hausmann
|
ad1b251966
|
Internal cleanup
Centralize the setting of the width/height on the window item in the core library.
|
2021-11-11 11:47:54 +01:00 |
|
Simon Hausmann
|
1fb101c0a0
|
GL window cleanup
Remove internal component() function. There was only one call site.
|
2021-11-11 11:47:54 +01:00 |
|
Simon Hausmann
|
6fe9c3c23c
|
GL window cleanup
Inline map_window() and unmap_window()
|
2021-11-11 11:47:52 +01:00 |
|
Simon Hausmann
|
3c0607276c
|
Make the GL backends' winit driven event loop a reusable module
Abstract away the dependency to the former GraphicsWindow by
(1) Renaming GraphicsWindow to GLWindow
(2) Introducing a WinitWindow trait
|
2021-11-11 11:45:56 +01:00 |
|