Index: Makefile =================================================================== --- Makefile (nonexistent) +++ Makefile (revision 32934) @@ -0,0 +1,5 @@ +all: + cd ../../src && $(MAKE) mod_ch_onpoint + +clean: + rm *.o *.so 2>/dev/null ; true Index: Plug.tmpasm =================================================================== --- Plug.tmpasm (nonexistent) +++ Plug.tmpasm (revision 32934) @@ -0,0 +1,11 @@ +put /local/pcb/mod {ch_onpoint} +put /local/pcb/mod/OBJS [@ + $(PLUGDIR)/ch_onpoint/ch_onpoint.o +@] + + +switch /local/pcb/ch_onpoint/controls + case {buildin} include /local/pcb/tmpasm/buildin; end; + case {plugin} include /local/pcb/tmpasm/plugin; end; + case {disable} include /local/pcb/tmpasm/disable; end; +end Index: ch_onpoint.c =================================================================== --- ch_onpoint.c (nonexistent) +++ ch_onpoint.c (revision 32934) @@ -0,0 +1,48 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * + * crosshair: highlight objects that are under the cursor + * original onpoint patch Copyright (C) 2015 Robert Drehmel + * pcb-rnd Copyright (C) 2016,2020 Tibor 'Igor2' Palinkas + * + * 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: + * Project page: http://repo.hu/projects/pcb-rnd + * lead developer: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#include "config.h" + +#include + +#include + + +int pplg_check_ver_ch_onpoint(int ver_needed) { return 0; } + +void pplg_uninit_ch_onpoint(void) +{ +} + +int pplg_init_ch_onpoint(void) +{ + RND_API_CHK_VER; + + return 0; +} Index: ch_onpoint.pup =================================================================== --- ch_onpoint.pup (nonexistent) +++ ch_onpoint.pup (revision 32934) @@ -0,0 +1,8 @@ +$class feature +$short crosshair: on-point highlight +$long crosshair: highlight object upon crosshair on edit point +$state works +$package core +default buildin +autoload 1 +