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

OpenTTD Source 15.3

music_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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
10#ifndef WIDGETS_MUSIC_WIDGET_H
11#define WIDGETS_MUSIC_WIDGET_H
12
14 enum MusicTrackSelectionWidgets : WidgetID {
15 WID_MTS_CAPTION,
16 WID_MTS_LIST_LEFT,
17 WID_MTS_PLAYLIST,
18 WID_MTS_LIST_RIGHT,
19 WID_MTS_MUSICSET,
20 WID_MTS_ALL,
21 WID_MTS_OLD,
22 WID_MTS_NEW,
23 WID_MTS_EZY,
24 WID_MTS_CUSTOM1,
25 WID_MTS_CUSTOM2,
26 WID_MTS_CLEAR,
27};
28
30 enum MusicWidgets : WidgetID {
31 WID_M_PREV,
32 WID_M_NEXT,
33 WID_M_STOP,
34 WID_M_PLAY,
35 WID_M_SLIDERS,
36 WID_M_MUSIC_VOL,
37 WID_M_EFFECT_VOL,
38 WID_M_BACKGROUND,
39 WID_M_TRACK,
40 WID_M_TRACK_NR,
41 WID_M_TRACK_TITLE,
42 WID_M_TRACK_NAME,
43 WID_M_SHUFFLE,
44 WID_M_PROGRAMME,
45 WID_M_ALL,
46 WID_M_OLD,
47 WID_M_NEW,
48 WID_M_EZY,
49 WID_M_CUSTOM1,
50 WID_M_CUSTOM2,
51};
52
53#endif /* WIDGETS_MUSIC_WIDGET_H */
MusicTrackSelectionWidgets
MusicTrackSelectionWidgets
Widgets of the MusicTrackSelectionWindow class.
Definition music_widget.h:14
WID_MTS_OLD
@ WID_MTS_OLD
Old button.
Definition music_widget.h:21
WID_MTS_CUSTOM2
@ WID_MTS_CUSTOM2
Custom2 button.
Definition music_widget.h:25
WID_MTS_ALL
@ WID_MTS_ALL
All button.
Definition music_widget.h:20
WID_MTS_CUSTOM1
@ WID_MTS_CUSTOM1
Custom1 button.
Definition music_widget.h:24
WID_MTS_LIST_LEFT
@ WID_MTS_LIST_LEFT
Left button.
Definition music_widget.h:16
WID_MTS_EZY
@ WID_MTS_EZY
Ezy button.
Definition music_widget.h:23
WID_MTS_CLEAR
@ WID_MTS_CLEAR
Clear button.
Definition music_widget.h:26
WID_MTS_LIST_RIGHT
@ WID_MTS_LIST_RIGHT
Right button.
Definition music_widget.h:18
WID_MTS_NEW
@ WID_MTS_NEW
New button.
Definition music_widget.h:22
WID_MTS_PLAYLIST
@ WID_MTS_PLAYLIST
Playlist.
Definition music_widget.h:17
WID_MTS_MUSICSET
@ WID_MTS_MUSICSET
Music set selection.
Definition music_widget.h:19
WID_MTS_CAPTION
@ WID_MTS_CAPTION
Window caption.
Definition music_widget.h:15
MusicWidgets
MusicWidgets
Widgets of the MusicWindow class.
Definition music_widget.h:30
WID_M_PREV
@ WID_M_PREV
Previous button.
Definition music_widget.h:31
WID_M_TRACK_NAME
@ WID_M_TRACK_NAME
Track name.
Definition music_widget.h:42
WID_M_NEXT
@ WID_M_NEXT
Next button.
Definition music_widget.h:32
WID_M_NEW
@ WID_M_NEW
New button.
Definition music_widget.h:47
WID_M_TRACK_TITLE
@ WID_M_TRACK_TITLE
Track title.
Definition music_widget.h:41
WID_M_STOP
@ WID_M_STOP
Stop button.
Definition music_widget.h:33
WID_M_BACKGROUND
@ WID_M_BACKGROUND
Background of the window.
Definition music_widget.h:38
WID_M_ALL
@ WID_M_ALL
All button.
Definition music_widget.h:45
WID_M_CUSTOM2
@ WID_M_CUSTOM2
Custom2 button.
Definition music_widget.h:50
WID_M_CUSTOM1
@ WID_M_CUSTOM1
Custom1 button.
Definition music_widget.h:49
WID_M_TRACK
@ WID_M_TRACK
Track playing.
Definition music_widget.h:39
WID_M_OLD
@ WID_M_OLD
Old button.
Definition music_widget.h:46
WID_M_SLIDERS
@ WID_M_SLIDERS
Sliders.
Definition music_widget.h:35
WID_M_SHUFFLE
@ WID_M_SHUFFLE
Shuffle button.
Definition music_widget.h:43
WID_M_EZY
@ WID_M_EZY
Ezy button.
Definition music_widget.h:48
WID_M_MUSIC_VOL
@ WID_M_MUSIC_VOL
Music volume.
Definition music_widget.h:36
WID_M_EFFECT_VOL
@ WID_M_EFFECT_VOL
Effect volume.
Definition music_widget.h:37
WID_M_TRACK_NR
@ WID_M_TRACK_NR
Track number.
Definition music_widget.h:40
WID_M_PROGRAMME
@ WID_M_PROGRAMME
Program button.
Definition music_widget.h:44
WID_M_PLAY
@ WID_M_PLAY
Play button.
Definition music_widget.h:34
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20