+ plugin->config.reset(RESET_ALL); // clear=0 ==> reset all
+ gui->update_gui(RESET_ALL);
+ plugin->send_configure_change();
+ return 1;
+}
+
+
+HueSliderClr::HueSliderClr(HueEffect *plugin, HueWindow *gui, int x, int y, int w, int clear)
+ : BC_Button(x, y, w, plugin->get_theme()->get_image_set("reset_button"))
+{
+ this->plugin = plugin;
+ this->gui = gui;
+ this->clear = clear;
+}
+HueSliderClr::~HueSliderClr()
+{
+}
+int HueSliderClr::handle_event()
+{
+ // clear==1 ==> Hue slider
+ // clear==2 ==> Saturation slider
+ // clear==3 ==> Value slider
+ plugin->config.reset(clear);
+ gui->update_gui(clear);