OpenTTD Source
1.11.0-beta2
|
Go to the documentation of this file.
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);
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.
void DrawBoolButton(int x, int y, bool state, bool clickable)
Draw a toggle button.
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.