5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-08 19:01:29 +08:00
wails/v3/examples/window
Mohamed Gharib efe0c8d534
[v3-Windows] New DIP system for Enhanced High DPI Monitor Support (#3665)
* [v3-Windows] New DIP system for Enhanced High DPI Monitor Support

* Update changelog

* Remove asset middleware

* Remove SetThreadDpiAwarenessContext()

* Fix macOS build.

* Fill missing screens fields (linux, darwin)

* Skip DPI transformation on unsupported platforms

* Simplify distanceFromRectSquared()

* Update v3/pkg/application/screenmanager.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-22 08:38:30 +10:00
..
assets [v3-Windows] New DIP system for Enhanced High DPI Monitor Support (#3665) 2024-09-22 08:38:30 +10:00
main.go [v3-Windows] New DIP system for Enhanced High DPI Monitor Support (#3665) 2024-09-22 08:38:30 +10:00
README.md Mac examples + readme updated 2023-10-17 20:25:36 +11:00
windows.go Fix non-windows build issues 2024-06-09 08:28:38 +10:00

Window Example

This example is a demonstration of the Windows API.

Running the example

To run the example, simply run the following command:

go run .

Status

Platform Status
Mac
Windows Working
Linux