mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 21:55:43 +00:00
Remove unused member in title screen dialog.
This commit is contained in:
parent
7b9d008881
commit
176de8ede6
@ -94,8 +94,7 @@ static bool hotkey(twindow& window, const ttitle_screen::tresult result)
|
||||
}
|
||||
|
||||
ttitle_screen::ttitle_screen()
|
||||
: video_(NULL)
|
||||
, logo_timer_id_(0)
|
||||
: logo_timer_id_(0)
|
||||
{
|
||||
}
|
||||
|
||||
@ -257,11 +256,8 @@ void ttitle_screen::post_build(CVideo& video, twindow& window)
|
||||
, QUIT_GAME));
|
||||
}
|
||||
|
||||
void ttitle_screen::pre_show(CVideo& video, twindow& window)
|
||||
void ttitle_screen::pre_show(CVideo&, twindow& window)
|
||||
{
|
||||
assert(!video_);
|
||||
video_ = &video;
|
||||
|
||||
set_restore(false);
|
||||
window.set_click_dismiss(false);
|
||||
window.set_enter_disabled(true);
|
||||
@ -348,11 +344,6 @@ void ttitle_screen::pre_show(CVideo& video, twindow& window)
|
||||
}
|
||||
}
|
||||
|
||||
void ttitle_screen::post_show(twindow& /*window*/)
|
||||
{
|
||||
video_ = NULL;
|
||||
}
|
||||
|
||||
void ttitle_screen::update_tip(twindow& window, const bool previous)
|
||||
{
|
||||
tmulti_page& tips = find_widget<tmulti_page>(&window, "tips", false);
|
||||
|
@ -27,8 +27,6 @@ public:
|
||||
|
||||
~ttitle_screen();
|
||||
|
||||
CVideo* video() { return video_; }
|
||||
|
||||
/**
|
||||
* Values for the menu-items of the main menu.
|
||||
*
|
||||
@ -63,8 +61,6 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
/** Used in show in order to show child windows. */
|
||||
CVideo* video_;
|
||||
|
||||
/** Inherited from tdialog, implemented by REGISTER_WINDOW. */
|
||||
virtual const std::string& window_id() const;
|
||||
@ -75,9 +71,6 @@ private:
|
||||
/** Inherited from tdialog. */
|
||||
void pre_show(CVideo& video, twindow& window);
|
||||
|
||||
/** Inherited from tdialog. */
|
||||
void post_show(twindow& window);
|
||||
|
||||
/** The progress bar time for the logo. */
|
||||
unsigned long logo_timer_id_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user