/*
5 * Authors: see git history
7 * Copyright (C) 2018 Authors
8 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
13#include <glibmm/i18n.h>
32 _gsel = Gtk::make_managed<GradientSelector>();
34 _gsel->set_visible(
true);
37 auto const color_selector = Gtk::make_managed<ColorNotebook>(
_colors);
38 color_selector->set_label(_(
"Swatch color"));
39 color_selector->set_visible(
true);
56 if (ngr != gradient) {
64 stop->setColor(
_colors->getAverage());
75 if (vector && vector->
isSolid()) {
static void maybeDone(SPDocument *document, const gchar *keyconst, Glib::ustring const &event_description, Glib::ustring const &undo_icon, unsigned int object_modified_tag=0)
Typed SVG document implementation.
void ensureVector()
Forces vector to be built, if not present (i.e.
void set(SPAttr key, const char *value) override
Virtual build: set stop attributes from its associated XML node.
A notebook with RGB, CMYK, CMS, HSL, and Wheel pages.
TODO: insert short description here.
SPGradient * sp_gradient_ensure_vector_normalized(SPGradient *gr)
Either normalizes given gradient to vector, or returns fresh normalized vector - in latter case,...
Gradient vector and position widget.
Macro for icon names used in Inkscape.
void pack_start(Gtk::Box &box, Gtk::Widget &child, bool const expand, bool const fill, unsigned const padding)
Adds child to box, packed with reference to the start of box.
Helper class to stream background task notifications as a series of messages.
Helpers for using Gtk::Boxes, encapsulating large changes between GTK3 & GTK4.
TODO: insert short description here.
TODO: insert short description here.