
4 Jun
2012
4 Jun
'12
7:15 p.m.
Hi there.
I thought it would be nice to add a verb to swap fill and stroke, but alas - I can't figure it out. I've pasted my feeble attempts below in case anyone has pointers. I barely dabble in C/C++ so I might be barking up the wrong tree entirely...
Thanks, Chris
Tried adding something like this to verbs: case SP_VERB_SELECTION_SWAP_FILL_STROKE: Inkscape::UI::Widget::SelectedStyle *ss; ss->on_fillstroke_swap(); break;
But get this: ui/widget/selected-style.h:223:10: error: ‘void Inkscape::UI::Widget::SelectedStyle::on_fillstroke_swap()’ is protected verbs.cpp:1136:27: error: within this context