diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2008-06-25 02:58:21 +0000 |
|---|---|---|
| committer | JucaBlues <JucaBlues@users.sourceforge.net> | 2008-06-25 02:58:21 +0000 |
| commit | cc239db0804d0994aa6186597e0f0b7b0c6a1e23 (patch) | |
| tree | 85b1c4a143dfe04d4215c3aa0d6da458113cffc6 /src | |
| parent | adding a dialog for SVG Fonts (diff) | |
| download | inkscape-cc239db0804d0994aa6186597e0f0b7b0c6a1e23.tar.gz inkscape-cc239db0804d0994aa6186597e0f0b7b0c6a1e23.zip | |
missing files from previous commit
(bzr r6057)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/svg-fonts-dialog.cpp | 39 | ||||
| -rw-r--r-- | src/ui/dialog/svg-fonts-dialog.h | 38 |
2 files changed, 77 insertions, 0 deletions
diff --git a/src/ui/dialog/svg-fonts-dialog.cpp b/src/ui/dialog/svg-fonts-dialog.cpp new file mode 100644 index 000000000..f6d357a0e --- /dev/null +++ b/src/ui/dialog/svg-fonts-dialog.cpp @@ -0,0 +1,39 @@ +/** + * \brief SVG Fonts dialog + * + * Authors: + * Felipe C. da S. Sanches <felipe.sanches@gmail.com> + * + * Copyright (C) 2008 Authors + * + * Released under GNU GPLv2 (or later). Read the file 'COPYING' for more information. + */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#ifdef ENABLE_SVG_FONTS + +#include "svg-fonts-dialog.h" + +namespace Inkscape { +namespace UI { +namespace Dialog { + +/*** SvgFontsDialog ***/ + +SvgFontsDialog::SvgFontsDialog() + : UI::Widget::Panel("", "dialogs.svgfonts", SP_VERB_DIALOG_SVG_FONTS) +{ + Gtk::Label* label = Gtk::manage(new Gtk::Label("Here we will have settings for the SVGFonts used in the document.")); + _getContents()->add(*label); +} + +SvgFontsDialog::~SvgFontsDialog(){} + +} // namespace Dialog +} // namespace UI +} // namespace Inkscape + +#endif //#ifdef ENABLE_SVG_FONTS diff --git a/src/ui/dialog/svg-fonts-dialog.h b/src/ui/dialog/svg-fonts-dialog.h new file mode 100644 index 000000000..c2cd7a803 --- /dev/null +++ b/src/ui/dialog/svg-fonts-dialog.h @@ -0,0 +1,38 @@ +/** + * \brief SVG Fonts dialog + * + * Authors: + * Felipe CorrĂȘa da Silva Sanches <felipe.sanches@gmail.com> + * + * Copyright (C) 2008 Authors + * + * Released under GNU GPLv2 (or later). Read the file 'COPYING' for more information. + */ + +#ifndef INKSCAPE_UI_DIALOG_SVG_FONTS_H +#define INKSCAPE_UI_DIALOG_SVG_FONTS_H + +#include "ui/widget/panel.h" +#include "sp-font.h" +#include "verbs.h" + +using namespace Inkscape::UI::Widget; + +namespace Inkscape { +namespace UI { +namespace Dialog { + +class SvgFontsDialog : public UI::Widget::Panel { +public: + SvgFontsDialog(); + ~SvgFontsDialog(); + + static SvgFontsDialog &getInstance() + { return *new SvgFontsDialog(); } +}; + +} // namespace Dialog +} // namespace UI +} // namespace Inkscape + +#endif //#ifndef INKSCAPE_UI_DIALOG_SVG_FONTS_H |
