From cfaf73bf6a5f65247028f659640178fc2445668d Mon Sep 17 00:00:00 2001 From: Karol Nowak Date: Tue, 20 Feb 2007 20:12:47 +0000 Subject: [PATCH] Bring back the "beg button" in the tiny gui mode --- src/titlescreen.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/titlescreen.cpp b/src/titlescreen.cpp index 23575f3625c..d7f5c4b2910 100644 --- a/src/titlescreen.cpp +++ b/src/titlescreen.cpp @@ -305,11 +305,9 @@ TITLE_RESULT show_title(display& screen, config& tips_of_day, int* ntip) gui::button next_tip_button(screen.video(),_("More"),button::TYPE_PRESS,"lite_small"); gui::button help_tip_button(screen.video(),_("Help"),button::TYPE_PRESS,"lite_small"); -#ifndef USE_TINY_GUI // FIXME: Translatable string is here because we WILL put text in before 1.2! gui::button beg_button(screen.video(),("Help Wesnoth"),button::TYPE_IMAGE,"menu-button",button::MINIMUM_SPACE); beg_button.set_help_string(_("Help Wesnoth by sending us information")); -#endif if(tips_of_day.empty()) { tips_of_day = get_tips_of_day(); @@ -320,11 +318,9 @@ TITLE_RESULT show_title(display& screen, config& tips_of_day, int* ntip) draw_tip_of_day(screen, tips_of_day, ntip, style, &next_tip_button, &help_tip_button, &main_dialog_area, tip_of_day_restorer); -#ifndef USE_TINY_GUI const int pad = game_config::title_tip_padding; beg_button.set_location(screen.x() - pad - beg_button.location().w, screen.y() - pad - beg_button.location().h); -#endif events::raise_draw_event(); LOG_DP << "drew buttons dialog\n"; @@ -355,11 +351,9 @@ TITLE_RESULT show_title(display& screen, config& tips_of_day, int* ntip) if(help_tip_button.pressed()) { return SHOW_HELP; } -#ifndef USE_TINY_GUI if(beg_button.pressed()) { return BEG_FOR_UPLOAD; } -#endif events::raise_process_event(); events::raise_draw_event();