X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fwipe%2Fwipe.C;h=c7e89cabfadb8bc216222fe5eb43c1350e7d4509;hb=5e3715ec449272335bab3419bf21ed4cd6d4bcbf;hp=d516365269c40dd580b8561ee866f18a734df0f9;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/wipe/wipe.C b/cinelerra-5.1/plugins/wipe/wipe.C index d5163652..c7e89cab 100644 --- a/cinelerra-5.1/plugins/wipe/wipe.C +++ b/cinelerra-5.1/plugins/wipe/wipe.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * 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 "bcdisplayinfo.h" @@ -39,13 +39,13 @@ REGISTER_PLUGIN(WipeMain) -WipeLeft::WipeLeft(WipeMain *plugin, +WipeLeft::WipeLeft(WipeMain *plugin, WipeWindow *window, int x, int y) - : BC_Radial(x, - y, - plugin->direction == 0, + : BC_Radial(x, + y, + plugin->direction == 0, _("Left")) { this->plugin = plugin; @@ -61,13 +61,13 @@ int WipeLeft::handle_event() return 0; } -WipeRight::WipeRight(WipeMain *plugin, +WipeRight::WipeRight(WipeMain *plugin, WipeWindow *window, int x, int y) - : BC_Radial(x, - y, - plugin->direction == 1, + : BC_Radial(x, + y, + plugin->direction == 1, _("Right")) { this->plugin = plugin; @@ -91,11 +91,11 @@ int WipeRight::handle_event() WipeWindow::WipeWindow(WipeMain *plugin) - : PluginClientWindow(plugin, - 320, - 50, - 320, - 50, + : PluginClientWindow(plugin, + 320, + 50, + 320, + 50, 0) { this->plugin = plugin; @@ -109,12 +109,12 @@ void WipeWindow::create_objects() int x = 10, y = 10; add_subwindow(new BC_Title(x, y, _("Direction:"))); x += 100; - add_subwindow(left = new WipeLeft(plugin, + add_subwindow(left = new WipeLeft(plugin, this, x, y)); x += 100; - add_subwindow(right = new WipeRight(plugin, + add_subwindow(right = new WipeRight(plugin, this, x, y)); @@ -135,12 +135,12 @@ WipeMain::WipeMain(PluginServer *server) : PluginVClient(server) { direction = 0; - + } WipeMain::~WipeMain() { - + } const char* WipeMain::plugin_title() { return _("Wipe"); }