Maarten ter Huurne
8f98a4b135
Converted public fields of MessageBox to private.
2010-07-27 20:59:28 +02:00
Maarten ter Huurne
40ead3b642
Converted public fields of InputDialog to private.
2010-07-26 05:58:06 +02:00
Maarten ter Huurne
b78ffa704a
Converted public fields of Touchscreen to private.
2010-07-26 05:45:56 +02:00
Maarten ter Huurne
767c131b1d
Adapted backlight setting to new kernel interface.
...
Updated path to use /sys instead of /proc/jz.
Avoid leading zeroes, since sysfs interprets those as octal numbers.
2010-07-12 02:03:50 +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
7fb67ba1cc
Set CPU frequency through sysfs.
...
No more poking into registers via /dev/mem.
If there is no cpufreq support in the kernel, when trying to change the frequency a message will be printed on stderr that the required sysfs file cannot be opened.
2010-07-04 03:04:42 +02:00
Ulrich Hecht
ac2fa73962
don't waste CPU redrawing the screen when there's no input
...
Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com>
2010-06-20 18:36:42 +02:00
Maarten ter Huurne
c52b239bc0
Fixed intendation.
2010-06-19 05:10:19 +02:00
Maarten ter Huurne
3efa602af0
Do not run the main loop inside the GMenu2X constructor, but in a method.
2010-06-19 03:50:23 +02:00
Maarten ter Huurne
9f05aaf6b9
Fixed most warnings.
2010-06-19 03:15:20 +02:00
Maarten ter Huurne
988439605d
Fixed display of card size and free space for numbers over 4 GB.
...
The result was stored in a 64-bit integer, but the computation was done in 32 bits...
2010-06-18 03:16:44 +02:00
Maarten ter Huurne
d3b094e1b5
Removed spaces at end of lines in source files.
...
No actual content was changed in this commit.
2010-06-18 03:12:58 +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
09999edc27
Initalize buffer.
2010-05-03 23:56:15 +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
8b862b8398
Unify filedialog and browsedialog code
2010-05-03 19:58:28 +02:00
Lars-Peter Clausen
431e88e021
Use "/card" instead of "/card/gmenu2x" for disk stats
2010-05-03 14:21:00 +02:00
Lars-Peter Clausen
475fdb74b9
Fix topbar icon rects
2010-05-02 20:17:27 +02:00
Lars-Peter Clausen
7fd1ab032a
Use a simple array instead of a hashmap for the colors.
2010-05-02 19:53:06 +02:00
Lars-Peter Clausen
40a26e1a9c
pass strings by reference where possible
2010-05-02 14:38:16 +02:00
Lars-Peter Clausen
667fb05a35
Kill float and double
2010-05-01 13:20:47 +02:00
Lars-Peter Clausen
8a87e8e1ab
Don't do this. It's pure evil.
2010-05-01 12:58:24 +02:00
Mirko Lindner
745321edf9
remove debug output
...
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
2010-02-22 10:22:36 +01:00
Mirko Lindner
a1eb23eec1
set correct directory for disk check
...
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
2010-02-15 00:03:31 +01:00
Mirko Lindner
cddcd72e33
initial commit - needs clean-up
...
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
2010-02-04 12:33:47 +01:00