pcb 4.1.1
An interactive printed circuit board layout editor.
|
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"
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 [] |
Renumber refdesses on pcb or in the buffer.
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.
void hid_renumber_init | ( | ) |
Definition at line 188 of file renumber.c.
Definition at line 62 of file renumber.c.
References AddObjectToChangeNameUndoList(), ChangeObjectName(), PCBType::Data, ELEMENT_LOOP, EMPTY_STRING_P, END_LOOP, IncrementUndoSerialNumber(), malloc(), Message(), NAMEONPCB_NAME, PCB, SET_FLAG, and TEST_FLAG.
Definition at line 133 of file renumber.c.
References ChangeObjectName(), ELEMENT_LOOP, EMPTY_STRING_P, END_LOOP, malloc(), Message(), PASTEBUFFER, PCB, and SET_FLAG.
HID_Action renumber_block_action_list[] [static] |
{ {"RenumberBlock", NULL, renumber_block, NULL, NULL}, {"RenumberBuffer", NULL, renumber_buffer, NULL, NULL} }
Definition at line 179 of file renumber.c.