src/music_gui.cpp
changeset 9317 f14eb8815829
parent 9284 e2987a51f382
child 9759 1bae6857dde6
equal deleted inserted replaced
9316:f8c7d3af9e1b 9317:f14eb8815829
   349 static const WindowDesc _music_track_selection_desc = {
   349 static const WindowDesc _music_track_selection_desc = {
   350 	104, 131, 432, 218, 432, 218,
   350 	104, 131, 432, 218, 432, 218,
   351 	WC_MUSIC_TRACK_SELECTION, WC_NONE,
   351 	WC_MUSIC_TRACK_SELECTION, WC_NONE,
   352 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   352 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   353 	_music_track_selection_widgets,
   353 	_music_track_selection_widgets,
   354 	NULL
       
   355 };
   354 };
   356 
   355 
   357 static void ShowMusicTrackSelection()
   356 static void ShowMusicTrackSelection()
   358 {
   357 {
   359 	AllocateWindowDescFront<MusicTrackSelectionWindow>(&_music_track_selection_desc, 0);
   358 	AllocateWindowDescFront<MusicTrackSelectionWindow>(&_music_track_selection_desc, 0);
   551 static const WindowDesc _music_window_desc = {
   550 static const WindowDesc _music_window_desc = {
   552 	0, 22, 300, 66, 300, 66,
   551 	0, 22, 300, 66, 300, 66,
   553 	WC_MUSIC_WINDOW, WC_NONE,
   552 	WC_MUSIC_WINDOW, WC_NONE,
   554 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   553 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   555 	_music_window_widgets,
   554 	_music_window_widgets,
   556 	NULL
       
   557 };
   555 };
   558 
   556 
   559 void ShowMusicWindow()
   557 void ShowMusicWindow()
   560 {
   558 {
   561 	AllocateWindowDescFront<MusicWindow>(&_music_window_desc, 0);
   559 	AllocateWindowDescFront<MusicWindow>(&_music_window_desc, 0);