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

0001 /*
0002     SPDX-FileCopyrightText: 2005 Jason Harris <kstars@30doradus.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "noprecessindex.h"
0010 
0011 class QString;
0012 
0013 class SkyComposite;
0014 class SkyPainter;
0015 
0016 /**
0017  * @class CoordinateGrid
0018  * Collection of all the circles in the coordinate grid
0019  *
0020  * @author Jason Harris
0021  * @version 0.1
0022  */
0023 class CoordinateGrid : public NoPrecessIndex
0024 {
0025   public:
0026     /**
0027      * @short Constructor
0028      * Simply adds all of the coordinate grid circles (meridians and parallels)
0029      * @p parent Pointer to the parent SkyComposite object
0030      */
0031     CoordinateGrid(SkyComposite *parent, const QString &name);
0032 
0033     void preDraw(SkyPainter *skyp) override = 0;
0034 
0035     bool selected() override = 0;
0036 };