summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsstyle_p_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-03-04 10:39:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-04-05 07:27:34 +0000
commit670a9c00ef5ee4bbcbaaefa9482e39359180ac4f (patch)
tree55e0d9f3501d25c0b2ab7238a38c69dc1b37548e /src/widgets/styles/qwindowsstyle_p_p.h
parent0e088bd22cb5b8565cae76592dbbe354de1b4f0d (diff)
Windows XP style: Allow High DPI scaling to draw directly.
Previously, the style defaulted to drawing via pixmaps when the device transformation of the QPainter was more complex than TxTranslate. Introduce an enumeration describing the transformation to be able to identify the scaling used by High DPI scaling and allow for direct drawing in that case as well. Add scale factors. Create pixmaps with device pixel ration in drawBackgroundThruNativeBuffer() if High DPI scaling is in effect. Issues: Borders may go missing due to the up-scaling/rounding. Code branches for DrawBackgroundEx==0 are not touched since it is assumed these old versions of Windows do not run in High DPI. Task-number: QTBUG-49374 Change-Id: Idfe1887e4fac3be2843438dc76cb4971a198ab2a Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/widgets/styles/qwindowsstyle_p_p.h')
0 files changed, 0 insertions, 0 deletions