winit-sonoma-fix/src/platform
Christian Duerr e295104199 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>
2020-01-26 19:56:54 -07:00
..
android.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
desktop.rs WIP - Make EL2 DPI changes and implement on Windows (#895) 2020-01-05 14:15:11 -05:00
ios.rs Rename hidpi_factor to scale_factor (#1334) 2020-01-05 14:15:12 -05:00
macos.rs Fix warnings on macos (#1419) 2020-01-26 13:55:27 -07:00
mod.rs Update the documentation to reflect web support (#1183) 2019-09-24 19:33:32 -04:00
unix.rs Remove Wayland theme intermediates (#1209) 2020-01-26 19:56:54 -07:00
web.rs Add the ability to pass a prebuilt canvas (#1394) 2020-01-15 21:20:14 -05:00
windows.rs Add support for Windows Dark Mode (#1217) 2019-12-22 12:04:09 -07:00