r969: Render format selector: Do not change the path name when the format is changed.
[cinelerra_cv/ct.git] / plugins / gamma / gammawindow.h
blob590a42aca98ba197a7175dd914ec03ab00725595
1 #ifndef LINEARIZEWINDOW_H
2 #define LINEARIZEWINDOW_H
5 class GammaThread;
6 class GammaWindow;
7 class MaxSlider;
8 class MaxText;
9 class GammaSlider;
10 class GammaText;
11 class GammaAuto;
12 class GammaPlot;
13 class GammaColorPicker;
15 #include "filexml.h"
16 #include "guicast.h"
17 #include "mutex.h"
18 #include "gamma.h"
19 #include "pluginclient.h"
22 PLUGIN_THREAD_HEADER(GammaMain, GammaThread, GammaWindow)
24 class GammaWindow : public BC_Window
26 public:
27 GammaWindow(GammaMain *client, int x, int y);
29 int create_objects();
30 int close_event();
31 void update();
32 void update_histogram();
35 BC_SubWindow *histogram;
36 GammaMain *client;
37 MaxSlider *max_slider;
38 MaxText *max_text;
39 GammaSlider *gamma_slider;
40 GammaText *gamma_text;
41 GammaAuto *automatic;
42 GammaPlot *plot;
45 class MaxSlider : public BC_FSlider
47 public:
48 MaxSlider(GammaMain *client,
49 GammaWindow *gui,
50 int x,
51 int y,
52 int w);
53 int handle_event();
54 GammaMain *client;
55 GammaWindow *gui;
58 class MaxText : public BC_TextBox
60 public:
61 MaxText(GammaMain *client,
62 GammaWindow *gui,
63 int x,
64 int y,
65 int w);
66 int handle_event();
67 GammaMain *client;
68 GammaWindow *gui;
71 class GammaSlider : public BC_FSlider
73 public:
74 GammaSlider(GammaMain *client,
75 GammaWindow *gui,
76 int x,
77 int y,
78 int w);
79 int handle_event();
80 GammaMain *client;
81 GammaWindow *gui;
84 class GammaText : public BC_TextBox
86 public:
87 GammaText(GammaMain *client,
88 GammaWindow *gui,
89 int x,
90 int y,
91 int w);
92 int handle_event();
93 GammaMain *client;
94 GammaWindow *gui;
97 class GammaAuto : public BC_CheckBox
99 public:
100 GammaAuto(GammaMain *plugin, int x, int y);
101 int handle_event();
102 GammaMain *plugin;
105 class GammaPlot : public BC_CheckBox
107 public:
108 GammaPlot(GammaMain *plugin, int x, int y);
109 int handle_event();
110 GammaMain *plugin;
113 class GammaColorPicker : public BC_GenericButton
115 public:
116 GammaColorPicker(GammaMain *plugin,
117 GammaWindow *gui,
118 int x,
119 int y);
120 int handle_event();
121 GammaMain *plugin;
122 GammaWindow *gui;
125 #endif