rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git] / cinelerra-5.1 / plugins / histogram_bezier / bistogram.h
index 659b71dcc7920895cd83860a96a0d2fdd54191b7..ae933b06c7cf3a0b9691d17ffd7cb36be35eaaa5 100644 (file)
@@ -2,21 +2,21 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- * 
+ *
  */
 
 #ifndef HISTOGRAM_H
@@ -27,7 +27,7 @@
 #include "bistogramconfig.h"
 #include "bistogramwindow.inc"
 #include "loadbalance.h"
-#include "cicolors.h"
+#include "bccolors.h"
 #include "pluginvclient.h"
 
 
@@ -44,6 +44,7 @@ class HistogramMain : public PluginVClient
 public:
        HistogramMain(PluginServer *server);
        ~HistogramMain();
+       void reset();
 
        int process_realtime(VFrame *input_ptr, VFrame *output_ptr);
        int is_realtime();
@@ -68,7 +69,6 @@ public:
 
 
 
-       YUV yuv;
        VFrame *input, *output;
        HistogramEngine *engine;
        int *lookup[HISTOGRAM_MODES];
@@ -79,6 +79,8 @@ public:
        int current_point;
 // Current channel being viewed
        int mode;
+// total histogram bins
+       int slots;
        int dragging_point;
        int point_x_offset;
        int point_y_offset;
@@ -105,8 +107,8 @@ public:
 class HistogramEngine : public LoadServer
 {
 public:
-       HistogramEngine(HistogramMain *plugin, 
-               int total_clients, 
+       HistogramEngine(HistogramMain *plugin,
+               int total_clients,
                int total_packages);
        void process_packages(int operation, VFrame *data);
        void init_packages();