gmenu2x Git Change Log
|7 years 4 months||Fix build for platforms without libopk|
|7 years 4 months||Disable inotify support if libopk is not found
Currently, inotify is used only to detect that OPKs have been
added / removed / modified, so it is not needed to enable inotify
support when support for OPKs is not compiled in.
|7 years 4 months||Recover last session from main() instead of constructor
This fixes a bug where the apps using the file selector wouldn't be
launched at all when selecting a new file after a session recover.
|7 years 4 months||Fixes the Selector returning empty file/directory names
This fixes commit ba5ef5126921a16a3735620ea3de234e68a52d27
|7 years 4 months||Make the InputManager handle analog sticks as input|
|7 years 4 months||Change API of InputManager: we don't care about key release events|
|7 years 4 months||Make the Selector return the canonicalised absolute pathname|
|7 years 4 months||Simplify again the prototype of LinkApp as gmenu2x->input is public|
|7 years 4 months||Add function GMenu2X::getTouchscreen(), to simplify Link and LinkApp prototypes|
|7 years 4 months||Allow exiting the selector with B when not in explorer mode|
|7 years 4 months||Revert "When started, load all OPKs in a thread to boost
Loading dynamically at startup is a very bad idea, as it
confuses the "load state before exiting" feature of GMenu2X:
the file selector will pass the file to a different program,
the cursor will move to select a different app, etc.
This reverts commit 5c631d610eabdf27c78693bdae566053166a791a.
|7 years 4 months||When started, load all OPKs in a thread to boost startup time|
|7 years 4 months||Code factorisation (Add function inject_user_event() to utilities)|
|7 years 4 months||Also search the Default skin in the user directory for skin files
This fixes a segmentation fault occuring on the wallpaper dialog
when trying to select a wallpaper located in the Default skin in
the user directory, when the current skin is not "Default".
|7 years 5 months||Fixed bug with launch screen and double buffering
LinkApp::drawRun() assumes the layers below are already painted when
it is called, but this was not the case. With single buffering, the
previous frame was still there so it still looked good, but with
double buffering the buffer typically contains an outdated screen.
Long term I think the launch should happen at the outermost scope,
so all destructors get a chance to run. This commit is a small step
in that direction, by exiting the main loop before launching.
|7 years 5 months||Pass full path to LinkApp::launch|
|7 years 5 months||Eliminated selectedDir argument to LinkApp::launch()|
|7 years 5 months||Check for empty strings using empty() instead of comparing to ""|
|7 years 5 months||Removed checks for manuals and screenshots in JPEG and BMP format
Support for loading JPEG and BMP images was removed a long time ago,
so there is no point in looking for files in those formats.
|7 years 5 months||Fixed text area coordinates in TextDialog
Take top and bottom bar height as defined by skin into account.
|7 years 5 months||Added method GMenu2X::getContentArea()|
|7 years 5 months||Added "bottomBarHeight" item to skin
There was already "topBarHeight", but the height of the bottom bar was
|7 years 5 months||Crop 320x240 versions of topbar.png and bottombar.png to width 320
They were 800 pixels wide before, which is harmless but wasteful.
|7 years 5 months||Removed PNG font
Now that we render using SDL_ttf, we have no more need for the font
PNG. In fact, the rendering code for it was removed a while ago.
|7 years 5 months||Made Surface argument to drawTopBar/drawBottomBar() mandatory|