mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10797
This commit is contained in:
parent
412d22012d
commit
6288533ed2
|
@ -532,6 +532,12 @@ bool CTaskBarIcon::SetIcon(const wxIcon& icon, const wxString& tooltip) {
|
|||
// Convert the wxIcon into a wxBitmap so we can perform some
|
||||
// wxBitmap operations with it
|
||||
wxBitmap bmp( macIcon ) ;
|
||||
|
||||
// wxMac's XMP image format always uses 32-bit pixels but allows only
|
||||
// 1-bit masks, so we use a separate XMP file for the 8-bit mask to
|
||||
// allow us to do proper anti-aliasing of the badges. This code assumes
|
||||
// that all badges are the same size circle and at the same position so
|
||||
// that they can share a single mask.
|
||||
wxBitmap mask_bmp( macbadgemask ) ;
|
||||
h = bmp.GetHeight();
|
||||
w = bmp.GetWidth();
|
||||
|
|
Loading…
Reference in New Issue