summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/text-properties.cpp
blob: a7999267778f86b582cc76f2f95b22e24ff60e01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
 * \brief Text Properties dialog
 *
 * Authors:
 *   Bryce W. Harrington <bryce@bryceharrington.org>
 *
 * Copyright (C) 2004, 2005 Authors
 *
 * Released under GNU GPL.  Read the file 'COPYING' for more information.
 */

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include "text-properties.h"
#include "verbs.h"

namespace Inkscape {
namespace UI {
namespace Dialog {

TextProperties::TextProperties() 
    : Dialog ("dialogs.textandfont", SP_VERB_DIALOG_TEXT),
      _page_font(1, 1),
      _page_text(1, 1)
{
    // Top level vbox
    Gtk::VBox *vbox = get_vbox();
    vbox->set_spacing(4);

    // Notebook for individual transformations
    vbox->pack_start(_notebook, true, true);

    // TODO:  Insert widgets
    _notebook.append_page(_page_font, _("Font"));
    _notebook.append_page(_page_text, _("Text"));

    set_resizable (true);
    set_size_request(450, 300);
    
    show_all_children();
}

TextProperties::~TextProperties() 
{
}

} // namespace Dialog
} // namespace UI
} // namespace Inkscape

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :