forked from amazingfate/loongoffice
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
24 lines
654 B
C++
24 lines
654 B
C++
/* -*- 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: */
|