Engauge Digitizer  2
ColorFilterEntry.h
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 
15  QColor color;
16 
18  unsigned int count;
19 };
20 
21 #endif // COLOR_FILTER_ENTRY_H
QColor color
Unique color entry.
unsigned int count
Number of times this color has appeared.
Helper class so ColorFilter class can compute the background color.