Marble

FpsLayer.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2011, 2012 Bernhard Beschow <[email protected]>
4 //
5 
6 #ifndef MARBLE_FPSLAYER_H
7 #define MARBLE_FPSLAYER_H
8 
9 class QPainter;
10 class QElapsedTimer;
11 
12 namespace Marble
13 {
14 
15 class FpsLayer
16 {
17 public:
18  explicit FpsLayer( QElapsedTimer *time );
19 
20  void paint( QPainter *painter ) const;
21 
22 private:
23  QElapsedTimer *const m_time;
24 };
25 
26 }
27 
28 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.