summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-04 18:39:34 +0000
committerAndras Timar <andras.timar@collabora.com>2017-05-31 15:32:00 +0200
commit2650a973ced3f1aef8169dd49bde2645a7eb2c03 (patch)
tree8992ef51c1fe10984cf7cecfc6c284fc5992b077
parent062a31fb26e0262e29f31850664479e5df20cc67 (diff)
Resolves: tdf#108111 backport mono checkboxes fix
replace the blue which will be set to transparent, with transparent and then we don't "manually" replace a color with transparent which makes tdf#108111 look right again (cherry picked from commit f1a8e00764b32c3b799ecd40dcb4dd632493bc45) Change-Id: I95923685d412145e88b672a50311c767d1425493 Reviewed-on: https://gerrit.libreoffice.org/38223 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit ec49295718144aeeb81683bcfe5923c3610e8d21)
-rw-r--r--icon-themes/elementary/vcl/res/check.pngbin478 -> 488 bytes
-rw-r--r--icon-themes/elementary/vcl/res/checkmono.pngbin476 -> 476 bytes
-rw-r--r--icon-themes/elementary/vcl/res/radio.pngbin393 -> 452 bytes
-rw-r--r--icon-themes/elementary/vcl/res/radiomono.pngbin437 -> 450 bytes
-rw-r--r--icon-themes/galaxy/vcl/res/check.pngbin478 -> 488 bytes
-rw-r--r--icon-themes/galaxy/vcl/res/checkmono.pngbin476 -> 476 bytes
-rw-r--r--icon-themes/galaxy/vcl/res/radio.pngbin393 -> 452 bytes
-rw-r--r--icon-themes/galaxy/vcl/res/radiomono.pngbin437 -> 450 bytes
-rw-r--r--vcl/source/control/button.cxx4
9 files changed, 1 insertions, 3 deletions
diff --git a/icon-themes/elementary/vcl/res/check.png b/icon-themes/elementary/vcl/res/check.png
index daeddd2ddcca..05f8b1c381c3 100644
--- a/icon-themes/elementary/vcl/res/check.png
+++ b/icon-themes/elementary/vcl/res/check.png
Binary files differ
diff --git a/icon-themes/elementary/vcl/res/checkmono.png b/icon-themes/elementary/vcl/res/checkmono.png
index 69c89139bf49..dc8888e0442c 100644
--- a/icon-themes/elementary/vcl/res/checkmono.png
+++ b/icon-themes/elementary/vcl/res/checkmono.png
Binary files differ
diff --git a/icon-themes/elementary/vcl/res/radio.png b/icon-themes/elementary/vcl/res/radio.png
index 73e2a04c474c..dff083949b97 100644
--- a/icon-themes/elementary/vcl/res/radio.png
+++ b/icon-themes/elementary/vcl/res/radio.png
Binary files differ
diff --git a/icon-themes/elementary/vcl/res/radiomono.png b/icon-themes/elementary/vcl/res/radiomono.png
index d9e447102afd..cdee168c1351 100644
--- a/icon-themes/elementary/vcl/res/radiomono.png
+++ b/icon-themes/elementary/vcl/res/radiomono.png
Binary files differ
diff --git a/icon-themes/galaxy/vcl/res/check.png b/icon-themes/galaxy/vcl/res/check.png
index 3bf35b2d6ae5..05f8b1c381c3 100644
--- a/icon-themes/galaxy/vcl/res/check.png
+++ b/icon-themes/galaxy/vcl/res/check.png
Binary files differ
diff --git a/icon-themes/galaxy/vcl/res/checkmono.png b/icon-themes/galaxy/vcl/res/checkmono.png
index 4cabe1284025..afdf871f4fe9 100644
--- a/icon-themes/galaxy/vcl/res/checkmono.png
+++ b/icon-themes/galaxy/vcl/res/checkmono.png
Binary files differ
diff --git a/icon-themes/galaxy/vcl/res/radio.png b/icon-themes/galaxy/vcl/res/radio.png
index c198a6d9ef90..dff083949b97 100644
--- a/icon-themes/galaxy/vcl/res/radio.png
+++ b/icon-themes/galaxy/vcl/res/radio.png
Binary files differ
diff --git a/icon-themes/galaxy/vcl/res/radiomono.png b/icon-themes/galaxy/vcl/res/radiomono.png
index aba237e266d2..88f101430b82 100644
--- a/icon-themes/galaxy/vcl/res/radiomono.png
+++ b/icon-themes/galaxy/vcl/res/radiomono.png
Binary files differ
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 2feddafde72a..6c46e52137e0 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2764,10 +2764,8 @@ static void LoadThemedImageList (const StyleSettings &rStyleSettings,
aColorAry2[4] = rStyleSettings.GetDarkShadowColor();
aColorAry2[5] = rStyleSettings.GetWindowTextColor();
- Color aMaskColor(0x00, 0x00, 0xFF );
static_assert( sizeof(aColorAry1) == sizeof(aColorAry2), "aColorAry1 must match aColorAry2" );
- // FIXME: do we want the mask for the checkbox ?
- pList->InsertFromHorizontalBitmap (rResId, nImages, &aMaskColor,
+ pList->InsertFromHorizontalBitmap (rResId, nImages, nullptr,
aColorAry1, aColorAry2, SAL_N_ELEMENTS(aColorAry1));
}