modify clr btn 16 plugins, add regdmp for sigtraps, rework mask_engine, mask rotate...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / yuv / yuv.C
index 845ca48aabb7d171340e9310c2479b1e31a45fe3..868137f859ff98496dad3b9cb0862ec9da962d2d 100644 (file)
@@ -27,6 +27,7 @@
 #include "language.h"
 #include "bccolors.h"
 #include "pluginvclient.h"
+#include "theme.h"
 #include "vframe.h"
 
 #include <stdint.h>
@@ -79,7 +80,7 @@ public:
        YUVWindow *window;
 };
 
-class YUVSliderClr : public BC_GenericButton
+class YUVSliderClr : public BC_Button
 {
 public:
        YUVSliderClr(YUVEffect *plugin, YUVWindow *window, int x, int y, int w, int clear);
@@ -226,7 +227,7 @@ int YUVReset::handle_event()
 
 
 YUVSliderClr::YUVSliderClr(YUVEffect *plugin, YUVWindow *window, int x, int y, int w, int clear)
- : BC_GenericButton(x, y, w, _("⌂"))
+ : BC_Button(x, y, w, plugin->get_theme()->get_image_set("reset_button"))
 {
        this->plugin = plugin;
        this->window = window;