Kstars

terraincomponent.h
1/*
2 SPDX-FileCopyrightText: 2021 Hy Murveit <hy@murveit.com>
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 */
23
24 virtual ~TerrainComponent() override = default;
25
26 bool selected() override;
27 void draw(SkyPainter *skyp) override;
28};
SkyComponent represents an object on the sky map.
SkyComposite is a kind of container class for SkyComponent objects.
Draws things on the sky, without regard to backend.
Definition skypainter.h:40
Represents the terrain overlay.
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
TerrainComponent(SkyComposite *)
Constructor.
bool selected() override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.