void PyLabelAttributes_StartUp(LabelAttributes *subj, void *data) { if(subj == 0) return; currentAtts = subj; PyLabelAttributes_SetDefaults(subj); // // Create the observer that will be notified when the attributes change. // if(LabelAttributesObserver == 0) { LabelAttributesObserver = new ObserverToCallback(subj, PyLabelAttributes_CallLogRoutine, (void *)data); } }
void LabelScriptingPluginInfo::SetDefaults(const AttributeSubject *atts) { PyLabelAttributes_SetDefaults((const LabelAttributes *)atts); }