From: JucaBlues Date: Wed, 25 Jun 2008 02:58:21 +0000 (+0000) Subject: missing files from previous commit X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=815dc8cd4a3e73c0140640c566be6ec2732d9b14;p=inkscape.git missing files from previous commit --- 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 + * + * Copyright (C) 2008 Authors + * + * Released under GNU GPLv2 (or later). Read the file 'COPYING' for more information. + */ + +#ifdef HAVE_CONFIG_H +# include +#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 + * + * 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