File indexing completed on 2024-12-01 06:35:39
0001 /* 0002 SPDX-FileCopyrightText: 2021 Hy Murveit <hy@murveit.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "terraincomponent.h" 0010 #include "skycomponent.h" 0011 0012 /** 0013 * @class TerrainComponent 0014 * Represents the terrain overlay 0015 * @author Hy Murveit 0016 * @version 1.0 0017 */ 0018 class TerrainComponent : public SkyComponent 0019 { 0020 public: 0021 /** Constructor */ 0022 explicit TerrainComponent(SkyComposite *); 0023 0024 virtual ~TerrainComponent() override = default; 0025 0026 bool selected() override; 0027 void draw(SkyPainter *skyp) override; 0028 };