/inkscape/src/display/ |
H A D | grayscale.cpp | 81 * 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 D | text-toolbar.cpp | 170 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 D | color-picker.cpp | 120 if (_undo && SP_ACTIVE_DESKTOP) { 121 DocumentUndo::done(SP_ACTIVE_DESKTOP->getDocument(), SP_VERB_NONE,
|
H A D | object-composite-settings.cpp | 66 SPDesktop *desktop = SP_ACTIVE_DESKTOP; 92 _subject->setDesktop(SP_ACTIVE_DESKTOP);
|
/inkscape/src/ui/dialog/ |
H A D | dialog.cpp | 74 _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 D | text-edit.cpp | 292 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 D | export.cpp | 202 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 D | template-widget.cpp | 69 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 D | desktop-tracker.cpp | 125 setDesktop(SP_ACTIVE_DESKTOP);
|
H A D | object-properties.cpp | 352 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 D | panel-dialog.h | 154 SPDesktop *desktop = SP_ACTIVE_DESKTOP; 203 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
|
/inkscape/src/ |
H A D | file.cpp | 153 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 D | inkscape.cpp | 244 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 D | sp-lpe-item.cpp | 256 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 D | vanishing-point.cpp | 97 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 D | text-chemistry.cpp | 79 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 D | window.cpp | 30 return sp_shortcut_invoke (shortcut, SP_ACTIVE_DESKTOP);
|
H A D | stock-items.cpp | 198 SPDesktop *desktop = SP_ACTIVE_DESKTOP; 268 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
|
/inkscape/src/live_effects/ |
H A D | lpe-mirror_symmetry.cpp | 126 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 D | dialog-events.cpp | 173 if ( SP_ACTIVE_DESKTOP ) 175 SP_ACTIVE_DESKTOP->setWindowTransient (dialog, transient_policy);
|
/inkscape/src/extension/ |
H A D | prefdialog.cpp | 19 // 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 D | path.cpp | 422 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 D | originalpath.cpp | 122 SPDesktop *desktop = SP_ACTIVE_DESKTOP;
|
H A D | text.cpp | 36 SPDesktop *desktop = SP_ACTIVE_DESKTOP; // FIXME: we shouldn't use this!
|
/inkscape/src/ui/tools/ |
H A D | measure-tool.cpp | 208 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...] |