summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2017-03-08 17:26:37 +0100
committerSzymon Kłos <eszkadev@gmail.com>2017-03-08 18:48:06 +0000
commitb3dc0386bd0749ad93f5cd649176e028fe4e8360 (patch)
tree18b7c7efff37e13730d5ae92f0adf154bd621154
parent773e4e13eb0673a2f34b1adfc5ee4fd579d986a6 (diff)
tdf#106211 Add notebookbar icon transparency
+ modified icon (set transparent color to black) + added transparency support for loaded icon Change-Id: I2dd8581e7d667096f08eb8c4c038e96a7f007dd3 Reviewed-on: https://gerrit.libreoffice.org/34979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
-rw-r--r--icon-themes/breeze/res/notebookbar.pngbin179 -> 156 bytes
-rw-r--r--vcl/source/control/tabctrl.cxx2
2 files changed, 1 insertions, 1 deletions
diff --git a/icon-themes/breeze/res/notebookbar.png b/icon-themes/breeze/res/notebookbar.png
index 3cb36d1c18c3..9557ad7d4fbd 100644
--- a/icon-themes/breeze/res/notebookbar.png
+++ b/icon-themes/breeze/res/notebookbar.png
Binary files differ
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 7e8145d6389b..34dc980808bf 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -2211,7 +2211,7 @@ NotebookbarTabControl::NotebookbarTabControl(vcl::Window* pParent)
, bLastContextWasSupported(true)
, eLastContext(vcl::EnumContext::Context::Any)
{
- Bitmap aBitmap(VclResId(SV_RESID_BITMAP_NOTEBOOKBAR));
+ BitmapEx aBitmap(VclResId(SV_RESID_BITMAP_NOTEBOOKBAR), Color());
InsertPage(1, "");
SetPageImage(1, Image(aBitmap));
}