summaryrefslogtreecommitdiff
path: root/src/widgets/music_widget.h
blob: 3a99bc6150381e861dace510eea49f8b652816c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* $Id$ */

/*
 * This file is part of OpenTTD.
 * 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.
 * 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.
 * 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/>.
 */

/** @file music_widget.h Types related to the music widgets. */

#ifndef WIDGETS_MUSIC_WIDGET_H
#define WIDGETS_MUSIC_WIDGET_H

/** Widgets of the #MusicTrackSelectionWindow class. */
enum MusicTrackSelectionWidgets {
	WID_MTS_LIST_LEFT,  ///< Left button.
	WID_MTS_PLAYLIST,   ///< Playlist.
	WID_MTS_LIST_RIGHT, ///< Right button.
	WID_MTS_ALL,        ///< All button.
	WID_MTS_OLD,        ///< Old button.
	WID_MTS_NEW,        ///< New button.
	WID_MTS_EZY,        ///< Ezy button.
	WID_MTS_CUSTOM1,    ///< Custom1 button.
	WID_MTS_CUSTOM2,    ///< Custom2 button.
	WID_MTS_CLEAR,      ///< Clear button.
};

/** Widgets of the #MusicWindow class. */
enum MusicWidgets {
	WID_M_PREV,        ///< Previous button.
	WID_M_NEXT,        ///< Next button.
	WID_M_STOP,        ///< Stop button.
	WID_M_PLAY,        ///< Play button.
	WID_M_SLIDERS,     ///< Sliders.
	WID_M_MUSIC_VOL,   ///< Music volume.
	WID_M_EFFECT_VOL,  ///< Effect volume.
	WID_M_BACKGROUND,  ///< Background of the window.
	WID_M_TRACK,       ///< Track playing.
	WID_M_TRACK_NR,    ///< Track number.
	WID_M_TRACK_TITLE, ///< Track title.
	WID_M_TRACK_NAME,  ///< Track name.
	WID_M_SHUFFLE,     ///< Shuffle button.
	WID_M_PROGRAMME,   ///< Program button.
	WID_M_ALL,         ///< All button.
	WID_M_OLD,         ///< Old button.
	WID_M_NEW,         ///< New button.
	WID_M_EZY,         ///< Ezy button.
	WID_M_CUSTOM1,     ///< Custom1 button.
	WID_M_CUSTOM2,     ///< Custom2 button.
};

#endif /* WIDGETS_MUSIC_WIDGET_H */