summaryrefslogtreecommitdiff
path: root/src/settings_gui.h
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-03-20 17:06:39 +0100
committerfrosch <github@elsenhans.name>2018-04-29 19:26:05 +0200
commit19f5a6cbb07a3d9edcfee083f6b211b6023f1292 (patch)
tree42acf471b3b5c77562e1f6bccd60cea6e874d284 /src/settings_gui.h
parent430e20f7e443de7d6b5ffa4e0835ddcbb390ed6d (diff)
downloadopenttd-19f5a6cbb07a3d9edcfee083f6b211b6023f1292.tar.xz
Feature #6090: Change music set during gameplay
Diffstat (limited to 'src/settings_gui.h')
-rw-r--r--src/settings_gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings_gui.h b/src/settings_gui.h
index 05955aa55..23a343219 100644
--- a/src/settings_gui.h
+++ b/src/settings_gui.h
@@ -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 */