1 #ifndef HISTOGRAMCONFIG_H
2 #define HISTOGRAMCONFIG_H
5 #include "histogram.inc"
6 #include "histogramconfig.inc"
10 class HistogramPoint
: public ListItem
<HistogramPoint
>
16 int equivalent(HistogramPoint
*src
);
21 class HistogramPoints
: public List
<HistogramPoint
>
28 HistogramPoint
* insert(float x
, float y
);
29 int equivalent(HistogramPoints
*src
);
31 void copy_from(HistogramPoints
*src
);
32 void interpolate(HistogramPoints
*prev
,
33 HistogramPoints
*next
,
43 int equivalent(HistogramConfig
&that
);
44 void copy_from(HistogramConfig
&that
);
45 void interpolate(HistogramConfig
&prev
,
46 HistogramConfig
&next
,
49 int64_t current_frame
);
50 // Used by constructor and reset button
51 void reset(int do_mode
);
52 void reset_points(int colors_only
);
58 HistogramPoints points
[HISTOGRAM_MODES
];
60 float output_min
[HISTOGRAM_MODES
];
61 float output_max
[HISTOGRAM_MODES
];