]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/FormCopyright.h
Clean-up of the button controller.
[lyx.git] / src / frontends / gnome / FormCopyright.h
1 // -*- C++ -*-
2 /* This file is part of
3  * =================================================
4  * 
5  *          LyX, The Document Processor
6  *          Copyright 1995 Matthias Ettrich.
7  *          Copyright 1995-2000 The LyX Team.
8  *
9  * ================================================= 
10  *
11  * \author Michael Koziarski <michael@koziarski.org>
12  * */
13
14 #ifndef FORMCOPYRIGHT_H
15 #define FORMCOPYRIGHT_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "ControlCopyright.h"
22 #include "GnomeBase.h"
23
24 namespace Gtk {
25 class Button;
26 class Label;
27 }
28
29 /**
30  * This class implements the dialog to show the copyright.
31  */
32 class FormCopyright : public FormCB<ControlCopyright> {
33 public:
34         ///
35         FormCopyright(ControlCopyright & c);
36         ///
37         ~FormCopyright() {};
38
39         void apply() {}; 
40         void update() {};
41         
42 private:
43         
44         /// Build the dialog
45         void build();
46         Gtk::Button * ok();
47         void CancelClicked() { CancelButton(); }
48         Gtk::Label * disclaimer();
49         Gtk::Label * copyright();
50         Gtk::Label * license();
51         /// The ok button
52         
53 };
54
55 #endif