X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftranslate%2Ftranslatewin.C;h=c1a6400e481a756a717754235a1914f6fa9bf12a;hb=91055a5ffb7855edcfcc7790d5131c2ad304b10a;hp=5f13aab5b397379f89233719dc34b7dd1f5e6d41;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/translate/translatewin.C b/cinelerra-5.1/plugins/translate/translatewin.C index 5f13aab5..c1a6400e 100644 --- a/cinelerra-5.1/plugins/translate/translatewin.C +++ b/cinelerra-5.1/plugins/translate/translatewin.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 @@ TranslateWin::TranslateWin(TranslateMain *client) : PluginClientWindow(client, - 300, - 220, - 300, - 220, + 300, + 220, + 300, + 220, 0) -{ - this->client = client; +{ + this->client = client; } TranslateWin::~TranslateWin() @@ -115,17 +115,17 @@ void TranslateWin::create_objects() -TranslateCoord::TranslateCoord(TranslateWin *win, - TranslateMain *client, - int x, +TranslateCoord::TranslateCoord(TranslateWin *win, + TranslateMain *client, + int x, int y, float *value) : BC_TumbleTextBox(win, (int)*value, (int)0, (int)10000, - x, - y, + x, + y, 100) { //printf("TranslateWidth::TranslateWidth %f\n", client->config.w);