Ayla
5f77e3baf7
Cleaned GP2X-specific code that was built on all platforms.
...
There was a lot of gp2x-specific code which was built for
all platform. For instance, the code was compiled for all
the platforms with the constant "TARGET_GP2X" defined.
This obviously had to be fixed.
2011-07-29 01:13:35 +02:00
Maarten ter Huurne
a35a7e2c35
Introduced enums for text alignment in the ASFont class.
2011-05-09 05:17:25 +02:00
Ayla
563cb34a89
Rewrote the whole input system.
...
Gmenu2X will no longer eat 100% CPU ;)
2010-09-17 22:34:26 +02:00
bartbes
e9941dc4fd
Now only allows file browsing up to /, CARD_ROOT is /card/
2010-08-03 17:49:34 +02:00
bartbes
ba9af53c21
Changed the file browser to use / as root and added ability to see extensionless files (i.e. executables)
2010-08-03 17:32:54 +02:00
Maarten ter Huurne
4738f4b232
Make sure confirm() actually confirms.
...
The "result" field was never set to true.
The only way it could be true was because the uninitialized value happened to be non-zero.
Thanks to Ayla for this fix.
2010-07-26 04:31:16 +02:00
Maarten ter Huurne
727d9e95d5
Fixed missing field initialization.
...
The "close" field was read before it was written.
Thanks to Ayla for this fix.
2010-07-26 04:29:38 +02:00
Maarten ter Huurne
07fa091859
Fixed uninitialized field.
...
Thanks to Ayla for finding this bug.
2010-07-26 04:08:56 +02:00
Maarten ter Huurne
28a041ea80
Add constant for SD card root.
...
In the future, this should be part of a device abstraction, but having a single constant is an improvement over having duplicated string literals.
2010-07-04 03:19:52 +02:00
Maarten ter Huurne
9c5799c842
Add explicit destructor to BrowseDialog.
...
There is no point adding virtual destructors to the subclasses if the superclass has a non-virtual default destructor...
2010-06-19 04:51:53 +02:00
Maarten ter Huurne
ad22a909a3
Cleaned up BrowseDialog class: removed unused methods and fields, restricted access where possible.
2010-06-19 04:08:55 +02:00
Maarten ter Huurne
9f05aaf6b9
Fixed most warnings.
2010-06-19 03:15:20 +02:00
Lars-Peter Clausen
6da573f303
Move methods only used by dialogs from the GMenu2x class to a common base class
...
for all dialog classes.
2010-05-05 14:35:52 +02:00
Lars-Peter Clausen
3b2538cfaf
Add ButtonBox widget to simplify managing buttons in the bottombar. Also fixes some memleaks where buttons were left unfreed.
2010-05-03 22:21:36 +02:00
Lars-Peter Clausen
a37ed02f8f
browserdialog: Better path handling.
2010-05-03 20:28:34 +02:00
Lars-Peter Clausen
7b66eb36d6
handle mouse events for browser dialog buttons
2010-05-03 20:25:08 +02:00
Lars-Peter Clausen
8b862b8398
Unify filedialog and browsedialog code
2010-05-03 19:58:28 +02:00