Remove unused member in title screen dialog.

This commit is contained in:
Mark de Wever 2010-10-26 21:37:36 +00:00
parent 7b9d008881
commit 176de8ede6
2 changed files with 2 additions and 18 deletions

View File

@ -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);

View File

@ -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_;