mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
bdc01fee1a
* Implement set_fullscreen for windows * Implement get_current_monitor for windows * Implement set_maximized * Implement set_decorations for windows * Update CHANGELOG.md * Fixed minor syntax bug for stable rust version * Added support for WindowBuilder::with_maximized * Move all window sized related functions to main thread * Refactor and formatting force_window_active * Remove unused code * Update CHANGELOG.md * Refactor and change keyboard handling code * Reformatting and refactoring * Added back missing link for comment * Fixed set_maximized and set_fullscreen wrong order bug * Call ShowWindow(SW_RESTORE) when restore_saved_window * Sync system maximized status when set_fullscreen * Fixed wrong function name
53 lines
1.3 KiB
TOML
53 lines
1.3 KiB
TOML
[package]
|
|
name = "winit"
|
|
version = "0.12.0"
|
|
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
|
description = "Cross-platform window creation library."
|
|
keywords = ["windowing"]
|
|
license = "Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tomaka/winit"
|
|
documentation = "https://docs.rs/winit"
|
|
categories = ["gui"]
|
|
|
|
[dependencies]
|
|
lazy_static = "1"
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.android_glue]
|
|
version = "0.2"
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
objc = "0.2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc = "0.2"
|
|
cocoa = "0.14"
|
|
core-foundation = "0.5"
|
|
core-graphics = "0.13"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
|
version = "0.3"
|
|
features = [
|
|
"winnt",
|
|
"winuser",
|
|
"wingdi",
|
|
"shellapi",
|
|
"dwmapi",
|
|
"processthreadsapi",
|
|
"libloaderapi",
|
|
"windowsx",
|
|
"hidusage",
|
|
"combaseapi",
|
|
"objbase",
|
|
"unknwnbase",
|
|
]
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
|
|
wayland-client = { version = "0.12.0", features = ["dlopen"] }
|
|
wayland-protocols = { version = "0.12.0", features = ["unstable_protocols"] }
|
|
wayland-kbd = "0.13.0"
|
|
wayland-window = "0.13.0"
|
|
x11-dl = "2.17"
|
|
percent-encoding = "1.0"
|