titler rework, some code cleanup and fixes
[goodguy/history.git] / cinelerra-5.1 / plugins / yuv / yuvwindow.C
index 4a446c262c06868e762f62f2fe0107f3f952eca3..ae5bb5f05c5a226a65751696153d5d3d7f62b96c 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
- * 
+ *
  */
 
 #include "language.h"
@@ -61,6 +61,7 @@ int YUVWindow::close_event()
        client->save_defaults();
        hide_window();
        client->send_hide_gui();
+       return 1;
 }
 
 YSlider::YSlider(YUVMain *client, int x, int y)
@@ -75,6 +76,7 @@ int YSlider::handle_event()
 {
        client->y = get_value();
        client->send_configure_change();
+       return 1;
 }
 
 USlider::USlider(YUVMain *client, int x, int y)
@@ -89,6 +91,7 @@ int USlider::handle_event()
 {
        client->u = get_value();
        client->send_configure_change();
+       return 1;
 }
 
 VSlider::VSlider(YUVMain *client, int x, int y)
@@ -103,6 +106,7 @@ int VSlider::handle_event()
 {
        client->v = get_value();
        client->send_configure_change();
+       return 1;
 }
 
 AutomatedFn::AutomatedFn(YUVMain *client, YUVWindow *window, int x, int y, int number)
@@ -126,5 +130,6 @@ int AutomatedFn::handle_event()
        update(1);
        client->automated_function = number;
        client->send_configure_change();
+       return 1;
 }