[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA: gschem grid idea




>I would like to add a "displayed grid dimensions is:" display to either
>the gschem window at the bottom where the filename is or in the coords
>window.  Can anyone point me to an appropriate place in the code?


	The code to look at for the coord dialog box is in 
gschem/src/x_dialog.c and look for the coord_dialog_* functions.

	The code for the status bar is in x_window.c and i_basic.c 
The status bar is constructed in x_window.c and then some of it is updated
in i_basic.c  The status bar doesn't have much remove for much more, so
it would probably be a better idea to add this functionality to the 
coord dialog box.

	Also, the grid drawing code and where things get calculated is
in x_grid.c.

								-Ales