Feature #6090: Change music set during gameplay

This commit is contained in:
Niels Martin Hansen
2018-03-20 17:06:39 +01:00
committed by frosch
parent 430e20f7e4
commit 19f5a6cbb0
5 changed files with 79 additions and 7 deletions

View File

@@ -13,6 +13,7 @@
#define SETTING_GUI_H
#include "gfx_type.h"
#include "widgets/dropdown_type.h"
/** Width of setting buttons */
#define SETTING_BUTTON_WIDTH ((int)NWidgetScrollbar::GetHorizontalDimension().width * 2)
@@ -23,5 +24,10 @@ void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clic
void DrawDropDownButton(int x, int y, Colours button_colour, bool state, bool clickable);
void DrawBoolButton(int x, int y, bool state, bool clickable);
DropDownList *BuildMusicSetDropDownList(int *selected_index);
/* Actually implemented in music_gui.cpp */
void ChangeMusicSet(int index);
#endif /* SETTING_GUI_H */