Kstars

ecliptic.h
1 /*
2  SPDX-FileCopyrightText: 2007 James B. Bowlin <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "linelistindex.h"
10 #include "linelistlabel.h"
11 
12 /**
13  * @class Ecliptic
14  * Represents the ecliptic on the sky map.
15  *
16  * @author James B. Bowlin
17  * @version 0.1
18  */
19 class Ecliptic : public LineListIndex
20 {
21  public:
22  /**
23  * @short Constructor
24  * @p parent pointer to the parent SkyComposite object name is the name of the subclass
25  */
26  explicit Ecliptic(SkyComposite *parent);
27 
28  void draw(SkyPainter *skyp) override;
29  virtual void drawCompassLabels();
30  bool selected() override;
31 
32  LineListLabel *label() override { return &m_label; }
33 
34  private:
35  LineListLabel m_label;
36 };
Ecliptic(SkyComposite *parent)
Constructor parent pointer to the parent SkyComposite object name is the name of the subclass.
Definition: ecliptic.cpp:21
SkyComposite * parent()
Definition: skycomponent.h:137
bool selected() override
Definition: ecliptic.cpp:52
Draws things on the sky, without regard to backend.
Definition: skypainter.h:37
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: ecliptic.cpp:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:50 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.