File indexing completed on 2024-06-16 04:16:05
0001 /* 0002 * SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __TIMELINE_COLOR_SCHEME_H 0008 #define __TIMELINE_COLOR_SCHEME_H 0009 0010 #include <QScopedPointer> 0011 0012 class QColor; 0013 class QBrush; 0014 class QFont; 0015 class QSize; 0016 0017 class KisAnimTimelineColors 0018 { 0019 public: 0020 KisAnimTimelineColors(); 0021 ~KisAnimTimelineColors(); 0022 0023 static KisAnimTimelineColors* instance(); 0024 0025 QColor selectorColor() const; 0026 QColor selectionColor() const; 0027 QColor activeLayerBackground() const; 0028 0029 0030 QBrush headerEmpty() const; 0031 QBrush headerCachedFrame() const; 0032 QBrush headerActive() const; 0033 0034 QColor onionSkinsSliderEnabledColor() const; 0035 QColor onionSkinsSliderDisabledColor() const; 0036 QColor onionSkinsButtonColor() const; 0037 0038 QFont getOnionSkinsFont(const QString &maxString, const QSize &availableSize) const; 0039 }; 0040 0041 #endif /* __TIMELINE_COLOR_SCHEME_H */