verygreen/u-boot-encore — pull request #1 by j4mm3r (2012-04-06 14:49:59+00:00)
Title: Boot menu now defaults to landscape mode

Hi fattire,

Good work on the boot menu so far and I figured landscape mode should be the default on the nook, so I implemented a few things to make it happen.

There are some changes to the console handling stuff and also the bit map drawing routine to enable one to set a custom offset for a square region of the screen which can then be used as a reference to draw everything else within it. In our case we can only afford a max area of 600 x 600, so the rest of the code assumes just that. Hence if you switch to portrait mode (uncomment line 578 in main.c), no changes are required in the rest of the menu code.

I had to rotate all the logos 90 degrees clockwise to get my bmp drawing routine to handle the orientation change automatically.

Let me know what you think and if possible pull these commits into your repo and make it official

/j4mm3r.