titler rework, some code cleanup and fixes
[goodguy/history.git] / cinelerra-5.1 / plugins / whirl / whirlwindow.C
index 2fed64e420488851d0dc249afd9ac491db5bfa81..3efb108dc268402de62753731bc231fd10f6530d 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"
@@ -76,6 +76,7 @@ int AngleSlider::handle_event()
 {
        client->angle = get_value();
        client->send_configure_change();
+       return 1;
 }
 
 PinchSlider::PinchSlider(WhirlMain *client, int x, int y)
@@ -90,6 +91,7 @@ int PinchSlider::handle_event()
 {
        client->pinch = get_value();
        client->send_configure_change();
+       return 1;
 }
 
 RadiusSlider::RadiusSlider(WhirlMain *client, int x, int y)
@@ -104,6 +106,7 @@ int RadiusSlider::handle_event()
 {
        client->radius = get_value();
        client->send_configure_change();
+       return 1;
 }
 
 AutomatedFn::AutomatedFn(WhirlMain *client, WhirlWindow *window, int x, int y, int number)
@@ -127,5 +130,6 @@ int AutomatedFn::handle_event()
        update(1);
        client->automated_function = number;
        client->send_configure_change();
+       return 1;
 }