OpenTTD Source: src/widgets/framerate_widget.h Source File

OpenTTD Source 15.0-beta1

framerate_widget.h
Go to the documentation of this file.
1/*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
7
10#ifndef WIDGETS_FRAMERATE_WIDGET_H
11#define WIDGETS_FRAMERATE_WIDGET_H
12
14 enum FramerateWindowWidgets : WidgetID {
15 WID_FRW_CAPTION,
16 WID_FRW_RATE_GAMELOOP,
17 WID_FRW_RATE_DRAWING,
18 WID_FRW_RATE_FACTOR,
19 WID_FRW_INFO_DATA_POINTS,
20 WID_FRW_TIMES_NAMES,
21 WID_FRW_TIMES_CURRENT,
22 WID_FRW_TIMES_AVERAGE,
23 WID_FRW_ALLOCSIZE,
24 WID_FRW_SCROLLBAR,
25};
26
28 enum FrametimeGraphWindowWidgets : WidgetID {
29 WID_FGW_CAPTION,
30 WID_FGW_GRAPH,
31};
32
33#endif /* WIDGETS_FRAMERATE_WIDGET_H */
FramerateWindowWidgets
FramerateWindowWidgets
Widgets of the FramerateWindow class.
Definition framerate_widget.h:14
FrametimeGraphWindowWidgets
FrametimeGraphWindowWidgets
Widgets of the FrametimeGraphWindow class.
Definition framerate_widget.h:28
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:18