Beispiel #1
0
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);
    }

}
Beispiel #2
0
void
LabelScriptingPluginInfo::SetDefaults(const AttributeSubject *atts)
{
    PyLabelAttributes_SetDefaults((const LabelAttributes *)atts);
}