/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Vladimír Vondruš Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ namespace Magnum { /** @page platforms-windows Windows @brief Tips and tricks for Windows platforms @tableofcontents @m_keyword{ANGLE OpenGL compatibility layer,,} @m_footernavigation @section platforms-windows-hidpi HiDPI support Windows supports two approaches to advertising HiDPI support --- either via the manifest file or through the [SetProcessDpiAwareness()](https://docs.microsoft.com/en-us/windows/desktop/api/shellscalingapi/nf-shellscalingapi-setprocessdpiawareness) API. See the API documentation for more information. @section platforms-windows-rt Windows RT Windows RT is a restricted subset of Windows API, used for UWP / "Metro" / Windows Store apps. The major difference is lack of access to APIs that are common in Win32 world, such as memory-mapped files, DLLs or environment variables. In particular, Windows RT doesn't provide a direct access to OpenGL, the only possibility to use it is through ANGLE. See @ref building-windows-angle and @ref platforms-gl-es-angle for more information. For Windows RT you need to provide logo images and splash screen, all referenced from the `*.appxmanifest` file. The file is slightly different for different targets, template for Windows Store and MSVC 2013 is below, others are in the @ref Platform-Sdl2Application-bootstrap-winrt "SDL2 bootstrap application". @code{.xml} My Application A Publisher assets/logo-store.png @endcode The assets are referenced also from the main `CMakeLists.txt` file. You have to mark all non-source files (except for the `*.pfx` key) with `VS_DEPLOYMENT_CONTENT` property and optionally set their location with `VS_DEPLOYMENT_LOCATION`. If you are using `*.resw` files, these need to have the `VS_TOOL_OVERRIDE` property set to `PRIResource`. @todoc DLL paths @todoc vcpkg @todoc desktop ES @todoc mingw, clang, clang/c2... @todoc "unicode" @todoc colored console output @todoc lcov on mingw (ugh) */ }