// SPDX-License-Identifier: GPL-2.0-or-later /** @file * @brief A dialog for CSS styles */ /* Authors: * Kamalpreet Kaur Grewal * Tavmjong Bah * Jabiertxof * * Copyright (C) Kamalpreet Kaur Grewal 2016 * Copyright (C) Tavmjong Bah 2017 * * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "styledialog.h" #include #include #include #include #include #include "attribute-rel-svg.h" #include "attributes.h" #include "document-undo.h" #include "inkscape.h" #include "io/resource.h" #include "selection.h" #include "style-internal.h" #include "style.h" #include "svg/svg-color.h" #include "ui/icon-loader.h" #include "ui/widget/iconrenderer.h" #include "util/trim.h" #include "xml/attribute-record.h" #include "xml/node-observer.h" #include "xml/sp-css-attr.h" // G_MESSAGES_DEBUG=DEBUG_STYLEDIALOG gdb ./inkscape // #define DEBUG_STYLEDIALOG // #define G_LOG_DOMAIN "STYLEDIALOG" using Inkscape::DocumentUndo; namespace Inkscape { /** * Get the first