Marble

FpsLayer.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2011, 2012 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
4//
5
6#ifndef MARBLE_FPSLAYER_H
7#define MARBLE_FPSLAYER_H
8
9class QPainter;
10class QElapsedTimer;
11
12namespace Marble
13{
14
15class FpsLayer
16{
17public:
18 explicit FpsLayer(QElapsedTimer *time);
19
20 void paint(QPainter *painter) const;
21
22private:
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-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.