summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 679337a)
raw | patch | inline | side by side (parent: 679337a)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Wed, 29 Mar 2006 05:38:26 +0000 (05:38 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Wed, 29 Mar 2006 05:38:26 +0000 (05:38 +0000) |
Adding in menu-name and menu-tip XML file options to make it so that
those can be set in the INX file.
those can be set in the INX file.
src/extension/effect.cpp | patch | blob | history |
index f88833ec445c9a545726ac362bdf4dca0b6da268..8c7fad2c9fd0c5ea5b66847033b74d27f7fb245c 100644 (file)
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
// printf("Found local effects menu in %s\n", this->get_name());
local_effects_menu = sp_repr_children(child_repr);
}
+ if (!strcmp(child_repr->name(), "menu-name")) {
+ // printf("Found local effects menu in %s\n", this->get_name());
+ _verb.set_name(sp_repr_children(child_repr)->content());
+ }
+ if (!strcmp(child_repr->name(), "menu-tip")) {
+ // printf("Found local effects menu in %s\n", this->get_name());
+ _verb.set_tip(sp_repr_children(child_repr)->content());
+ }
} // children of "effect"
break; // there can only be one effect
} // find "effect"