summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsstyle_p.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2016-02-24 17:19:37 -0800
committerGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2016-03-17 16:57:31 +0000
commit7c7ece94429d6e12e0543c275d26fd90501193ff (patch)
tree3718c38c165e4484c21e491c02791caaacdb1a4f /src/widgets/styles/qwindowsstyle_p.h
parentc6bf48dcbfd6b1048cddfd127b95dce27815709f (diff)
QMacStyle: Ensure proper focus ring clipping
By rendering the focus ring directly on the backing NSView, we would ignore the painter's clipping information. It would also require creating a custom CGContext and attached NSGraphicsContext every time. The first step is to render the focus ring on a pixmap and then use the painter to render that pixamp. This ensures the clipping is done properly. The second step is to cache said pixmap and render it as a nine-patch image. Change-Id: I1df1baf7dc490023319f025a16306d4f04e5264c Task-number: QTBUG-50645 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'src/widgets/styles/qwindowsstyle_p.h')
0 files changed, 0 insertions, 0 deletions