
- Use the new register functions. - Updated wiki comment. - change the scroll_label by a wrapping label.
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
/* $Id$ */
|
|
/*
|
|
Copyright (C) 2008 - 2011 by Mark de Wever <koraq@xs4all.nl>
|
|
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY.
|
|
|
|
See the COPYING file for more details.
|
|
*/
|
|
|
|
#ifndef GUI_DIALOGS_MP_LOGIN_HPP_INCLUDED
|
|
#define GUI_DIALOGS_MP_LOGIN_HPP_INCLUDED
|
|
|
|
#include "gui/dialogs/dialog.hpp"
|
|
|
|
namespace gui2 {
|
|
|
|
class tmp_login : public tdialog
|
|
{
|
|
public:
|
|
tmp_login(const std::string& label,
|
|
const bool focus_password);
|
|
|
|
private:
|
|
|
|
/** Inherited from tdialog, implemented by REGISTER_DIALOG. */
|
|
virtual const std::string& window_id() const;
|
|
|
|
/** Inherited from tdialog. */
|
|
void pre_show(CVideo& video, twindow& window);
|
|
|
|
/** Inherited from tdialog. */
|
|
void post_show(twindow& window);
|
|
};
|
|
|
|
} // namespace gui2
|
|
|
|
#endif
|
|
|