summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsiconengine.h
Commit message (Collapse)AuthorAgeFilesLines
* QIcon: clean up Windows and Android icon enginesVolker Hilsheimer2023-12-071-10/+3
| | | | | | | | | | | | Use good old QString for the list of glyphs, and just render what we get. The use case where we need to draw multiple symbols on top of each other is (for now) academic, and we can support emojis just with QString. Proof the latter point by mapping "banana" to the respective emoji. Change-Id: I8005a99f015e6eb2a2a635f9d892163f2008a673 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Add initial implementation of a Windows icon engineVolker Hilsheimer2023-11-231-0/+54
Implement an icon engine for Windows that renders glyphs from the Segoe Fluent Icons font on Windows 11 and the Segoe MDL2 Assets fonts on Windows 10. These fonts are installed on the respective Windows versions by default, and otherwise freely avialable for deployment. Icons from that font will mostly be based on single code points, but as the font is specifically designed to allow combining glyphs by layering, the implementation supports multiple code points as well, and can also use a surrogate pair as well to render e.g. an emoji. Task-number: QTBUG-102346 Change-Id: Ib47a267c3a1878d8f0e00dd954496fc338bb0110 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>