Lines 614-619
Link Here
|
614 |
static ImageList* _pBigOfficeImgList = NULL; |
614 |
static ImageList* _pBigOfficeImgList = NULL; |
615 |
static ImageList* _pSmallHCOfficeImgList = NULL; |
615 |
static ImageList* _pSmallHCOfficeImgList = NULL; |
616 |
static ImageList* _pBigHCOfficeImgList = NULL; |
616 |
static ImageList* _pBigHCOfficeImgList = NULL; |
|
|
617 |
static ULONG nStyle = Application::GetSettings().GetStyleSettings().GetSymbolsStyle(); |
618 |
|
619 |
//If the style has been changed, throw away our cache of the older images |
620 |
if (nStyle != Application::GetSettings().GetStyleSettings().GetSymbolsStyle()) |
621 |
{ |
622 |
delete _pSmallOfficeImgList, _pSmallOfficeImgList = NULL; |
623 |
delete _pBigOfficeImgList, _pBigOfficeImgList = NULL; |
624 |
delete _pSmallHCOfficeImgList, _pSmallHCOfficeImgList = NULL; |
625 |
delete _pBigHCOfficeImgList, _pBigHCOfficeImgList = NULL; |
626 |
nStyle = Application::GetSettings().GetStyleSettings().GetSymbolsStyle(); |
627 |
} |
617 |
|
628 |
|
618 |
// #i21242# MT: For B&W we need the HC Image and must transform. |
629 |
// #i21242# MT: For B&W we need the HC Image and must transform. |
619 |
// bHiContrast is TRUE for all dark backgrounds, but we need HC Images for HC White also, |
630 |
// bHiContrast is TRUE for all dark backgrounds, but we need HC Images for HC White also, |
Lines 682-687
Link Here
|
682 |
static ImageList* _pBigImageList = NULL; |
693 |
static ImageList* _pBigImageList = NULL; |
683 |
static ImageList* _pSmallHCImageList = NULL; |
694 |
static ImageList* _pSmallHCImageList = NULL; |
684 |
static ImageList* _pBigHCImageList = NULL; |
695 |
static ImageList* _pBigHCImageList = NULL; |
|
|
696 |
static ULONG nStyle = Application::GetSettings().GetStyleSettings().GetSymbolsStyle(); |
697 |
|
698 |
//If the style has been changed, throw away our cache of the older images |
699 |
if (nStyle != Application::GetSettings().GetStyleSettings().GetSymbolsStyle()) |
700 |
{ |
701 |
delete _pSmallImageList, _pSmallImageList = NULL; |
702 |
delete _pBigImageList, _pBigImageList = NULL; |
703 |
delete _pSmallHCImageList, _pSmallHCImageList = NULL; |
704 |
delete _pBigHCImageList, _pBigHCImageList = NULL; |
705 |
nStyle = Application::GetSettings().GetStyleSettings().GetSymbolsStyle(); |
706 |
} |
707 |
|
685 |
|
708 |
|
686 |
if ( bBig ) |
709 |
if ( bBig ) |
687 |
{ |
710 |
{ |