y));
}
}
+ show_window();
}
flash(out_color_x, out_color_y, COLOR_W, COLOR_H);
}
+void GradientWindow::done_event(int result)
+{
+ in_color_thread->close_window();
+ out_color_thread->close_window();
+}
+
GradientInColorThread::GradientInColorThread(GradientMain *plugin,
GradientWindow *window)
- : ColorThread(1, _("Inner color"))
+ : ColorPicker(1, _("Inner color"))
{
this->plugin = plugin;
this->window = window;
GradientOutColorThread::GradientOutColorThread(GradientMain *plugin,
GradientWindow *window)
- : ColorThread(1, _("Outer color"))
+ : ColorPicker(1, _("Outer color"))
{
this->plugin = plugin;
this->window = window;