File indexing completed on 2024-05-12 15:59:34

0001 /*
0002  *  SPDX-FileCopyrightText: 2006 Cyrille Berger <cberger@cberger.bet
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #ifndef _KO_COLOR_SPACE_CONSTANTS_H_
0008 #define _KO_COLOR_SPACE_CONSTANTS_H_
0009 
0010 #include <climits>
0011 #include <QtGlobal>
0012 
0013 // TODO: find a better place or way to define those stuff
0014 const quint8 OPACITY_TRANSPARENT_U8 = 0;
0015 const quint8 OPACITY_OPAQUE_U8 = UCHAR_MAX;
0016 const qreal OPACITY_TRANSPARENT_F = 0.0;
0017 const qreal OPACITY_OPAQUE_F = 1.0;
0018 
0019 #endif