2016-04-02 00:04:11 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// STL includes
|
2017-03-04 22:17:42 +01:00
|
|
|
#include <QString>
|
2016-04-02 00:04:11 +02:00
|
|
|
|
|
|
|
// Utils includes
|
|
|
|
#include <utils/RgbChannelAdjustment.h>
|
2017-01-06 14:25:55 +01:00
|
|
|
#include <utils/RgbTransform.h>
|
2016-04-02 00:04:11 +02:00
|
|
|
|
|
|
|
class ColorAdjustment
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
/// Unique identifier for this color transform
|
2017-03-04 22:17:42 +01:00
|
|
|
QString _id;
|
2016-12-29 17:02:37 +01:00
|
|
|
|
|
|
|
/// The BLACK (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbBlackAdjustment;
|
|
|
|
/// The WHITE (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbWhiteAdjustment;
|
|
|
|
/// The RED (RGB-Channel) adjustment
|
2016-04-02 00:04:11 +02:00
|
|
|
RgbChannelAdjustment _rgbRedAdjustment;
|
2016-12-29 17:02:37 +01:00
|
|
|
/// The GREEN (RGB-Channel) adjustment
|
2016-04-02 00:04:11 +02:00
|
|
|
RgbChannelAdjustment _rgbGreenAdjustment;
|
2016-12-29 17:02:37 +01:00
|
|
|
/// The BLUE (RGB-Channel) adjustment
|
2016-04-02 00:04:11 +02:00
|
|
|
RgbChannelAdjustment _rgbBlueAdjustment;
|
2016-12-29 17:02:37 +01:00
|
|
|
/// The CYAN (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbCyanAdjustment;
|
|
|
|
/// The MAGENTA (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbMagentaAdjustment;
|
|
|
|
/// The YELLOW (RGB-Channel) adjustment
|
|
|
|
RgbChannelAdjustment _rgbYellowAdjustment;
|
2017-01-06 14:25:55 +01:00
|
|
|
|
|
|
|
RgbTransform _rgbTransform;
|
2016-04-02 00:04:11 +02:00
|
|
|
};
|