Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Namespaces | |
namespace | Inkscape |
Helper class to stream background task notifications as a series of messages. | |
namespace | Inkscape::UI |
User interface code. | |
namespace | Inkscape::UI::Widget |
Custom widgets. | |
Functions | |
void | gr_get_usage_counts (SPDocument *doc, std::map< SPGradient *, gint > *mapUsageCount) |
unsigned long | sp_gradient_to_hhssll (SPGradient *gr) |
Glib::ustring | gr_prepare_label (SPObject *obj) |
Glib::ustring | gr_ellipsize_text (Glib::ustring const &src, size_t maxlen) |
Variables | |
static Glib::ustring const | prefs_path = "/dialogs/gradienteditor/" |
Glib::ustring gr_ellipsize_text | ( | Glib::ustring const & | src, |
size_t | maxlen | ||
) |
Definition at line 235 of file gradient-vector-selector.cpp.
Referenced by gr_prepare_label(), and Inkscape::UI::Toolbar::GradientToolbar::update_stop_list().
void gr_get_usage_counts | ( | SPDocument * | doc, |
std::map< SPGradient *, gint > * | mapUsageCount | ||
) |
Definition at line 259 of file gradient-vector-selector.cpp.
References SPObject::getId(), item, sp_get_all_document_items(), and sp_item_get_gradient().
Referenced by Inkscape::UI::Widget::GradientVectorSelector::rebuild_gui_full().
Glib::ustring gr_prepare_label | ( | SPObject * | obj | ) |
Definition at line 219 of file gradient-vector-selector.cpp.
References SPObject::getId(), SPObject::getRepr(), gr_ellipsize_text(), SPObject::label(), and Inkscape::XML::Node::name().
Referenced by Inkscape::UI::Widget::GradientSelector::onGradientRename(), and Inkscape::UI::Widget::GradientVectorSelector::rebuild_gui_full().
unsigned long sp_gradient_to_hhssll | ( | SPGradient * | gr | ) |
Definition at line 249 of file gradient-vector-selector.cpp.
References Inkscape::Colors::Color::convert(), SPStop::getColor(), SPGradient::getFirstStop(), and Inkscape::Colors::Space::HSL.
Referenced by Inkscape::UI::Widget::GradientVectorSelector::rebuild_gui_full().
|
static |
Definition at line 44 of file gradient-vector-selector.cpp.
Referenced by Inkscape::UI::Dialog::InkscapePreferences::AddBaseSimplifySpinbutton(), Inkscape::UI::Dialog::InkscapePreferences::AddConvertGuidesCheckbox(), Inkscape::UI::Dialog::InkscapePreferences::AddDotSizeSpinbutton(), Inkscape::UI::Dialog::InkscapePreferences::AddGradientCheckbox(), Inkscape::UI::Dialog::InkscapePreferences::AddLayerChangeCheckbox(), Inkscape::UI::Dialog::InkscapePreferences::AddNewObjectsStyle(), Inkscape::UI::Dialog::InkscapePreferences::AddPageChangeCheckbox(), Inkscape::UI::Dialog::InkscapePreferences::AddSelcueCheckbox(), Inkscape::UI::Widget::PrefColorPicker::init(), Inkscape::UI::Widget::PrefEditFolder::init(), Inkscape::UI::Widget::PrefCheckButton::init(), Inkscape::UI::Widget::PrefRadioButton::init(), Inkscape::UI::Widget::PrefRadioButton::init(), Inkscape::UI::Widget::PrefUnit::init(), Inkscape::UI::Widget::PrefEntry::init(), Inkscape::UI::Widget::PrefEntryFileButtonHBox::init(), Inkscape::UI::Widget::PrefEntryButtonHBox::init(), Inkscape::UI::Widget::PrefSpinUnit::init(), Inkscape::UI::Widget::PrefSpinButton::init(), Inkscape::UI::Widget::PrefSlider::init(), Inkscape::UI::Widget::PrefMultiEntry::init(), Inkscape::UI::Widget::PrefCombo::init(), Inkscape::UI::Widget::PrefCombo::init(), Inkscape::UI::Widget::PrefRadioButtons::PrefRadioButtons(), and Inkscape::UI::Dialog::StyleFromSelectionToTool().