1 /*
2     SPDX-FileCopyrightText: 2012 Jasem Mutlaq <mutlaqja@ikarustech.com>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QString>
10 #include <KLocalizedString>
11 
12 typedef enum { FITS_NORMAL, FITS_FOCUS, FITS_GUIDE, FITS_CALIBRATE, FITS_ALIGN } FITSMode;
13 
14 // Focus States
15 static const QStringList FITSModes =   { I18N_NOOP("Normal"),  I18N_NOOP("Focus"), I18N_NOOP("Guide"),
16                                          I18N_NOOP("Calibrate"), I18N_NOOP("Align")
17                                        };
18 
19 const QString &getFITSModeStringString(FITSMode mode);
20 
21 typedef enum { FITS_HFR, FITS_WCS, FITS_VALUE, FITS_POSITION, FITS_ZOOM, FITS_RESOLUTION, FITS_LED, FITS_MESSAGE} FITSBar;
22 
23 typedef enum
24 {
25     FITS_NONE,
26     FITS_AUTO_STRETCH,
27     FITS_HIGH_CONTRAST,
28     FITS_EQUALIZE,
29     FITS_HIGH_PASS,
30     FITS_MEDIAN,
31     FITS_GAUSSIAN,
32     FITS_ROTATE_CW,
33     FITS_ROTATE_CCW,
34     FITS_FLIP_H,
35     FITS_FLIP_V,
36     FITS_AUTO,
37     FITS_LINEAR,
38     FITS_LOG,
39     FITS_SQRT,
40     FITS_CUSTOM
41 } FITSScale;
42 
43 typedef enum { ZOOM_FIT_WINDOW, ZOOM_KEEP_LEVEL, ZOOM_FULL } FITSZoom;
44 
45 typedef enum { HFR_AVERAGE, HFR_MEDIAN, HFR_HIGH, HFR_MAX } HFRType;
46 
47 typedef enum { ALGORITHM_GRADIENT, ALGORITHM_CENTROID, ALGORITHM_THRESHOLD, ALGORITHM_SEP, ALGORITHM_BAHTINOV } StarAlgorithm;
48 
49 typedef enum { RED_CHANNEL, GREEN_CHANNEL, BLUE_CHANNEL } ColorChannels;
50