/inkscape/src/ |
H A D | verbs-test.h | 43 Inkscape::Verb* verb = Inkscape::Verb::get(i); local 44 TSM_ASSERT( descr, verb ); 45 if ( verb ) 47 TSM_ASSERT_EQUALS( descr, verb->get_code(), static_cast<unsigned int>(i) ); 51 TSM_ASSERT( descr, verb->get_id() ); 52 TSM_ASSERT( descr, verb->get_name() ); 54 Inkscape::Verb* bounced = verb->getbyid( verb->get_id() ); 63 TS_FAIL( std::string("Unable to getbyid() for ") + descr + std::string(" ID: '") + std::string(verb->get_id()) + std::string("'") ); 68 TSM_ASSERT( std::string("SP_VERB_INVALID"), !verb [all...] |
H A D | main-cmdlineact.cpp | 47 Inkscape::Verb * verb = Inkscape::Verb::getbyid(_arg); local 48 if (verb == NULL) { 49 printf(_("Unable to find verb ID '%s' specified on the command line.\n"), _arg); 52 SPAction * action = verb->get_action(context);
|
H A D | document-undo.cpp | 127 Verb *verb = Verb::get(type); local 128 if (verb) { 129 _addProperty(share_static_string("context"), verb->get_id());
|
H A D | shortcuts.cpp | 70 Inkscape::Verb *verb = sp_shortcut_get_verb(shortcut); local 71 if (verb) { 72 SPAction *action = verb->get_action(Inkscape::ActionContext(view)); 573 g_warning("Missing verb name (action= attribute) for shortcut"); 577 Inkscape::Verb *verb=Inkscape::Verb::getbyid(verb_name); local 578 if (!verb 586 g_warning("Unknown verb name: %s", verb_name); 625 sp_shortcut_set(keyval | modifiers, verb, is_primary, is_user_set); 632 * Removes a keyboard shortcut for the given verb. 641 Inkscape::Verb *verb local 718 sp_shortcut_set(unsigned int const shortcut, Inkscape::Verb *const verb, bool const is_primary, bool const is_user_set) argument 748 sp_shortcut_get_primary(Inkscape::Verb *verb) argument 761 sp_shortcut_is_user_set(Inkscape::Verb *verb) argument [all...] |
H A D | verbs.cpp | 6 * This file implements routines necessary to deal with verbs. A verb 355 * Create a verb without a code. 385 * Destroy a verb. 584 * @param vector The function vector for the verb. 610 * This function will get the action for a given view for this verb. It 611 * will create the verb if it can't be found in the ActionTable. Also, 668 g_printerr("WARNING: ignoring verb %s - GUI required for this verb.\n", action->id); 693 * Accessor to get the tooltip for verb as localised string. 807 Verb *verb local 828 Verb *verb = NULL; local 1255 size_t verb = reinterpret_cast<std::size_t>(data); local 1614 sp_verb_t verb; local 3070 Verb * verb = iter->second; local 3087 Verb * verb = iter->second; local [all...] |
H A D | splivarot.cpp | 64 void sp_selected_path_boolop(Inkscape::Selection *selection, SPDesktop *desktop, bool_op bop, const unsigned int verb=SP_VERB_NONE, const Glib::ustring description=""); 335 sp_selected_path_boolop(Inkscape::Selection *selection, SPDesktop *desktop, bool_op bop, const unsigned int verb, const Glib::ustring description) argument 842 if (verb != SP_VERB_NONE) { 843 DocumentUndo::done(doc, verb, description);
|
/inkscape/src/helper/ |
H A D | action.h | 49 Inkscape::Verb *verb; /**< The verb that produced this action */ member in struct:SPAction 69 Inkscape::Verb *verb);
|
H A D | action.cpp | 85 Inkscape::Verb * verb) 95 action->verb = verb; 119 _addProperty(share_static_string("verb"), action->id); 80 sp_action_new(Inkscape::ActionContext const &context, const gchar *id, const gchar *name, const gchar *tip, const gchar *image, Inkscape::Verb * verb) argument
|
/inkscape/share/extensions/ |
H A D | synfig_prepare.py | 76 def verb(self, verb): member in class:InkscapeActionGroup 77 """Run an Inkscape verb 79 For a list of verbs, run `inkscape --verb-list` 82 self.command += "--verb=%s " % (verb) 123 self.verb("EditDeselect") 131 cmd = self.init_args + " " + self.command + "--verb=FileSave --verb=FileQuit" 176 self.set_init_args("--verb [all...] |
/inkscape/src/extension/ |
H A D | effect.cpp | 104 _menu_node = xml_doc->createElement("verb"); 105 _menu_node->setAttribute("verb-id", this->get_id(), false); 137 // Merge the verb name 159 if (!strcmp(menupass->name(), "verb")) { 160 gchar const * verbid = menupass->attribute("verb-id"); 161 Inkscape::Verb * verb = Inkscape::Verb::getbyid(verbid); local 162 if (verb == NULL) { 163 g_warning("Unable to find verb '%s' which is referred to in the menus.", verbid); 166 compare_char = verb->get_name(); 294 ensures that the last effect verb i [all...] |
/inkscape/src/ui/widget/ |
H A D | page-sizer.cpp | 723 Verb *verb = Verb::get( SP_VERB_FIT_CANVAS_TO_SELECTION_OR_DRAWING ); local 724 if (verb) { 725 SPAction *action = verb->get_action(Inkscape::ActionContext(dt));
|
H A D | style-swatch.cpp | 203 Inkscape::Verb *verb = Inkscape::Verb::get(this->_verb_t); local 204 SPAction *action = verb->get_action(Inkscape::ActionContext((Inkscape::UI::View::View *) this->_desktop));
|
/inkscape/src/widgets/ |
H A D | gradient-selector.cpp | 529 Inkscape::Verb *verb = Inkscape::Verb::get( SP_VERB_CONTEXT_GRADIENT ); local 530 if ( verb ) { 531 SPAction *action = verb->get_action( Inkscape::ActionContext( ( Inkscape::UI::View::View * ) SP_ACTIVE_DESKTOP ) );
|
H A D | node-toolbar.cpp | 542 Inkscape::Verb* verb = Inkscape::Verb::get(SP_VERB_EDIT_NEXT_PATHEFFECT_PARAMETER); local 543 InkAction* inky = ink_action_new( verb->get_id(), 544 verb->get_name(), 545 verb->get_tip(),
|
H A D | select-toolbar.cpp | 351 static GtkAction* create_action_for_verb( Inkscape::Verb* verb, Inkscape::UI::View::View* view, Inkscape::IconSize size ) argument 355 SPAction* targetAction = verb->get_action(Inkscape::ActionContext(view)); 356 InkAction* inky = ink_action_new( verb->get_id(), verb->get_name(), verb->get_tip(), verb->get_image(), size ); 361 Inkscape::queueIconPrerender( verb->get_image(), size );
|
H A D | desktop-widget.cpp | 520 Inkscape::Verb* verb = Inkscape::Verb::get( SP_VERB_VIEW_CMS_TOGGLE ); local 521 if ( verb ) { 522 SPAction *act = verb->get_action( Inkscape::ActionContext( dtw->viewwidget.view ) ); 1125 Inkscape::Verb* verb = Inkscape::Verb::get( SP_VERB_VIEW_CMS_TOGGLE ); local 1126 if ( verb ) { 1127 SPAction *act = verb->get_action( Inkscape::ActionContext( dtw->viewwidget.view ) );
|
/inkscape/src/ui/dialog/ |
H A D | symbols.cpp | 388 Inkscape::Verb *verb = Inkscape::Verb::get( SP_VERB_EDIT_SYMBOL ); local 389 SPAction *action = verb->get_action(Inkscape::ActionContext( (Inkscape::UI::View::View *) this->currentDesktop) ); 394 Inkscape::Verb *verb = Inkscape::Verb::get( SP_VERB_EDIT_UNSYMBOL ); local 395 SPAction *action = verb->get_action(Inkscape::ActionContext( (Inkscape::UI::View::View *) this->currentDesktop ) );
|
H A D | align-and-distribute.cpp | 92 void ActionAlign::do_node_action(Inkscape::UI::Tools::NodeTool *nt, int verb) argument 96 switch(verb){ 225 void ActionAlign::do_verb_action(SPDesktop *desktop, int verb) argument 231 do_node_action(nt, verb); 235 do_action(desktop, verb_to_coeff(verb)); 238 int ActionAlign::verb_to_coeff(int verb) { argument 241 if (_allCoeffs[i].verb_id == verb) {
|
H A D | layers.cpp | 101 Verb *verb = Verb::get( code ); local 102 if ( verb ) { 103 SPAction *action = verb->get_action(Inkscape::ActionContext(desktop)); 133 Verb *verb = Verb::get( code ); local 134 if ( verb ) { 135 SPAction *action = verb->get_action(Inkscape::ActionContext(desktop)); 174 Verb *verb = Verb::get( code ); local 175 if ( verb ) { 176 SPAction *action = verb->get_action(Inkscape::ActionContext(_desktop)); 183 // g_message("no verb fo [all...] |
H A D | tags.cpp | 164 Verb *verb = Verb::get( code ); local 165 if ( verb ) { 166 SPAction *action = verb->get_action(desktop); 205 Verb *verb = Verb::get( code ); local 206 if ( verb ) { 207 SPAction *action = verb->get_action(_desktop);
|
H A D | inkscape-preferences.cpp | 1706 Inkscape::Verb *const verb = Inkscape::Verb::getbyid(id.c_str()); member in class:Inkscape::UI::Dialog::Inkscape 1707 if (!verb) { 1789 Inkscape::Verb* verb = verbs[i]; local 1790 if (!verb) { 1793 if (!verb->get_name()){ 1803 Glib::ustring group = verb->get_group() ? _(verb->get_group()) : _("Misc"); 1804 Glib::ustring verb_id = verb->get_id(); 1834 // Remove the key accelerators from the verb name 1835 Glib::ustring name = _(verb [all...] |
H A D | objects.cpp | 263 Verb *verb = Verb::get( code ); local 264 if ( verb ) { 265 SPAction *action = verb->get_action(desktop); 1108 * Fires the action verb 1113 Verb *verb = Verb::get( code ); local 1114 if ( verb ) { 1115 SPAction *action = verb->get_action(_desktop);
|
H A D | swatches.cpp | 154 Inkscape::Verb *verb = Inkscape::Verb::get( SP_VERB_CONTEXT_GRADIENT ); local 155 if ( verb ) { 156 SPAction *action = verb->get_action( Inkscape::ActionContext( ( Inkscape::UI::View::View * ) SP_ACTIVE_DESKTOP ) );
|
/inkscape/src/ui/tools/ |
H A D | pen-tool.cpp | 1072 Inkscape::Verb* verb = sp_shortcut_get_verb(shortcut); local 1073 if (verb) { 1074 unsigned int vcode = verb->get_code();
|
/inkscape/src/extension/dbus/ |
H A D | document-interface.cpp | 181 * the object specified. Any selection verb can be used on the 267 Inkscape::Verb *verb = Inkscape::Verb::get( verbid ); local 268 if ( verb ) { 269 SPAction *action = verb->get_action(doc_interface->target); 273 Inkscape::DocumentUndo::done(doc_interface->target.getDocument(), verb->get_code(), verb->get_tip()); 356 Inkscape::Verb *verb = Inkscape::Verb::getbyid( verbid ); local 357 if ( verb ) { 358 SPAction *action = verb->get_action(doc_interface->target); 362 Inkscape::DocumentUndo::done(doc_interface->target.getDocument(), verb [all...] |