Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/focus/focus.h
Context not available. | |||||
9 | 9 | | |||
---|---|---|---|---|---|
10 | #pragma once | 10 | #pragma once | ||
11 | 11 | | |||
12 | #include "kstarsenum.h" | ||||
12 | #include "ui_focus.h" | 13 | #include "ui_focus.h" | ||
13 | #include "ekos/ekos.h" | 14 | #include "ekos/ekos.h" | ||
14 | #include "ekos/auxiliary/filtermanager.h" | 15 | #include "ekos/auxiliary/filtermanager.h" | ||
Context not available. | |||||
129 | * Return state of Focuser modue (Ekos::FocusState) | 130 | * Return state of Focuser modue (Ekos::FocusState) | ||
130 | */ | 131 | */ | ||
131 | 132 | | |||
132 | Q_SCRIPTABLE int getStatus() { return state; } | 133 | Q_SCRIPTABLE int getStatus() { return KStarsEnum::toType(state); } | ||
133 | 134 | | |||
134 | /** @}*/ | 135 | /** @}*/ | ||
135 | 136 | | |||
Context not available. | |||||
479 | QPixmap profilePixmap; | 480 | QPixmap profilePixmap; | ||
480 | 481 | | |||
481 | /// State | 482 | /// State | ||
482 | Ekos::FocusState state { Ekos::FOCUS_IDLE }; | 483 | Ekos::FocusState state { Ekos::FocusState::FOCUS_IDLE }; | ||
483 | 484 | | |||
484 | /// FITS Scale | 485 | /// FITS Scale | ||
485 | FITSScale defaultScale; | 486 | FITSScale defaultScale; | ||
Context not available. |