File indexing completed on 2024-04-28 05:27:05

0001 // SPDX-FileCopyrightText: 2019, 2022 Mikhail Zolotukhin <zomial@protonmail.com>
0002 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003 
0004 #pragma once
0005 
0006 #include <QColor>
0007 #include <QString>
0008 
0009 namespace CustomCssEditor
0010 {
0011 
0012 void addGtkModule(const QString &moduleName);
0013 
0014 /**
0015  * @note Make sure "colorreload-gtk-module" is added to the module list before calling this function
0016  * @param colorsDefinitions a list of color definitions for GTK CSS
0017  * @see GtkConfig::setColors
0018  */
0019 void setColors(const QMap<QString, QColor> &colorsDefinitions);
0020 
0021 void setCustomClientSideDecorations(const QStringList &windowDecorationsButtonsImages);
0022 void disableCustomClientSideDecorations();
0023 
0024 }