tdf#106224 Support extra large savemodified icon
For now just duplicated the large icon in Galaxy, to satisfy the resource compiler. Change-Id: Icf31df0185a1ec7f080d9600b2536bcaa5d0783e
This commit is contained in:
parent
b398dacbb4
commit
98a03d9b0d
@ -55,6 +55,7 @@
|
|||||||
|
|
||||||
#define BMP_SAVEMODIFIED_SMALL (RID_IMAGE_START+0)
|
#define BMP_SAVEMODIFIED_SMALL (RID_IMAGE_START+0)
|
||||||
#define BMP_SAVEMODIFIED_LARGE (RID_IMAGE_START+1)
|
#define BMP_SAVEMODIFIED_LARGE (RID_IMAGE_START+1)
|
||||||
|
#define BMP_SAVEMODIFIED_EXTRALARGE (RID_IMAGE_START+2)
|
||||||
|
|
||||||
#define POPUPMENU_TOOLBAR_QUICKCUSTOMIZATION (RID_MENU_START+0)
|
#define POPUPMENU_TOOLBAR_QUICKCUSTOMIZATION (RID_MENU_START+0)
|
||||||
|
|
||||||
|
@ -214,4 +214,9 @@ Bitmap BMP_SAVEMODIFIED_LARGE
|
|||||||
File = "savemodified_large.png";
|
File = "savemodified_large.png";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Bitmap BMP_SAVEMODIFIED_EXTRALARGE
|
||||||
|
{
|
||||||
|
File = "savemodified_extralarge.png";
|
||||||
|
};
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@ -507,8 +507,12 @@ void SaveToolbarController::updateImage()
|
|||||||
}
|
}
|
||||||
else if ( m_bModified )
|
else if ( m_bModified )
|
||||||
{
|
{
|
||||||
Image aResImage(BitmapEx(eImageType == vcl::ImageType::Size16 ? FwkResId(BMP_SAVEMODIFIED_SMALL) : FwkResId(BMP_SAVEMODIFIED_LARGE)));
|
if (eImageType == vcl::ImageType::Size26)
|
||||||
aImage = aResImage;
|
aImage = Image(BitmapEx(FwkResId(BMP_SAVEMODIFIED_LARGE)));
|
||||||
|
else if (eImageType == vcl::ImageType::Size32)
|
||||||
|
aImage = Image(BitmapEx(FwkResId(BMP_SAVEMODIFIED_EXTRALARGE)));
|
||||||
|
else
|
||||||
|
aImage = Image(BitmapEx(FwkResId(BMP_SAVEMODIFIED_SMALL)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !aImage )
|
if ( !aImage )
|
||||||
|
BIN
icon-themes/galaxy/res/savemodified_extralarge.png
Normal file
BIN
icon-themes/galaxy/res/savemodified_extralarge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
x
Reference in New Issue
Block a user