> Declaring these variables as 'sbyte*3' in stead of
> 'sword' solves the problem.
> This may seem overkill for smaller displays, but since
> library glcd_common is supposed to work for all glcd's there
> is little choice...

I'm not at all involved in this matter, but I'm sure the display size must be 
known prior to including the said lib. So the size of the variables can be 
chosen on condition of the display size, no?

if (hsize<128) & (vsize<128) then
  var sword ...
elsif (hsize<256) & (vsize<256) then
  var sbyte*3 ...
else
  var sdword ...
fi

greets,
Kiste

-- 
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