X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Frgb601%2Frgb601window.C;h=e688a2c8d3928b369e56edf1f53959b72dbf52c3;hb=bce222d832cb4566d7aed76a656af8307e5f2f58;hp=76a4af6187fbf1d997620f9916178d9aad945cec;hpb=190b4810ec184c74ceab3fcd6faf09a91c92c53c;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/rgb601/rgb601window.C b/cinelerra-5.1/plugins/rgb601/rgb601window.C index 76a4af61..e688a2c8 100644 --- a/cinelerra-5.1/plugins/rgb601/rgb601window.C +++ b/cinelerra-5.1/plugins/rgb601/rgb601window.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" @@ -35,8 +35,8 @@ RGB601Window::RGB601Window(RGB601Main *client) : PluginClientWindow(client, 235, 100, 235, 100, 0) -{ - this->client = client; +{ + this->client = client; } RGB601Window::~RGB601Window() @@ -46,19 +46,19 @@ RGB601Window::~RGB601Window() void RGB601Window::create_objects() { int x = 10, y = 10; - - add_tool(forward = new RGB601Direction(this, - x, - y, - &client->config.direction, - 1, + + add_tool(forward = new RGB601Direction(this, + x, + y, + &client->config.direction, + 1, _("RGB -> 601 compression"))); y += 30; - add_tool(reverse = new RGB601Direction(this, - x, - y, - &client->config.direction, - 2, + add_tool(reverse = new RGB601Direction(this, + x, + y, + &client->config.direction, + 2, _("601 -> RGB expansion"))); show_window(); @@ -83,7 +83,7 @@ RGB601Direction::RGB601Direction(RGB601Window *window, int x, int y, int *output RGB601Direction::~RGB601Direction() { } - + int RGB601Direction::handle_event() { *output = get_value() ? true_value : 0;