view ueda/libuschem/graphsym.h @ 24:7e8a2cb54b6b

started implementing unet-destar
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 06 Aug 2015 20:20:11 +0000
parents cd92449fdb51
children
line wrap: on
line source

/*
 * data structures for graphical symbols
 */

struct graphsym {
	char	*gs_name;
	char	*gs_pathname;
	struct	graphsym_pindef *gs_pins;
	int	gs_npins;
	int	gs_varpins;
	int	gs_forcenets;
	struct	graphsym *gs_nextinhash;
};

struct graphsym_pindef {
	int	gspd_x;
	int	gspd_y;
	char	*gspd_pinname;
	char	*gspd_pinnumber;
	char	*gspd_forcenet;
	struct	graphsym_pindef *gspd_next;
};

struct graphsym_pininst {
	int	x;
	int	y;
	struct	schemobj *compinst;
	struct	graphsym_pindef *pindef;
	struct	graphsym_pininst *nextinhash;
};