File indexing completed on 2024-04-14 14:11:21

0001 /*
0002     SPDX-FileCopyrightText: 2007 James B. Bowlin <bowlin@mindspring.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "linelistlabel.h"
0010 #include "noprecessindex.h"
0011 
0012 /**
0013  * @class Equator
0014  * Represents the equator on the sky map.
0015  *
0016  * @author James B. Bowlin
0017  * @version 0.1
0018  */
0019 class Equator : public NoPrecessIndex
0020 {
0021   public:
0022     /**
0023      * @short Constructor
0024      * @p parent pointer to the parent SkyComposite object name is the name of the subclass
0025      */
0026     explicit Equator(SkyComposite *parent);
0027 
0028     bool selected() override;
0029     void draw(SkyPainter *skyp) override;
0030     virtual void drawCompassLabels();
0031     LineListLabel *label() override { return &m_label; }
0032 
0033   protected:
0034     void preDraw(SkyPainter *skyp) override;
0035 
0036   private:
0037     LineListLabel m_label;
0038 };