1 /****************************************************************************************************** 2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 5 ******************************************************************************************************/ 6 7 #ifndef COLOR_FILTER_ENTRY_H 8 #define COLOR_FILTER_ENTRY_H 9 10 #include <QColor> 11 12 /// Helper class so ColorFilter class can compute the background color. 13 struct ColorFilterEntry { 14 /// Unique color entry. 15 QColor color; 16 17 /// Number of times this color has appeared. 18 unsigned int count; 19 }; 20 21 #endif // COLOR_FILTER_ENTRY_H 22