diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-10-07 13:12:14 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-10-12 11:39:24 +0200 |
commit | 78a4e9cb89830191e77c558759e845e5a15b9cc7 (patch) | |
tree | bb6c78940731700fc3f5a47b114ee872cfaecd44 /include | |
parent | 09374b5acdec0743a1f860f70ccd15eda24fa399 (diff) |
vcl: recolor images (icons) to be more visible in a dark theme
This adds recoloring of images/icons (suited for breeze and sifr)
so they are more visible when a dark theme is used (for example gtk3
can switch to a dark theme). LO must be started with environment
variable VCL_ICONS_FOR_DARK_THEME set to 1.
open issues - currently all images/icons are recolored but not all
images should get recolored.
Change-Id: Ibc42e30af79bb4c4f04c67b760019311b97b2cc6
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/BitmapProcessor.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/vcl/BitmapProcessor.hxx b/include/vcl/BitmapProcessor.hxx new file mode 100644 index 000000000000..73f0001563d4 --- /dev/null +++ b/include/vcl/BitmapProcessor.hxx @@ -0,0 +1,23 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_VCL_BITMAP_PROCESSOR_HXX +#define INCLUDED_VCL_BITMAP_PROCESSOR_HXX + +#include <vcl/bitmapex.hxx> + +class BitmapProcessor +{ +public: + static BitmapEx createLightImage(const BitmapEx& rBitmapEx); +}; + +#endif // INCLUDED_VCL_BITMAP_PROCESSOR_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |