2 * Copyright (C) 2006 Ronald Lamprecht
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef GUI_ERRORMENU_HH_INCLUDED
21 #define GUI_ERRORMENU_HH_INCLUDED
24 #include "gui/Menu.hh"
27 namespace enigma
{ namespace gui
{
28 class ErrorMenu
: public Menu
{
30 ErrorMenu (std::string message
, std::string quitTitle
);
31 ErrorMenu (std::string message
, std::string quitTitle
, std::string rejectTitle
);
32 ErrorMenu (std::string message
, std::string quitTitle
, std::string rejectTitle
,
33 std::string laterTitle
);
37 bool on_event (const SDL_Event
&e
);
38 void on_action (gui::Widget
*w
);
39 void draw_background (ecl::GC
&gc
);
48 }} // namespace enigma::gui
49 #endif // GUI_ERRORMENU_HH_INCLUDED