Index: gui/banner.cc =================================================================== --- gui/banner.cc (revisión: 9996) +++ gui/banner.cc (copia de trabajo) @@ -21,6 +21,7 @@ #include "scenario_frame.h" #include "server_frame.h" #include "components/gui_image.h" +#include "optionen.h" // Local adjustments @@ -123,7 +124,10 @@ load_scenario.add_listener( this ); add_component( &load_scenario ); - new_component(); + // Options button + options.init( button_t::roundbox | button_t::flexible, "Optionen"); + options.add_listener( this ); + add_component( &options ); // Play online button join_map.init( button_t::roundbox | button_t::flexible, "join game"); @@ -167,6 +171,10 @@ destroy_all_win(true); create_win( new scenario_frame_t(), w_info, magic_load_t ); } + else if( comp == &options ) { + destroy_all_win(true); + create_win( new optionen_gui_t(), w_info, magic_optionen_gui_t ); + } else if( comp == &join_map ) { destroy_all_win(true); create_win( new server_frame_t(), w_info, magic_server_frame_t ); Index: gui/banner.h =================================================================== --- gui/banner.h (revisión: 9996) +++ gui/banner.h (copia de trabajo) @@ -24,6 +24,7 @@ new_map, load_map, load_scenario, + options, join_map, quit;