Please have a look at glcd_common I just commited, let me know what
you think.

Matt.

On Dec 7, 12:10 pm, mattschinkel <[email protected]> wrote:
> I will also have to specify size of x & y variables for procedures
> since some display's have x or y > 256 pixels. My display is 240x320
>
> -- set width of pixel X variables
> if !defined(GLCD_X_PIXELS) then
>    const GLCD_X_SIZE = 1
> elsif GLCD_X_PIXELS < 256 then
>    const GLCD_X_SIZE = 1
> else
>    const GLCD_X_SIZE = 2
> end if
>
> procedure lcd_line(byte*GLCD_X_SIZE in x0, byte*GLCD_Y_SIZE in y0,
> byte in x1*GLCD_X_SIZE, byte*GLCD_Y_SIZE in y1) is
> end procedure
>
> little bit messy, but keeps us with one common procedure.
>
> 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.

Reply via email to