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()
24 : Dialog ("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 show_all_children();
40 }
42 TextProperties::~TextProperties()
43 {
44 }
46 } // namespace Dialog
47 } // namespace UI
48 } // namespace Inkscape
50 /*
51 Local Variables:
52 mode:c++
53 c-file-style:"stroustrup"
54 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
55 indent-tabs-mode:nil
56 fill-column:99
57 End:
58 */
59 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :