JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
List of all members
juce::ScopedDPIAwarenessDisabler Class Reference

A Windows-specific class that temporarily sets the DPI awareness context of the current thread to be DPI unaware and resets it to the previous context when it goes out of scope. More...

#include "juce_ScopedDPIAwarenessDisabler.h"

Detailed Description

A Windows-specific class that temporarily sets the DPI awareness context of the current thread to be DPI unaware and resets it to the previous context when it goes out of scope.

If you create one of these before creating a top-level window, the window will be DPI unaware and bitmap stretched by the OS on a display with >100% scaling.

You shouldn't use this unless you really know what you are doing and are dealing with native HWNDs.

@tags{GUI}

Definition at line 44 of file juce_ScopedDPIAwarenessDisabler.h.

Constructor & Destructor Documentation

◆ ScopedDPIAwarenessDisabler()

juce::ScopedDPIAwarenessDisabler::ScopedDPIAwarenessDisabler ( )

Definition at line 30 of file juce_ScopedDPIAwarenessDisabler.cpp.

◆ ~ScopedDPIAwarenessDisabler()

juce::ScopedDPIAwarenessDisabler::~ScopedDPIAwarenessDisabler ( )

Definition at line 31 of file juce_ScopedDPIAwarenessDisabler.cpp.


The documentation for this class was generated from the following files: