Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2015 Jouni Pentikäinen <[email protected]>
* SPDX-FileCopyrightText: 2020 Emmet O 'Neill <[email protected]>
* SPDX-FileCopyrightText: 2020 Eoin O 'Neill <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "kis_image_config.h"
#include "kis_keyframe.h"
#include "kis_keyframe_channel.h"
#include "kis_types.h"
struct KisKeyframe::Private
{
int colorLabel{0}; /**< User-assignable color index associated with a given frame. Used for organization. */
};
KisKeyframe::KisKeyframe()
: m_d(new Private())
{
}
KisKeyframe::~KisKeyframe()
{
}
int KisKeyframe::colorLabel() const
{
return m_d->colorLabel;
}
void KisKeyframe::setColorLabel(int colorIndex)
{
m_d->colorLabel = colorIndex;
}