File indexing completed on 2024-07-14 07:17:20

0001 /*
0002     SPDX-FileCopyrightText: 2012 Jerome SONRIER <jsid@emor3j.fr.eu.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "coordinategrid.h"
0010 
0011 class SkyComposite;
0012 class SkyPainter;
0013 
0014 /**
0015  * @class EquatorialCoordinateGrid
0016  * Collection of all the circles in the equatorial coordinate grid
0017  *
0018  * @author Jérôme SONRIER
0019  * @version 0.1
0020  */
0021 class EquatorialCoordinateGrid : public CoordinateGrid
0022 {
0023   public:
0024     /**
0025      * @short Constructor
0026      * Simply adds all of the equatorial coordinate grid circles (meridians and parallels)
0027      * @p parent Pointer to the parent SkyComposite object
0028      */
0029     explicit EquatorialCoordinateGrid(SkyComposite *parent);
0030 
0031     void preDraw(SkyPainter *skyp) override;
0032 
0033     bool selected() override;
0034 };