Index: trunk/src/libcschem/extobj.h =================================================================== --- trunk/src/libcschem/extobj.h (revision 11521) +++ trunk/src/libcschem/extobj.h (revision 11522) @@ -31,6 +31,7 @@ void (*attr_edit_pre)(csch_cgrp_t *grp, const char *key); /* called before an attribute change */ void (*attr_edit_post)(csch_cgrp_t *grp, const char *key); /* called after an attribute change */ + void (*floater_edit_post)(csch_cgrp_t *grp, csch_chdr_t *flt);/* called after a floater has been edited (optional) */ void (*update)(csch_cgrp_t *grp); /* recompute graphics */ void (*gui_edit_dlg)(csch_cgrp_t *grp); /* present the object-specific editor dialog */ void (*conv_from)(vtp0_t *objs); /* remove one or more objects from objs and convert them into extended object(s) */ @@ -93,6 +94,12 @@ grp->extobj->attr_edit_post(grp, key); } +RND_INLINE void csch_extrobj_floater_edit_post(csch_cgrp_t *grp, csch_chdr_t *flt) +{ + if ((grp->extobj_inhibit == 0) && (grp->extobj != NULL) && (grp->extobj->floater_edit_post != NULL)) + grp->extobj->floater_edit_post(grp, flt); +} + RND_INLINE int csch_extobj_gui_edit_dlg(csch_cgrp_t *grp) { if ((grp->extobj_inhibit == 0) && (grp->extobj != NULL) && (grp->extobj->gui_edit_dlg != NULL)) {