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 #ifdef HAVE_CONFIG_H
13 # include <config.h>
14 #endif
16 #include "text-properties.h"
17 #include "verbs.h"
19 namespace Inkscape {
20 namespace UI {
21 namespace Dialog {
23 TextProperties::TextProperties(Behavior::BehaviorFactory behavior_factory)
24 : Dialog (behavior_factory, "dialogs.textandfont", SP_VERB_DIALOG_TEXT),
25 _page_font(1, 1),
26 _page_text(1, 1)
27 {
28 // Top level vbox
29 Gtk::VBox *vbox = get_vbox();
30 vbox->set_spacing(4);
32 // Notebook for individual transformations
33 vbox->pack_start(_notebook, true, true);
35 // TODO: Insert widgets
36 _notebook.append_page(_page_font, _("Font"));
37 _notebook.append_page(_page_text, _("Text"));
39 set_resizable (true);
40 set_size_request(450, 300);
42 show_all_children();
43 }
45 TextProperties::~TextProperties()
46 {
47 }
49 } // namespace Dialog
50 } // namespace UI
51 } // namespace Inkscape
53 /*
54 Local Variables:
55 mode:c++
56 c-file-style:"stroustrup"
57 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
58 indent-tabs-mode:nil
59 fill-column:99
60 End:
61 */
62 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :