Code

From trunk
[inkscape.git] / src / ui / dialog / aboutbox.h
1 /** @file
2  * @brief Inkscape About box
3  *
4  * The standard Gnome::UI::About class doesn't include a place to stuff
5  * a renderable View that holds the classic Inkscape "about.svg".
6  */
7 /* Author:
8  *   Kees Cook <kees@outflux.net>
9  *
10  * Copyright (C) 2005 Kees Cook
11  *
12  * Released under GNU GPL v2+.  Read the file 'COPYING' for more information.
13  */
15 #ifndef INKSCAPE_UI_DIALOG_ABOUTBOX_H
16 #define INKSCAPE_UI_DIALOG_ABOUTBOX_H
18 #include <gtkmm/dialog.h>
20 namespace Inkscape {
21 namespace UI {
22 namespace Dialog {
24 class AboutBox : public Gtk::Dialog {
26 public:
28     static void show_about();
29     static void hide_about();
31 private:
33     AboutBox();
34     
35     void initStrings();
36     
37     Glib::ustring authors_text;
38     Glib::ustring translators_text;
39     Glib::ustring license_text;
41     virtual void on_response(int response_id);
42 };
44 } // namespace Dialog
45 } // namespace UI
46 } // namespace Inkscape
48 #endif // INKSCAPE_UI_DIALOG_ABOUTBOX_H
50 /* 
51   Local Variables:
52   mode:c++
53   c-file-style:"stroustrup"
54   c-file-offsets:((innamespace . 0)(inline-open . 0))
55   indent-tabs-mode:nil
56   fill-column:99
57   End:
58 */
59 // vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :