Home GnuPG
Diffusion GpgOL 4c573f3c8984

Description

Cache icons

* src/ribbon-callbacks.cpp (getIcon): Use dispcache.
(getIconDisp): New.

While this may not be much it felt excessive to initialize
GDIPlus and convert the icon from PNG to bitmap for each
getIcon call even though the icons never change over
the lifetime of GpgOL

Details

Provenance
aheineckeAuthored on Aug 29 2018, 11:28 AM
Parents
rOab6b52deb626: Accept sent on behalf of as the sender address
Branches
Unknown
Tags
Unknown
Tasks
T4113: GpgOL, Performance: Cache icons for RibbonUI