1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-27 15:21:40 +03:00
latte-dock/containment/plugin/types.h
Michail Vourlakos 8d0c26a2e1 provide Dark/Light Colors options
--this way a layout designer can force to its users
the desired color palette for each dock and panel.

BeCareful: designers should be very careful with this
because they take responsibility to disable latte auto-coloring
at per-applet basis in order for chromatic applets to NOT
be autocolored from latte because they already provide enough
contrast.

BUG:435714
2021-04-14 10:44:59 +03:00

87 lines
1.8 KiB
C++

/*
* Copyright 2020 Michail Vourlakos <mvourlakos@gmail.com>
*
* This file is part of Latte-Dock
*
* Latte-Dock is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* Latte-Dock is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LATTECONTAINMENTTYPES_H
#define LATTECONTAINMENTTYPES_H
// Qt
#include <QObject>
#include <QMetaEnum>
#include <QMetaType>
namespace Latte {
namespace Containment {
class Types
{
Q_GADGET
public:
Types() = delete;
~Types() {}
enum ScrollAction
{
ScrollNone = 0,
ScrollDesktops,
ScrollActivities,
ScrollTasks,
ScrollToggleMinimized
};
Q_ENUM(ScrollAction);
enum ShadowColorGroup
{
DefaultColorShadow = 0,
ThemeColorShadow,
UserColorShadow
};
Q_ENUM(ShadowColorGroup);
enum ThemeColorsGroup
{
PlasmaThemeColors = 0,
ReverseThemeColors,
SmartThemeColors,
DarkThemeColors,
LightThemeColors
};
Q_ENUM(ThemeColorsGroup);
enum WindowColorsGroup
{
NoneWindowColors = 0,
ActiveWindowColors,
TouchingWindowColors
};
Q_ENUM(WindowColorsGroup);
enum ActiveWindowFilterGroup
{
ActiveInCurrentScreen = 0,
ActiveFromAllScreens
};
Q_ENUM(ActiveWindowFilterGroup);
};
}
}
#endif