File indexing completed on 2025-01-19 09:45:58
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 "linelistindex.h" 0010 #include "linelistlabel.h" 0011 0012 /** 0013 * @class Ecliptic 0014 * Represents the ecliptic on the sky map. 0015 * 0016 * @author James B. Bowlin 0017 * @version 0.1 0018 */ 0019 class Ecliptic : public LineListIndex 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 Ecliptic(SkyComposite *parent); 0027 0028 void draw(SkyPainter *skyp) override; 0029 virtual void drawCompassLabels(); 0030 bool selected() override; 0031 0032 LineListLabel *label() override { return &m_label; } 0033 0034 private: 0035 LineListLabel m_label; 0036 };