> What naming prefixes do you propose for the generic stuff. I know you > like to see something > with 'write' instead of e.g. 'plot' but it would be best to have a > clear separation between character > or byte writing and drawing.
I was actually not the person who chose lcd_write, someone else did. I do prefer it because old libraries use this naming and therefore we must continue to use it so we don't break old libraries. write is also opposite of read. I don't think there is an opposite for plot. I'm just going by naming used in the old glcd_common and other old libs. I would prefer to change some of the naming, but I'm not sure if that is possible. Mainly because of Joep's ks0108 library. Maybe we should get rid of glcd_common and use only a "shapes" library and "font" library. But again, we can't get rid of it since old libraries are dependent on it. So, I guess we should just make use of it. There are not too many font & shape procedures, so why not have them all in one file with prefix lcd_ The only change you need to make in order to use the new glcd_common (on SVN) is to rename plot_pixel(x,y, mode) to lcd_write_pixel(x,y,color). Your mode variable is actually color, where color or mode 3 = clear (I think this is your usage for value 3). Matt. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
