17 #define SETTING_BUTTON_WIDTH ((int)NWidgetScrollbar::GetHorizontalDimension().width * 2) 19 #define SETTING_BUTTON_HEIGHT ((int)NWidgetScrollbar::GetHorizontalDimension().height) 21 void DrawArrowButtons(
int x,
int y, Colours button_colour, byte state,
bool clickable_left,
bool clickable_right);
22 void DrawDropDownButton(
int x,
int y, Colours button_colour,
bool state,
bool clickable);
25 DropDownList BuildMusicSetDropDownList(
int *selected_index);
void DrawBoolButton(int x, int y, bool state, bool clickable)
Draw a toggle button.
std::vector< std::unique_ptr< const DropDownListItem > > DropDownList
A drop down list is a collection of drop down list items.
void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right)
Draw [<][>] boxes.
Types related to the drop down widget.
void ChangeMusicSet(int index)
Change the configured music set and reset playback.
void DrawDropDownButton(int x, int y, Colours button_colour, bool state, bool clickable)
Draw a dropdown button.
Types related to the graphics and/or input devices.