summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2018-12-22 16:44:40 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2018-12-22 16:44:40 +0000
commit5020185f86d9fe14933b7bc6e4749fb7e559fbcd (patch)
treedbadf1edbc59e115bba58bcfbc57a875a8ee0a37 /src/widgets/stroke-style.cpp
parentpinch zoom gesture (diff)
downloadinkscape-5020185f86d9fe14933b7bc6e4749fb7e559fbcd.tar.gz
inkscape-5020185f86d9fe14933b7bc6e4749fb7e559fbcd.zip
Move DashSelector to Inkscape::UI::Widget namespace
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rwxr-xr-xsrc/widgets/stroke-style.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index 46559f83a..7dee458f4 100755
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -30,6 +30,7 @@
#include "svg/svg-color.h"
#include "ui/icon-loader.h"
+#include "ui/widget/dash-selector.h"
#include "ui/widget/unit-menu.h"
#include "widgets/style-utils.h"
@@ -214,9 +215,9 @@ StrokeStyle::StrokeStyle() :
spw_label(table, _("Dashes:"), 0, i, nullptr); //no mnemonic for now
//decide what to do:
// implement a set_mnemonic_source function in the
- // SPDashSelector class, so that we do not have to
+ // Inkscape::UI::Widget::DashSelector class, so that we do not have to
// expose any of the underlying widgets?
- dashSelector = Gtk::manage(new SPDashSelector);
+ dashSelector = Gtk::manage(new Inkscape::UI::Widget::DashSelector);
dashSelector->show();
dashSelector->set_hexpand();
@@ -735,7 +736,7 @@ StrokeStyle::getItemColorForMarker(SPItem *item, Inkscape::PaintTarget fill_or_s
* Sets selector widgets' dash style from an SPStyle object.
*/
void
-StrokeStyle::setDashSelectorFromStyle(SPDashSelector *dsel, SPStyle *style)
+StrokeStyle::setDashSelectorFromStyle(Inkscape::UI::Widget::DashSelector *dsel, SPStyle *style)
{
if (!style->stroke_dasharray.values.empty()) {
double d[64];