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

32 lines
709 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
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"
```