Added better handling of failures loading icons, as Cairo generated exception were crashing app under windows. Minor fix to handling missing processing params to not alter the global defaults.

This commit is contained in:
sashavasko
2010-05-13 16:42:43 -05:00
commit 65ea3aff3e
572 changed files with 115958 additions and 0 deletions

53
rtengine/refreshmap.h Normal file
View File

@@ -0,0 +1,53 @@
/*
* 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/>.
*/
#ifndef __REFRESHMAP__
#define __REFRESHMAP__
#include <glibmm.h>
#define NUMOFEVENTS 83
#define FIRST 65535
#define ALL 65535
#define TRANSFORM 127
#define RETINEX 63
#define AUTOEXP 31
#define RGBCURVE 15
#define LUMINANCECURVE 6
#define SHARPENING 2
#define LUMADENOISE 2
#define WHITEBALANCE 255
#define COLORBOOST 1
#define COLORDENOISE 1
#define CROP 16384
#define EXIF 32768
#define IPTC 32768
#define NONE 0
#define M_INIT 128
#define M_TRANSFORM 64
#define M_BLURMAP 32
#define M_AUTOEXP 16
#define M_RGBCURVE 8
#define M_LUMACURVE 4
#define M_LUMINANCE 2
#define M_COLOR 1
extern int refreshmap[];
#endif