Remove Wayland theme intermediates (#1209)
* Remove Wayland theme intermediates This removes the intermediate struct for passing a Wayland theme to allow the user direct implementation of the trait. By passing the trait directly, it is possible for downstream users to have more freedom with customization without relying on winit to offer these options as fields. It should also make maintenance easier, since winit already doesn't implement all the functions which are offered by the smithay client toolkit. * Reimplement SCTK's Theme and ButtonState * Fix style issues * Remove public signature * Format code * Add change log entry Co-authored-by: Murarth <murarth@gmail.com>
This commit is contained in:
parent
66fe69edd9
commit
e295104199
2 changed files with 98 additions and 72 deletions
|
|
@ -11,6 +11,7 @@
|
|||
- **Breaking:** `WindowEvent::CursorMoved` changed to `f64` units, preserving high-precision data supplied by most backends
|
||||
- On Wayland, fix coordinates in mouse events when scale factor isn't 1
|
||||
- On Web, add the ability to provide a custom canvas
|
||||
- **Breaking:** On Wayland, the `WaylandTheme` struct has been replaced with a `Theme` trait, allowing for extra configuration
|
||||
|
||||
# 0.20.0 (2020-01-05)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue