pcb 4.1.1
An interactive printed circuit board layout editor.
|
Prototypes for action routines. More...
#include "global.h"
Go to the source code of this file.
Defines | |
#define | CLONE_TYPES LINE_TYPE | ARC_TYPE | VIA_TYPE | POLYGON_TYPE |
Functions | |
void | ActionAdjustStyle (char *) |
void | EventMoveCrosshair (int, int) |
Event handler to set the cursor according to the X pointer position called from inside main.c. | |
void | AdjustAttachedObjects (void) |
Adjusts the objects which are to be created like attached lines. | |
void | warpNoWhere (void) |
bool | ActionGetLocation (char *) |
void | ActionGetXY (char *) |
Prototypes for action routines.
PCB, interactive printed circuit board design
Copyright (C) 1994,1995,1996 Thomas Nau
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.
Contact addresses for paper mail and Email: Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany Thomas.Nau@rz.uni-ulm.de
Definition in file action.h.
#define CLONE_TYPES LINE_TYPE | ARC_TYPE | VIA_TYPE | POLYGON_TYPE |
Definition at line 38 of file action.h.
Referenced by ActionSetSame().
void ActionAdjustStyle | ( | char * | ) |
bool ActionGetLocation | ( | char * | ) |
void ActionGetXY | ( | char * | ) |
void AdjustAttachedObjects | ( | void | ) |
Adjusts the objects which are to be created like attached lines.
Definition at line 835 of file action.c.
References AdjustAttachedBox(), AdjustAttachedLine(), AdjustInsertPoint(), AdjustTwoLine(), ARC_MODE, ARROW_MODE, CrosshairType::AttachedBox, PCBType::Clipping, Crosshair, INSERTPOINT_MODE, LINE_MODE, SettingType::Mode, NO_MODE, PCB, AttachedBoxType::Point2, POLYGON_MODE, POLYGONHOLE_MODE, PCBType::RatDraw, RECTANGLE_MODE, ROTATE_MODE, Settings, AttachedBoxType::State, CrosshairType::X, PointType::X, CrosshairType::Y, and PointType::Y.
Referenced by ActionDisplay(), ActionUndo(), EventMoveCrosshair(), ghid_menu_cb(), ghid_note_event_location(), ghid_port_button_release_cb(), ghid_port_key_release_cb(), mod_changed(), and SetMode().
void EventMoveCrosshair | ( | int | ev_x, |
int | ev_y | ||
) |
Event handler to set the cursor according to the X pointer position called from inside main.c.
Definition at line 2156 of file action.c.
References AdjustAttachedObjects(), mid_stroke, MoveCrosshairAbsolute(), notify_crosshair_change(), stroke_record(), BoxType::X2, and BoxType::Y2.
Referenced by CursorAction(), mod_changed(), and work_area_input().
void warpNoWhere | ( | void | ) |