ManaPlus
mapdebugtab.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  * Copyright (C) 2019-2021 Andrei Karas
7  *
8  * This file is part of The ManaPlus Client.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #ifndef GUI_WIDGETS_TABS_MAPDEBUGTAB_H
25 #define GUI_WIDGETS_TABS_MAPDEBUGTAB_H
26 
28 
29 class Label;
30 
31 class MapDebugTab final : public DebugTab
32 {
33  friend class DebugWindow;
34 
35  public:
36  explicit MapDebugTab(const Widget2 *const widget);
37 
39 
40  void logic() override final;
41 
42  private:
50 #ifdef USE_OPENGL
52 #endif // USE_OPENGL
55  time_t mUpdateTime;
56 #ifdef DEBUG_DRAW_CALLS
57  Label *mDrawCallsLabel A_NONNULLPOINTER;
58 #endif // DEBUG_DRAW_CALLS
59 #ifdef DEBUG_BIND_TEXTURE
60  Label *mBindsLabel A_NONNULLPOINTER;
61 #endif // DEBUG_BIND_TEXTURE
62 
64  std::string mFPSText;
65 };
66 
67 #endif // GUI_WIDGETS_TABS_MAPDEBUGTAB_H
Definition: label.h:91
Label * mMapLabel
Definition: mapdebugtab.h:44
Label * mMapNameLabel
Definition: mapdebugtab.h:45
Label * mXYLabel
Definition: mapdebugtab.h:53
Label * mFPSLabel
Definition: mapdebugtab.h:63
time_t mUpdateTime
Definition: mapdebugtab.h:55
Label * mMapActorCountLabel
Definition: mapdebugtab.h:49
Label * mMinimapLabel
Definition: mapdebugtab.h:46
Label * mMapAtlasCountLabel
Definition: mapdebugtab.h:51
Label * mMusicFileLabel
Definition: mapdebugtab.h:43
std::string mFPSText
Definition: mapdebugtab.h:64
Label * mParticleCountLabel
Definition: mapdebugtab.h:48
Label * mTexturesLabel
Definition: mapdebugtab.h:54
MapDebugTab(const Widget2 *const widget)
Definition: mapdebugtab.cpp:50
Label * mTileMouseLabel
Definition: mapdebugtab.h:47
#define override
Definition: localconsts.h:47
#define A_NONNULLPOINTER
Definition: localconsts.h:266
#define final
Definition: localconsts.h:46
#define A_DELETE_COPY(func)
Definition: localconsts.h:53