File indexing completed on 2024-05-05 05:53:45
0001 /* 0002 This source file is part of Konsole, a terminal emulator. 0003 0004 SPDX-FileCopyrightText: 2007-2008 Robert Knight <robertknight@gmail.com> 0005 SPDX-FileCopyrightText: 2020-2020 Gustavo Carneiro <gcarneiroa@hotmail.com> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #ifndef RANDOMIZATIONRANGE_H 0011 #define RANDOMIZATIONRANGE_H 0012 0013 namespace Konsole 0014 { 0015 // specifies how much a particular color can be randomized by 0016 class RandomizationRange 0017 { 0018 public: 0019 RandomizationRange(); 0020 bool isNull() const; 0021 0022 double hue; 0023 double saturation; 0024 double lightness; 0025 }; 0026 0027 } 0028 0029 #endif