/* --------------------------------------------------------------------------- * erase a pad object */ void ErasePad (PadType *Pad) { AddPart (Pad); if (TEST_FLAG (DISPLAYNAMEFLAG, Pad)) ErasePadName (Pad); }
void *ChangePadName( ElementTypePtr Element, PadTypePtr Pad ) { char *old; old[0] = Pad->Name; ErasePadName( Pad ); Pad->Name = NewName; DrawPadName( Pad, 0 ); return (void*)old; }