1 //
2 // This file is part of libyacurs.
3 // Copyright (C) 2013  Rafael Ostertag
4 //
5 // This program is free software: you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License as
7 // published by the Free Software Foundation, either version 3 of the
8 // License, or (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful, but
11 // WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 // General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program.  If not, see
17 // <http://www.gnu.org/licenses/>.
18 //
19 //
20 // $Id$
21 
22 #include "messagebox3.h"
23 
24 #include "yacursex.h"
25 
26 using namespace YACURS;
27 
28 //
29 // Private
30 //
31 
32 //
33 // Protected
34 //
35 
36 //
37 // Public
38 //
39 
MessageBox3(const std::string & title,const std::string & message1,const std::string & message2,const std::string & message3,DIALOG_TYPE dt)40 MessageBox3::MessageBox3(const std::string& title,
41                          const std::string& message1,
42                          const std::string& message2,
43                          const std::string& message3, DIALOG_TYPE dt)
44     : MessageBox2(title, message1, message2, dt), _message3(message3) {
45     _message3.color(DIALOG);
46     _vpack.add_back(&_message3);
47 }
48 
~MessageBox3()49 MessageBox3::~MessageBox3() {}
50