From 815dc8cd4a3e73c0140640c566be6ec2732d9b14 Mon Sep 17 00:00:00 2001 From: JucaBlues Date: Wed, 25 Jun 2008 02:58:21 +0000 Subject: [PATCH] missing files from previous commit --- src/ui/dialog/svg-fonts-dialog.cpp | 39 ++++++++++++++++++++++++++++++ src/ui/dialog/svg-fonts-dialog.h | 38 +++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 src/ui/dialog/svg-fonts-dialog.cpp create mode 100644 src/ui/dialog/svg-fonts-dialog.h 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 -- 2.30.2