Changeset View
Changeset View
Standalone View
Standalone View
kstars/skymapdrawabstract.cpp
Context not available. | |||||
15 | * * | 15 | * * | ||
---|---|---|---|---|---|
16 | ***************************************************************************/ | 16 | ***************************************************************************/ | ||
17 | 17 | | |||
18 | // This file implements the class SkyMapDrawAbstract, and is almost | | |||
19 | // identical to the older skymapdraw.cpp file, written by Jason | | |||
20 | // Harris. Essentially, skymapdraw.cpp was renamed and modified. | | |||
21 | // -- asimha (2011) | | |||
22 | | ||||
23 | #include <QPainter> | | |||
24 | #include <QPixmap> | | |||
25 | | ||||
26 | #include "skymapdrawabstract.h" | 18 | #include "skymapdrawabstract.h" | ||
27 | #include "skymap.h" | 19 | | ||
28 | #include "Options.h" | | |||
29 | #include "fov.h" | 20 | #include "fov.h" | ||
30 | #include "kstars.h" | 21 | #include "kstars.h" | ||
31 | #include "kstarsdata.h" | 22 | #include "kstarsdata.h" | ||
23 | #include "kstarsenum.h" | ||||
32 | #include "ksnumbers.h" | 24 | #include "ksnumbers.h" | ||
33 | #include "ksutils.h" | 25 | #include "ksutils.h" | ||
34 | #include "skyobjects/skyobject.h" | | |||
35 | #include "skyobjects/deepskyobject.h" | | |||
36 | #include "skyobjects/starobject.h" | | |||
37 | #include "skyobjects/ksplanetbase.h" | | |||
38 | #include "simclock.h" | | |||
39 | #include "observinglist.h" | 26 | #include "observinglist.h" | ||
27 | #include "Options.h" | ||||
28 | #include "simclock.h" | ||||
29 | #include "skymap.h" | ||||
30 | #include "skyqpainter.h" | ||||
31 | #include "projections/lambertprojector.h" | ||||
32 | #include "projections/projector.h" | ||||
40 | #include "skycomponents/constellationboundarylines.h" | 33 | #include "skycomponents/constellationboundarylines.h" | ||
41 | #include "skycomponents/skylabeler.h" | 34 | #include "skycomponents/skylabeler.h" | ||
42 | #include "skycomponents/skymapcomposite.h" | 35 | #include "skycomponents/skymapcomposite.h" | ||
43 | #include "skyqpainter.h" | 36 | #include "skyobjects/skyobject.h" | ||
44 | #include "projections/projector.h" | 37 | #include "skyobjects/deepskyobject.h" | ||
45 | #include "projections/lambertprojector.h" | 38 | #include "skyobjects/starobject.h" | ||
39 | #include "skyobjects/ksplanetbase.h" | ||||
46 | 40 | | |||
47 | #include <config-kstars.h> | 41 | #include <config-kstars.h> | ||
48 | 42 | | |||
Context not available. | |||||
55 | #include "ekos/align/align.h" | 49 | #include "ekos/align/align.h" | ||
56 | #endif | 50 | #endif | ||
57 | 51 | | |||
52 | #include <QPainter> | ||||
53 | #include <QPixmap> | ||||
54 | | ||||
58 | bool SkyMapDrawAbstract::m_DrawLock = false; | 55 | bool SkyMapDrawAbstract::m_DrawLock = false; | ||
59 | 56 | | |||
60 | SkyMapDrawAbstract::SkyMapDrawAbstract(SkyMap *sm) : m_KStarsData(KStarsData::Instance()), m_SkyMap(sm) | 57 | SkyMapDrawAbstract::SkyMapDrawAbstract(SkyMap *sm) : m_KStarsData(KStarsData::Instance()), m_SkyMap(sm) | ||
Context not available. | |||||
251 | } | 248 | } | ||
252 | } | 249 | } | ||
253 | 250 | | |||
254 | if (align->getStatus() == Ekos::ALIGN_COMPLETE || align->getStatus() == Ekos::ALIGN_PROGRESS) | 251 | if (align->getStatus() == KStarsEnum::toType(Ekos::AlignState::ALIGN_COMPLETE) || | ||
252 | align->getStatus() == KStarsEnum::toType(Ekos::AlignState::ALIGN_PROGRESS)) | ||||
255 | { | 253 | { | ||
256 | bool isVisible = false; | 254 | bool isVisible = false; | ||
257 | FOV *fov = align->fov(); | 255 | FOV *fov = align->fov(); | ||
Context not available. |