mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-02-05 11:01:06 +02:00
Maarten ter Huurne
8b17e2ef62
PNG: Make loadPNG() responsible for creating an RGBA surface.
Before this commit loadPNG() could return any surface format and the caller was responsible for converting it to the desired format. However, in practice all callers want a surface with an alpha channel and SDL only supports that with 32bpp surfaces, so RGBA or a permutation thereof. So I changed the contract for loadPNG() so it is required to return an RGBA surface, and removed the conversion code in the callers. The next step is to replace IMG_Load() by a function that calls libpng directly and loads a fixed 32bpp pixel format. That way, we can drop the SDL_image dependency and avoid unnecessary pixel format conversions.
[Introduction] GMenu2X is a replacement for the official frontend for the gp2x released under the GNU GPL license. [Installation] Copy the file autorun.gpu and the directory gmenu2x/ to the root of your sd card. Verify that the autorun option in the standard gp2x interface is enabled. (Re)Boot your gp2x and enjoy GMenu2X. [Controls] X, Stick left: Goes up one directory in file browser. X: Cancel action. B, Stick press: Launch selected link / Confirm action. L, R: Switch between sections - PageUp/PageDown on lists. Y: Bring up the manual/readme. VOLDOWN: Decrease cpu clock. VOLUP: Increase cpu clock. VOLDOWN+VOLUP: Reset clock. A+VOLDOWN: Decrease volume for the selected link. A+VOLUP: Increase volume for the selected link. A+VOLDOWN+VOLUP: Reset volume for the selected link. SELECT: Bring up the contextual menu. START: GMenu2X options. [Contacts] Developed by Massimiliano Torromeo <massimiliano.torromeo@gmail.com> Visit the homepage at http://gmenu2x.sourceforge.net for more info.
Description
gmenu2x, temporary repository for gmenu2x port to Owrt on Ben NanoNote
http://projects.qi-hardware.com/index.php/p/gmenu2x/
Languages
C++
84.1%
Shell
13.2%
M4
1.7%
Makefile
0.6%
C
0.4%