| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2018 Anna Medonosova <[email protected]> |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef KIS_ARCS_CONSTANTS_H |
| 8 |
#define KIS_ARCS_CONSTANTS_H |
| 9 |
|
| 10 |
#include <QColor> |
| 11 |
|
| 12 |
static const int MIN_NUM_HUE_PIECES = 1; |
| 13 |
static const int MIN_NUM_UI_HUE_PIECES = 2; |
| 14 |
static const int MAX_NUM_HUE_PIECES = 48; |
| 15 |
static const int MIN_NUM_LIGHT_PIECES = 1; |
| 16 |
static const int MIN_NUM_UI_LIGHT_PIECES = 2; |
| 17 |
static const int MAX_NUM_LIGHT_PIECES = 30; |
| 18 |
static const int MIN_NUM_SATURATION_RINGS = 1; |
| 19 |
static const int MAX_NUM_SATURATION_RINGS = 20; |
| 20 |
|
| 21 |
static const int DEFAULT_HUE_STEPS = 12; |
| 22 |
static const int DEFAULT_SATURATION_STEPS = 7; |
| 23 |
static const int DEFAULT_VALUE_SCALE_STEPS = 11; |
| 24 |
|
| 25 |
static const qreal DEFAULT_LUMA_R = 0.2126; |
| 26 |
static const qreal DEFAULT_LUMA_G = 0.7152; |
| 27 |
static const qreal DEFAULT_LUMA_B = 0.0722; |
| 28 |
static const qreal DEFAULT_LUMA_GAMMA = 2.2; |
| 29 |
|
| 30 |
// color scheme for the selector |
| 31 |
static const QColor COLOR_MIDDLE_GRAY = QColor(128,128,128,255); |
| 32 |
static const QColor COLOR_DARK = QColor(50,50,50,255); |
| 33 |
static const QColor COLOR_LIGHT = QColor(200,200,200,255); |
| 34 |
static const QColor COLOR_SELECTED_DARK = QColor(30,30,30,255); |
| 35 |
static const QColor COLOR_SELECTED_LIGHT = QColor(220,220,220,255); |
| 36 |
|
| 37 |
static const QColor COLOR_MASK_FILL = COLOR_MIDDLE_GRAY; |
| 38 |
static const QColor COLOR_MASK_OUTLINE = COLOR_LIGHT; |
| 39 |
static const QColor COLOR_MASK_CLEAR = COLOR_LIGHT; |
| 40 |
static const QColor COLOR_NORMAL_OUTLINE = COLOR_MIDDLE_GRAY; |
| 41 |
|
| 42 |
#endif // KIS_ARCS_CONSTANTS_H |