27 struct builder_menu_button;
40 virtual void set_active(
const bool active)
override;
46 virtual unsigned get_state()
const override;
50 void set_values(
const std::vector<::config>& values,
unsigned selected = 0);
52 void set_selected(
unsigned selected,
bool fire_event =
true);
111 static const std::string&
type();
158 virtual std::unique_ptr<widget>
build()
const override;
A config object defines a single node in a WML file, with access to child nodes.
Small abstract helper class.
ui_event
The event sent to the dispatcher.
Contains the implementation details for lexical_cast and shouldn't be used directly.
std::unique_ptr< MIX_Audio, decltype(&MIX_DestroyAudio)> value