Removed Windows-style line breaks (^M) from all .cc and .h source files.

This commit is contained in:
Wyatt Olson
2010-05-01 16:26:14 -06:00
parent e1a028e535
commit 1b563a4b82
284 changed files with 39262 additions and 39262 deletions

View File

@@ -1,21 +1,21 @@
/*
* This file is part of RawTherapee.
*
* Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
*
* RawTherapee 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 3 of the License, or
* (at your option) any later version.
*
* RawTherapee 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 RawTherapee. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* This file is part of RawTherapee.
*
* Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
*
* RawTherapee 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 3 of the License, or
* (at your option) any later version.
*
* RawTherapee 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 RawTherapee. If not, see <http://www.gnu.org/licenses/>.
*/
#include <multilangmgr.h>
#include <toolpanelcoord.h>
#include <ilabel.h>
@@ -268,83 +268,83 @@ void ToolPanelCoordinator::writeOptions () {
options.crvOpen.push_back (curve->isCurveExpanded());
}
void ToolPanelCoordinator::cropSelectionReady () {
toolBar->setTool (TMHand);
if (!ipc)
return;
}
void ToolPanelCoordinator::rotateSelectionReady (double rotate_deg, Thumbnail* thm) {
toolBar->setTool (TMHand);
if (!ipc)
return;
if (rotate_deg!=0.0)
void ToolPanelCoordinator::cropSelectionReady () {
toolBar->setTool (TMHand);
if (!ipc)
return;
}
void ToolPanelCoordinator::rotateSelectionReady (double rotate_deg, Thumbnail* thm) {
toolBar->setTool (TMHand);
if (!ipc)
return;
if (rotate_deg!=0.0)
rotate->straighten (rotate_deg);
}
void ToolPanelCoordinator::spotWBselected (int x, int y, Thumbnail* thm) {
if (!ipc)
return;
// toolBar->setTool (TOOL_HAND);
if (x>0 && y>0) {
double temp;
double green;
}
void ToolPanelCoordinator::spotWBselected (int x, int y, Thumbnail* thm) {
if (!ipc)
return;
// toolBar->setTool (TOOL_HAND);
if (x>0 && y>0) {
double temp;
double green;
ipc->getSpotWB (x, y, whitebalance->getSize (), temp, green);
whitebalance->setWB (temp, green);
}
}
void ToolPanelCoordinator::autoCropRequested () {
if (!ipc)
return;
int x1, y1, x2, y2, w, h;
ipc->getAutoCrop (crop->getRatio(), x1, y1, w, h);
x2 = x1 + w - 1;
y2 = y1 + h - 1;
crop->cropInit (x1, y1, w, h);
crop->cropResized (x1, y1, x2, y2);
crop->cropManipReady ();
}
void ToolPanelCoordinator::straightenRequested () {
if (!ipc)
return;
toolBar->setTool (TMStraighten);
}
}
}
void ToolPanelCoordinator::autoCropRequested () {
if (!ipc)
return;
int x1, y1, x2, y2, w, h;
ipc->getAutoCrop (crop->getRatio(), x1, y1, w, h);
x2 = x1 + w - 1;
y2 = y1 + h - 1;
crop->cropInit (x1, y1, w, h);
crop->cropResized (x1, y1, x2, y2);
crop->cropManipReady ();
}
void ToolPanelCoordinator::straightenRequested () {
if (!ipc)
return;
toolBar->setTool (TMStraighten);
}
void ToolPanelCoordinator::spotWBRequested (int size) {
if (!ipc)
return;
void ToolPanelCoordinator::spotWBRequested (int size) {
if (!ipc)
return;
toolBar->setTool (TMSpotWB);
}
void ToolPanelCoordinator::cropSelectRequested () {
if (!ipc)
return;
toolBar->setTool (TMCropSelect);
}
}
void ToolPanelCoordinator::saveInputICCReference (Glib::ustring fname) {
if (ipc)
ipc->saveInputICCReference (fname);
}
void ToolPanelCoordinator::cropSelectRequested () {
if (!ipc)
return;
toolBar->setTool (TMCropSelect);
}
void ToolPanelCoordinator::saveInputICCReference (Glib::ustring fname) {
if (ipc)
ipc->saveInputICCReference (fname);
}
int ToolPanelCoordinator::getSpotWBRectSize () {