PKGBUILD fix libva/vdpau deps
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / unsharp / unsharpwindow.h
index 3e3c7b70316bd7bc2ec889d5781c8c12e1aa9993..b04f6239b782809ec424982076e0dde3afaf42cf 100644 (file)
 #include "unsharp.inc"
 #include "unsharpwindow.inc"
 
 #include "unsharp.inc"
 #include "unsharpwindow.inc"
 
+#define RESET_DEFAULT_SETTINGS 10
+#define RESET_ALL       0
+#define RESET_RADIUS   1
+#define RESET_AMOUNT    2
+#define RESET_THRESHOLD 3
+
+
 class UnsharpRadius : public BC_FPot
 {
 public:
 class UnsharpRadius : public BC_FPot
 {
 public:
@@ -60,6 +67,27 @@ public:
        UnsharpWindow *window;
 };
 
        UnsharpWindow *window;
 };
 
+class UnsharpDefaultSettings : public BC_GenericButton
+{
+public:
+       UnsharpDefaultSettings(UnsharpMain *plugin, UnsharpWindow *window, int x, int y, int w);
+       ~UnsharpDefaultSettings();
+       int handle_event();
+       UnsharpMain *plugin;
+       UnsharpWindow *window;
+};
+
+class UnsharpSliderClr : public BC_GenericButton
+{
+public:
+       UnsharpSliderClr(UnsharpMain *plugin, UnsharpWindow *window, int x, int y, int w, int clear);
+       ~UnsharpSliderClr();
+       int handle_event();
+       UnsharpMain *plugin;
+       UnsharpWindow *window;
+       int clear;
+};
+
 class UnsharpWindow : public PluginClientWindow
 {
 public:
 class UnsharpWindow : public PluginClientWindow
 {
 public:
@@ -67,13 +95,17 @@ public:
        ~UnsharpWindow();
 
        void create_objects();
        ~UnsharpWindow();
 
        void create_objects();
-       void update();
+       void update_gui(int clear);
 
        UnsharpRadius *radius;
        UnsharpAmount *amount;
        UnsharpThreshold *threshold;
        UnsharpMain *plugin;
        UnsharpReset *reset;
 
        UnsharpRadius *radius;
        UnsharpAmount *amount;
        UnsharpThreshold *threshold;
        UnsharpMain *plugin;
        UnsharpReset *reset;
+       UnsharpDefaultSettings *default_settings;
+       UnsharpSliderClr *radiusClr;
+       UnsharpSliderClr *amountClr;
+       UnsharpSliderClr *thresholdClr;
 };
 
 
 };