Kstars

terraincomponent.h
1 /*
2  SPDX-FileCopyrightText: 2021 Hy Murveit <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "terraincomponent.h"
10 #include "skycomponent.h"
11 
12 /**
13  * @class TerrainComponent
14  * Represents the terrain overlay
15  * @author Hy Murveit
16  * @version 1.0
17  */
19 {
20  public:
21  /** Constructor */
22  explicit TerrainComponent(SkyComposite *);
23 
24  virtual ~TerrainComponent() override = default;
25 
26  bool selected() override;
27  void draw(SkyPainter *skyp) override;
28 };
bool selected() override
TerrainComponent(SkyComposite *)
Constructor.
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.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.