The command [@mesh x1,y1,x2,y2,rows,columns,color] added to a grid-file simply draws a mesh of a given number of even-spaced rows and columns within a rectangle given by two coordinates (x1,y1 and x2,y2) - it works already,
I just was asking for the correct and elegant implementation to the gui_grid.c file - I just don't know how to change the way the parameters are read - so I altered it a bit and now the parameters for rows and columns are read from the colors clf and clb -
I just added a third color in the struct gline{.. clm} for the color of the mesh to draw. Since my @mesh-command has more
parameters to set than the other grid-commands this is a bit confusing. What would be the best solution for the code taking
into consideration that other commands with even more parameters could be added later?