pcb 4.1.1
An interactive printed circuit board layout editor.

renumber.c File Reference

Renumber refdesses on pcb or in the buffer. More...

#include <stdio.h>
#include <math.h>
#include "config.h"
#include "global.h"
#include "data.h"
#include "hid.h"
#include "misc.h"
#include "create.h"
#include "rtree.h"
#include "undo.h"
#include "error.h"
#include "change.h"
Include dependency graph for renumber.c:

Go to the source code of this file.

Functions

static int renumber_block (int argc, char **argv, Coord x, Coord y)
static int renumber_buffer (int argc, char **argv, Coord x, Coord y)
void hid_renumber_init ()

Variables

static HID_Action renumber_block_action_list []

Detailed Description

Renumber refdesses on pcb or in the buffer.


Copyright.


PCB, interactive printed circuit board design

Copyright (C) 2006 DJ Delorie <dj@delorie.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Definition in file renumber.c.


Function Documentation

void hid_renumber_init ( )

Definition at line 188 of file renumber.c.

static int renumber_block ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]
static int renumber_buffer ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 133 of file renumber.c.

References ChangeObjectName(), ELEMENT_LOOP, EMPTY_STRING_P, END_LOOP, malloc(), Message(), PASTEBUFFER, PCB, and SET_FLAG.

Here is the call graph for this function:


Variable Documentation

Initial value:
{
  {"RenumberBlock", NULL, renumber_block, NULL, NULL},
  {"RenumberBuffer", NULL, renumber_buffer, NULL, NULL}
}

Definition at line 179 of file renumber.c.