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 : UI::Widget::Panel("", "dialogs.textandfont", SP_VERB_DIALOG_TEXT),
25 _page_font(1, 1),
26 _page_text(1, 1)
27 {
28 Gtk::Box *contents = _getContents();
30 contents->set_spacing(4);
32 // Notebook for individual transformations
33 contents->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_size_request(450, 300);
41 show_all_children();
42 }
44 TextProperties::~TextProperties()
45 {
46 }
48 } // namespace Dialog
49 } // namespace UI
50 } // namespace Inkscape
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 :