blackberry/SDL — pull request #9 by a7omic (2012-01-18 14:20:28+00:00)
Title: DPAD fix, Stretched Vs Native Resolution compile option + dynamic calculation, project compile properties update.

DPAD Fix
- One of the angles was incorrect. (23 should be -23)

Stretched Vs Native Resolution + Dynamic Calculation
- Added the compile option __STRETCHED__.
- If __STRETCHED__ is defined the window size will be be set to the size returned by the hardware and the buffer will be set the the width and height passed in by the calling app.
- if __STRETCHED__ is not defined the window size will be based on the size returned by the hardware and the width/height provided by the app. It will calculate the best size that will fill most of the screen while maintaining the native aspect ratio. The the size of window and size of buffer are assigned these calculated values.

Project compile properties update
- I unchecked Debug (-g) box in the project properties for the Device-Release configuration.