Searched refs:SP_ACTIVE_DESKTOP (Results 1 - 25 of 88) sorted by relevance

1234

/inkscape/src/display/
H A Dgrayscale.cpp81 * the global SP_ACTIVE_DESKTOP macro. Then use this method, so we know where the abuse is
85 if (SP_ACTIVE_DESKTOP) {
86 return (SP_ACTIVE_DESKTOP->getColorMode() == Inkscape::COLORMODE_GRAYSCALE);
/inkscape/src/widgets/
H A Dtext-toolbar.cpp170 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
231 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
237 sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTNUMBERS);
244 DocumentUndo::maybeDone(SP_ACTIVE_DESKTOP->getDocument(), "ttb:size", SP_VERB_NONE,
276 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
306 int result_baseline = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_BASELINES);
353 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
358 DocumentUndo::maybeDone(SP_ACTIVE_DESKTOP->getDocument(), "ttb:script", SP_VERB_NONE,
377 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
489 sp_desktop_query_style (SP_ACTIVE_DESKTOP,
[all...]
/inkscape/src/ui/widget/
H A Dcolor-picker.cpp120 if (_undo && SP_ACTIVE_DESKTOP) {
121 DocumentUndo::done(SP_ACTIVE_DESKTOP->getDocument(), SP_VERB_NONE,
H A Dobject-composite-settings.cpp66 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
92 _subject->setDesktop(SP_ACTIVE_DESKTOP);
/inkscape/src/ui/dialog/
H A Ddialog.cpp74 _desktop = SP_ACTIVE_DESKTOP;
205 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
280 return sp_shortcut_invoke(shortcut, SP_ACTIVE_DESKTOP);
296 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
313 return SP_ACTIVE_DESKTOP->getSelection();
H A Dtext-edit.cpp292 if (!desktop || SP_ACTIVE_DESKTOP != desktop)
348 //int result_fontspec = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONT_SPECIFICATION);
349 int result_family = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTFAMILY);
350 int result_style = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTSTYLE);
351 int result_numbers = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTNUMBERS);
407 sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTVARIANTS);
409 sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_FONTFEATURESETTINGS);
443 if (!SP_ACTIVE_DESKTOP)
446 std::vector<SPItem*> tmp=SP_ACTIVE_DESKTOP->getSelection()->itemList();
459 if (!SP_ACTIVE_DESKTOP)
[all...]
H A Dexport.cpp202 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
611 gint num = SP_ACTIVE_DESKTOP->getSelection()->itemList().size();
627 if ((SP_ACTIVE_DESKTOP->getSelection())->isEmpty() == false) {
665 Inkscape::Selection *selection = SP_ACTIVE_DESKTOP->getSelection();
668 (SP_ACTIVE_DESKTOP->getSelection())->isEmpty() == false &&
673 was_empty = (SP_ACTIVE_DESKTOP->getSelection())->isEmpty();
688 if ( SP_ACTIVE_DESKTOP ) {
690 doc = SP_ACTIVE_DESKTOP->getDocument();
701 Sel = SP_ACTIVE_DESKTOP->getSelection();
736 if ( SP_ACTIVE_DESKTOP )
[all...]
H A Dtemplate-widget.cpp69 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
107 _effect_prefs = data.tpl_effect->get_imp()->prefs_effect(data.tpl_effect, SP_ACTIVE_DESKTOP, NULL, NULL);
H A Ddesktop-tracker.cpp125 setDesktop(SP_ACTIVE_DESKTOP);
H A Dobject-properties.cpp352 if (SP_ACTIVE_DESKTOP != _desktop) {
356 Inkscape::Selection *selection = SP_ACTIVE_DESKTOP->getSelection();
461 SPItem *item = SP_ACTIVE_DESKTOP->getSelection()->singleItem();
521 SPItem *item = SP_ACTIVE_DESKTOP->getSelection()->singleItem();
548 SPItem *item = SP_ACTIVE_DESKTOP->getSelection()->singleItem();
564 SPItem *item = SP_ACTIVE_DESKTOP->getSelection()->singleItem();
H A Dpanel-dialog.h154 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
203 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
/inkscape/src/
H A Dfile.cpp153 SPDesktop *olddesktop = SP_ACTIVE_DESKTOP;
245 if (SP_ACTIVE_DESKTOP == NULL) {
270 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
358 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
637 SPDesktop *dt = SP_ACTIVE_DESKTOP;
680 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved."));
688 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved."));
696 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved."));
702 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved."));
707 SP_ACTIVE_DESKTOP
[all...]
H A Dinkscape.cpp244 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, msg.c_str());
253 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, msg.c_str());
267 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Autosaving documents..."));
350 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, errortext);
360 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Autosave complete."));
1108 if (SP_ACTIVE_DESKTOP) {
1109 return SP_ACTIVE_DESKTOP->getDocument();
1138 if (SP_ACTIVE_DESKTOP) {
1139 return SP_ACTIVE_DESKTOP->getEventContext();
1148 if (SP_ACTIVE_DESKTOP) {
[all...]
H A Dsp-lpe-item.cpp256 if (SP_ACTIVE_DESKTOP && SP_ACTIVE_DESKTOP->messageStack()) {
257 SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE,
472 if (SP_ACTIVE_DESKTOP ) {
473 Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context;
475 tools_switch(SP_ACTIVE_DESKTOP, TOOLS_LPETOOL); //mhh
476 tools_switch(SP_ACTIVE_DESKTOP, TOOLS_NODES);
703 if (SP_ACTIVE_DESKTOP && SP_ACTIVE_DESKTOP->messageStack()) {
704 SP_ACTIVE_DESKTOP
[all...]
H A Dvanishing-point.cpp97 double snap_dist = SNAP_DIST / SP_ACTIVE_DESKTOP->current_zoom();
113 sel_boxes = (*vp)->selectedBoxes(SP_ACTIVE_DESKTOP->getSelection());
132 DocumentUndo::done(SP_ACTIVE_DESKTOP->getDocument(), SP_VERB_CONTEXT_3DBOX,
177 DocumentUndo::done(SP_ACTIVE_DESKTOP->getDocument(), SP_VERB_CONTEXT_3DBOX,
188 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
282 this->knot = new SPKnot(SP_ACTIVE_DESKTOP, NULL);
399 Inkscape::Selection *sel = SP_ACTIVE_DESKTOP->getSelection();
494 this->selection = SP_ACTIVE_DESKTOP->getSelection();
710 SPDesktop *desktop = SP_ACTIVE_DESKTOP; // FIXME: Store the desktop in VPDrag
784 SPCtrlLine *line = ControlManager::getManager().createControlLine(SP_ACTIVE_DESKTOP
[all...]
H A Dtext-chemistry.cpp79 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
189 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
252 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
287 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
380 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
470 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
/inkscape/src/helper/
H A Dwindow.cpp30 return sp_shortcut_invoke (shortcut, SP_ACTIVE_DESKTOP);
H A Dstock-items.cpp198 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
268 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
/inkscape/src/live_effects/
H A Dlpe-mirror_symmetry.cpp126 if(SP_ACTIVE_DESKTOP){
127 SPDocument * doc = SP_ACTIVE_DESKTOP->getDocument();
130 sp *= i2anc_affine(SP_OBJECT(lpeitem), SP_OBJECT(SP_ACTIVE_DESKTOP->currentLayer()->parent)) .inverse();
133 ep *= i2anc_affine(SP_OBJECT(lpeitem), SP_OBJECT(SP_ACTIVE_DESKTOP->currentLayer()->parent)) .inverse();
139 if(SP_ACTIVE_DESKTOP){
140 SPDocument * doc = SP_ACTIVE_DESKTOP->getDocument();
143 sp *= i2anc_affine(SP_OBJECT(lpeitem), SP_OBJECT(SP_ACTIVE_DESKTOP->currentLayer()->parent)) .inverse();
146 ep *= i2anc_affine(SP_OBJECT(lpeitem), SP_OBJECT(SP_ACTIVE_DESKTOP->currentLayer()->parent)) .inverse();
/inkscape/src/ui/
H A Ddialog-events.cpp173 if ( SP_ACTIVE_DESKTOP )
175 SP_ACTIVE_DESKTOP->setWindowTransient (dialog, transient_policy);
/inkscape/src/extension/
H A Dprefdialog.cpp19 // Used to get SP_ACTIVE_DESKTOP
64 controls = _effect->get_imp()->prefs_effect(_effect, SP_ACTIVE_DESKTOP, &_signal_param_change, NULL);
202 _exEnv = new ExecutionEnv(_effect, SP_ACTIVE_DESKTOP, NULL, false, false);
247 _effect->effect(SP_ACTIVE_DESKTOP);
/inkscape/src/live_effects/parameter/
H A Dpath.cpp422 SPItem * item = SP_ACTIVE_DESKTOP->getSelection()->singleItem();
424 param_editOncanvas(item, SP_ACTIVE_DESKTOP);
435 SPItem * item = SP_ACTIVE_DESKTOP->getSelection()->singleItem();
451 Glib::ustring svgd = cm->getPathParameter(SP_ACTIVE_DESKTOP);
468 Glib::ustring pathid = cm->getShapeOrTextObjectId(SP_ACTIVE_DESKTOP);
H A Doriginalpath.cpp122 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
H A Dtext.cpp36 SPDesktop *desktop = SP_ACTIVE_DESKTOP; // FIXME: we shouldn't use this!
/inkscape/src/ui/tools/
H A Dmeasure-tool.cpp208 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
344 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
404 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
429 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
459 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
540 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
686 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
699 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
735 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
766 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
[all...]

Completed in 51 milliseconds

1234