Code

Remove redundant dialog present(), make sure user_hidden is set for
[inkscape.git] / src / ui / dialog / text-properties.h
1 /**
2  * \brief Text Properties dialog
3  *
4  * Authors:
5  *   Bryce W. Harrington <bryce@bryceharrington.org>
6  *
7  * Copyright (C) 2004, 2005 Authors
8  *
9  * Released under GNU GPL.  Read the file 'COPYING' for more information.
10  */
12 #ifndef INKSCAPE_UI_DIALOG_TEXT_PROPERTIES_H
13 #define INKSCAPE_UI_DIALOG_TEXT_PROPERTIES_H
15 #include <gtkmm/notebook.h>
16 #include <glibmm/i18n.h>
18 #include "dialog.h"
19 #include "ui/widget/notebook-page.h"
21 using namespace Inkscape::UI::Widget;
23 namespace Inkscape {
24 namespace UI {
25 namespace Dialog {
27 class TextProperties : public Dialog {
28 public:
29     TextProperties(Behavior::BehaviorFactory behavior_factory);
30     virtual ~TextProperties();
32     static TextProperties *create(Behavior::BehaviorFactory behavior_factory) 
33     { return new TextProperties(behavior_factory); }
35 protected:
36     Gtk::Notebook  _notebook;
38     NotebookPage   _page_font;
39     NotebookPage   _page_text;
41 private:
42     TextProperties(TextProperties const &d);
43     TextProperties& operator=(TextProperties const &d);
44 };
46 } // namespace Dialog
47 } // namespace UI
48 } // namespace Inkscape
50 #endif // INKSCAPE_UI_DIALOG_TEXT_PROPERTIES_H
52 /*
53   Local Variables:
54   mode:c++
55   c-file-style:"stroustrup"
56   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
57   indent-tabs-mode:nil
58   fill-column:99
59   End:
60 */
61 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :