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