4 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef LINEARIZEWINDOW_H
23 #define LINEARIZEWINDOW_H
34 class GammaColorPicker;
41 #include "pluginclient.h"
45 class GammaWindow : public PluginClientWindow
48 GammaWindow(GammaMain *client);
50 void create_objects();
52 void update_histogram();
55 BC_SubWindow *histogram;
57 MaxSlider *max_slider;
59 GammaSlider *gamma_slider;
60 GammaText *gamma_text;
66 class MaxSlider : public BC_FSlider
69 MaxSlider(GammaMain *client,
79 class MaxText : public BC_TextBox
82 MaxText(GammaMain *client,
92 class GammaSlider : public BC_FSlider
95 GammaSlider(GammaMain *client,
105 class GammaText : public BC_TextBox
108 GammaText(GammaMain *client,
118 class GammaAuto : public BC_CheckBox
121 GammaAuto(GammaMain *plugin, int x, int y);
126 class GammaPlot : public BC_CheckBox
129 GammaPlot(GammaMain *plugin, int x, int y);
134 class GammaColorPicker : public BC_GenericButton
137 GammaColorPicker(GammaMain *plugin,
146 class GammaReset : public BC_GenericButton
149 GammaReset(GammaMain *plugin, GammaWindow *gui, int x, int y);