diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-01-26 05:57:02 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-01-27 00:41:20 +0000 |
| commit | 087826ec04e8fe69f570ef0a25a6963339de523f (patch) | |
| tree | 72de32ff6166196620b6b563c7745191aef055b0 /src | |
| parent | Improvements to CSS to easy tweak widgets (diff) | |
| download | inkscape-087826ec04e8fe69f570ef0a25a6963339de523f.tar.gz inkscape-087826ec04e8fe69f570ef0a25a6963339de523f.zip | |
Remove files from prev branch splited
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/lpe-selector.cpp | 69 | ||||
| -rw-r--r-- | src/ui/dialog/lpe-selector.h | 38 |
2 files changed, 0 insertions, 107 deletions
diff --git a/src/ui/dialog/lpe-selector.cpp b/src/ui/dialog/lpe-selector.cpp deleted file mode 100644 index 5a2f39db4..000000000 --- a/src/ui/dialog/lpe-selector.cpp +++ /dev/null @@ -1,69 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/** - * @file - * Filter Effects dialog. - */ -/* Authors: - * Marc Jeanmougin - * - * Copyright (C) 2017 Authors - * - * Released under GNU GPL v2+, read the file 'COPYING' for more information. - */ - -#include <glibmm/convert.h> -#include <glibmm/error.h> -#include <glibmm/i18n.h> -#include <glibmm/main.h> -#include <glibmm/stringutils.h> -#include "io/sys.h" -#include "io/resource.h" - -namespace Inkscape { -namespace UI { - -LPESelector::LPESelector() : Gtk::Box() -{ - - const std::string req_widgets[] = {"LPESelector", "FilterList", "FilterFERX", "FilterFERY", "FilterFERH", "FilterFERW", "FilterPreview", "FilterPrimitiveDescImage", "FilterPrimitiveList", "FilterPrimitiveDescText", "FilterPrimitiveAdd"}; - Glib::ustring gladefile = get_filename(UIS, "lpe-selector.glade"); - try { - builder = Gtk::Builder::create_from_file(gladefile); - } catch(const Glib::Error& ex) { - g_warning("Glade file loading failed for filter effect dialog"); - return; - } - - Gtk::Object* test; - for(std::string w:req_widgets) { - builder->get_widget(w,test); - if(!test){ - g_warning("Required widget %s does not exist", w.c_str()); - return; - } - } - - builder->get_widget("LPESelector", LPESelector); - _getContents()->add(*LPESelector); - -} -LPESelector::~LPESelector()= default; - - - - - - -} // Never put these namespaces together unless you are using gcc 6+ -} - -/* - 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:fileencoding=utf-8:textwidth=99 : diff --git a/src/ui/dialog/lpe-selector.h b/src/ui/dialog/lpe-selector.h deleted file mode 100644 index cc6d80f5a..000000000 --- a/src/ui/dialog/lpe-selector.h +++ /dev/null @@ -1,38 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/** @file - * @brief Filter Editor dialog - */ -/* Authors: - * Marc Jeanmougin - * - * Copyright (C) 2017 Authors - * - * Released under GNU GPL v2+, read the file 'COPYING' for more information. - */ - -#ifndef INKSCAPE_UI_LPE_SELECTOR_H -#define INKSCAPE_UI_LPE_SELECTOR_H - -#include <gtkmm/gtkmm.h> - -namespace Inkscape { -namespace UI { - -class LPESelector : public Gtk::Box { -public: - - LPESelector(); - ~LPESelector() override; - - static LPESelector &getInstance() - { return *new LPESelector(); } - -// void set_attrs_locked(const bool); -private: - Glib::RefPtr<Gtk::Builder> builder; - Glib::RefPtr<Glib::Object> FilterStore; - Gtk::Box *LPESelector; -}; -} -} -#endif |
