gmenu2x Git Change Log
|12 years 4 months||The links will now be loaded from both the system and the user-specific directories.|
|12 years 4 months||GMenu2X now won't load skin files from the Default skin when using
This was causing trouble when the current skin does not provide graphical files on purpose (ie. skin with no top/bottom bar).
|12 years 5 months||Update gmenu2x.sh for install_locations changes|
Commit 4b22318b09ed70e84556783cae4df9987acbdfb8, by kyak
|12 years 5 months||Merge branch 'master' of projects.qi-hardware.com:gmenu2x into
|12 years 5 months||Fixed bug: wallpaper does not use alpha channel.
The unnecessary alpha channel might harm performance but is not a big deal.
However, the fact that the alpha flag (bool) is somehow automatically
converted by C++ into a skin name (string) causes the entire screen to
The black screen was fixed by removing the alpha flag.
For optimum blitting performance, the wallpaper surface is then converted
to the pixel format of the frame buffer.
Bug was introduced in 52c89d60055705e34afaafa7c2f1ab2840c2364e.
|12 years 5 months||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.
|12 years 5 months||Surface: Remove alpha flag.
As for SurfaceCollection, the alpha flag passed to the Surface constructor
was also always true. Therefore there is no need to have the flag.
|12 years 5 months||SurfaceCollection: Removed alpha flag.
In the existing code the alpha flag is always true, so there is no point
in passing it around.
|12 years 5 months||Merge branch 'master' of projects.qi-hardware.com:gmenu2x|
|12 years 5 months||Add powersaver class|
|12 years 5 months||Surface: Removed duplicate constructor.
There were two constructors that took an image path, skin name and alpha flag
as their arguments, but in different orders. We need only one of them.
|12 years 5 months||ASFont: Refactored string drawing methods.
Renamed methods that draw a single line from write() to writeLine().
There is now only one write() method left: the public method.
Pass surface to draw on as wrapped Surface instead of SDL_Surface.
At the end of the call chain we still use SDL directly though.
|12 years 5 months||Surface: Removed unused code and restricted access.
Removed all methods that are never called.
Made methods that are only called by Surface itself private.
One ugly thing remaining is outside access to the "raw" field.
|12 years 6 months||The ./configure will now accept the --enable-platform switch.
It takes as its parameter the name of the targeted platform.
Currently, those are nanonote, dingux, pandora, gp2x and pc.
The makefiles will install the data accordingly to the platform specs
(e.g. install the 800x480 skins for the pandora platform).
|12 years 6 months||Moved the pandora's "input.conf" file lying in the top directory to the pandora/data directory, replacing the previous (obsolete) one.|
|12 years 6 months||Moved all the data files (translations, skins...) to the
On the "platform" sub-folder are located one folder for each platform gmenu2x supports.
The "translations" folder is now the same for all platforms.
The "skins" sub-folder contains directories which names defines the screen resolution of the contained skins (e.g. "320x240").
|12 years 6 months||nanonote: using color font|
|12 years 6 months||nanonote: fix setfont path|
|12 years 6 months||add color ash shell, add the method to gmenu2x.sh as comment|
|12 years 6 months||ASFont: access font pixels efficiently.
Previous commit ensures that the font surface is always 32 bpp.
Therefore we can read font pixels directly through a pointer.
|12 years 6 months||ASFont: only convert font surface if it is not already in a 32bpp format.|
|12 years 6 months||Fixed debug print.
GCC 4.5.1 has stricter checking of format strings and refused to compile this.
|12 years 6 months||Merge branch 'master' of projects.qi-hardware.com:gmenu2x|
|12 years 6 months||ASFont: removed duplication of horizontal alignment code.|
|12 years 6 months||ASFont: merged SFontPlus class into ASFont class.|