Changeset View
Changeset View
Standalone View
Standalone View
kstars/fitsviewer/fitsdata.cpp
Context not available. | |||||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ | ||
---|---|---|---|---|---|
19 | 19 | | |||
20 | #include "fitsdata.h" | 20 | #include "fitsdata.h" | ||
21 | #include "skymapcomposite.h" | | |||
22 | #include "kstarsdata.h" | | |||
23 | 21 | | |||
24 | #include <cmath> | 22 | #include "auxiliary/ksnotification.h" | ||
25 | #include <cstdlib> | 23 | #include "kstarsdata.h" | ||
26 | #include <climits> | 24 | #include "ksutils.h" | ||
27 | #include <float.h> | 25 | #include "Options.h" | ||
26 | #include "skymapcomposite.h" | ||||
28 | 27 | | |||
29 | #include <QApplication> | 28 | #include <QApplication> | ||
30 | #include <QStringList> | | |||
31 | #include <QLocale> | | |||
32 | #include <QFile> | | |||
33 | #include <QTime> | | |||
34 | #include <QProgressDialog> | | |||
35 | 29 | | |||
36 | #ifndef KSTARS_LITE | 30 | #if !defined(KSTARS_LITE) && defined(HAVE_WCSLIB) | ||
37 | #ifdef HAVE_WCSLIB | | |||
38 | #include <wcshdr.h> | 31 | #include <wcshdr.h> | ||
39 | #include <wcsfix.h> | 32 | #include <wcsfix.h> | ||
40 | #endif | 33 | #endif | ||
41 | #endif | | |||
42 | 34 | | |||
43 | #include <KLocalizedString> | 35 | #include <float.h> | ||
44 | | ||||
45 | #include "auxiliary/ksnotification.h" | | |||
46 | #include "ksutils.h" | | |||
47 | #include "Options.h" | | |||
48 | 36 | | |||
49 | #define ZOOM_DEFAULT 100.0 | 37 | #define ZOOM_DEFAULT 100.0 | ||
50 | #define ZOOM_MIN 10 | 38 | #define ZOOM_MIN 10 | ||
Context not available. | |||||
207 | case DOUBLE_IMG: | 195 | case DOUBLE_IMG: | ||
208 | data_type = TDOUBLE; | 196 | data_type = TDOUBLE; | ||
209 | stats.bytesPerPixel = sizeof(double); | 197 | stats.bytesPerPixel = sizeof(double); | ||
198 | break; | ||||
210 | default: | 199 | default: | ||
211 | errMessage = i18n("Bit depth %1 is not supported.", stats.bitpix); | 200 | errMessage = i18n("Bit depth %1 is not supported.", stats.bitpix); | ||
212 | if (silent == false) | 201 | if (silent == false) | ||
Context not available. |