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