This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/dpiawareness.md
2021-03-12 22:10:24 +01:00

32 lines
709 B
Markdown

Sets the DPI awareness settings.
```lua
dpiawareness "value"
```
### Parameters ###
`value` is one of:
| Value | Description |
|----------------|------------------------------------------------------|
| Default | Use the toolset's default setting for DPI awareness. |
| None | Turn off DPI awareness. |
| High | Turn on DPI awareness. |
| HighPerMonitor | Turn on DPI awareness per monitor. |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
### Examples ###
```lua
-- Turn on DPI awareness
dpiawareness "High"
```