Birdiestyle wrote:Just to follow up...
Palm Treo's seem to expect 240x320 screens to be drawn
to GAPI and then scales them automatically to 240x240, so it messes it up if you are trying to use 240x240 yourself... But it returns 240x240 coordinates for stylus, so to get it to work, I drew the 240x320 screen, let is scale it, and then multiplied the y coordinate by 1.33 and it seems to be working close enough(though Im not convinced on how well their auto-scaling works)..
Hope this helps someone...
wow... really weird device (but it's a good idea to maintain compatibility, just a shame they didn't think about the stylus too)
maybe to use the 240x240 resolution you have to use the HI_RES_AWARE trick... when trying to remotely fix a bug (despite it was not a gapidraw project) I used it and users told me they didn't see the bottom messags...
if this is true it's a bit anoying, as HI_RES_AWARE will work correctly for VGA devices, but you'll also have to handle 240x240 mode, adding more complexity to the products... I think the HI_RES_AWARE method was an error, isn't there any other way to do so?