Maarten ter Huurne
e73a8d06ea
Removed per-application brightness setting.
...
The desired backlight level depends on the amount of light coming in from
the environment, not on the application that is run. Setting the brightness
when launching an application discards what is probably the right value
for this location (indoor/outdoor) and time of day. So we decided that this
is not a desirable feature and therefore removed it.
2011-09-23 01:51:53 +02:00
Maarten ter Huurne
7a978222b8
Use existing brightness value instead of overriding it.
2011-09-23 01:36:56 +02:00
Maarten ter Huurne
84ec66c7ce
Minor cleanup: better usage of fscanf.
...
Instead of having fscanf() read into a string buffer (with the risk of
overflowing it if sysfs returns an unexpectedly long string) and converting
the value to integer with atoi() afterwards, just use fscanf() to read
an integer.
2011-09-23 01:23:53 +02:00
Maarten ter Huurne
799bb13f0f
Minor cleanup: group handle init code together.
2011-09-23 01:01:57 +02:00
Maarten ter Huurne
0acbd35fb4
Corrected name of USB power supply device.
...
As far as I can see in the 3.0 kernel sources, both the Dingoo and
the NanoNote use "usb" in lower case.
2011-09-23 00:57:27 +02:00
Maarten ter Huurne
53a73cabc7
Call deinit() method on exit.
...
This prevents file descriptors to sysfs files from staying open as the
selected application is executed.
2011-09-23 00:48:13 +02:00
Maarten ter Huurne
b997485859
Backlight: use different sysfs name for NanoNote and Dingoo.
...
Fixes backlight control on Dingoo.
2011-09-23 00:38:43 +02:00
Maarten ter Huurne
6729e30acb
Fixed mistake in 8bcd03962f
.
...
"iclock" is not a local variable: it is a field, so it should be updated.
2011-09-19 16:49:30 +02:00
Maarten ter Huurne
03ea679a1d
Corrected capitalization of megahertz.
...
"Mhz" -> "MHz"
2011-09-19 16:33:19 +02:00
Maarten ter Huurne
8bcd03962f
Do not constrain the max CPU frequency for apps on setting the string value.
...
It is already constrained on editing and when actually applying the frequency.
The string value constrain is problematic because it happens in a class that
has no knowledge of the actual CPU limits, so it can only contrain to
hardcoded limits.
With this change you'll actually be able to run apps at 432 MHz.
2011-09-19 16:27:53 +02:00
Maarten ter Huurne
8d04cf1064
Removed one last occurrence of hardcoded minimum CPU frequency.
...
Well, I hope it was really the last one now.
2011-09-19 16:26:42 +02:00
Maarten ter Huurne
a014a331f4
Put platform specific defaults in systemwide gmenu2x.conf.
...
It is simpler to maintain them there instead of in the code.
2011-09-19 01:12:34 +02:00
Maarten ter Huurne
19064b4c4a
Work around lack of vsynced page flipping in OpenDingux kernel.
2011-09-18 21:16:12 +02:00
Ayla
f39e87f3ec
Dingux port: added a link to reboot the system.
2011-09-18 19:34:55 +02:00
Ayla
1f18d73a9b
Dingux port: added a description for the "power off" link.
2011-09-18 19:32:19 +02:00
Maarten ter Huurne
41650aaad7
Use 16 bpp by default on the Dingoo.
...
Other platforms keep using 32 bpp.
2011-09-18 18:42:53 +02:00
Maarten ter Huurne
d354eb85a4
Improved CPU frequency control.
...
The maximum frequency for applications was set to 430 MHz before,
while some Dingoos can handle higher frequencies. Now the limit is set to
the theoretical maximum frequency of 500 MHz.
For the menu itself the maximum frequency is set to a safer 408 MHz,
to avoid over-eager users from putting their system in an unusable state
that is difficult to recover from.
Also the frequency settings are now done in 24 MHz increments, to match
the limitations of the current JZ4740 kernel. Note that only new entries
are rounded to 24 MHz multiples, existing entries stay as they are.
2011-09-18 18:27:03 +02:00
Ayla
3995133fa5
When deleting a link, check if the icon is used elsewhere before unloading it.
2011-09-18 13:22:02 +02:00
Ayla
cf8bd84362
Added debug message which is displayed when surfaces are deleted from memory.
2011-09-18 13:21:03 +02:00
Ayla
cca367745b
Dingux port: The SD card root is now hardcoded to /boot for the getDiskFree() function only.
...
That function was not working as CARD_ROOT does not necessarily point to the mount point of a filesystem.
2011-09-18 12:42:08 +02:00
Ayla
6586ea3319
Dingux port: swap the "accept" and "cancel" button icons.
2011-09-18 03:57:51 +02:00
Ayla
6ec7fa10a0
The platform-specific files should be the last one installed.
...
This allows to overwrite translations or skin files.
2011-09-18 03:49:38 +02:00
Ayla
759eefd676
The files "a.png" and "b.png" have been renamed to "cancel.png" and "accept.png".
2011-09-18 03:40:33 +02:00
Ayla
16b050be05
Modified the key shortcuts for the small popups (deleting a link...).
2011-09-18 03:33:10 +02:00
Ayla
826d622285
Modified the key shortcuts for the generic file/dir selector class.
2011-09-18 03:23:47 +02:00
Ayla
38cfd321f6
Modified the key shortcuts for the wallpaper dialog.
2011-09-18 03:16:08 +02:00
Ayla
d0cfe7c60d
Modified the key shortcuts for the text display dialog.
2011-09-18 03:05:25 +02:00
Ayla
5dd6d31b25
Modified the key shortcuts of the file input dialog.
2011-09-18 02:21:04 +02:00
Ayla
b5131c1db9
Modified the key shortcuts of the text input dialog, so that the X and Y keys are not used.
2011-09-18 02:05:15 +02:00
Ayla
87106cdf56
Modified the button icons displayed when modifying an integer parameter.
2011-09-18 01:47:29 +02:00
Ayla
1aac93f36d
The (gp2x) A button is now used instead of X to clear string inputs (like link names).
2011-09-18 01:40:23 +02:00
Ayla
c9a51af4a6
The WallpaperDialog object now uses a ButtonBox to print the key mapping at the bottom of the screen.
2011-09-18 01:34:19 +02:00
Ayla
d82e262662
Rewrite of the MenuSettingRGBA class so that it won't use the CLEAR/MENU buttons.
2011-09-18 01:33:11 +02:00
Ayla
7f2c7db8e2
Rewrite of how the events are handled by the menusetting* objects.
2011-09-15 20:20:35 +02:00
Ayla
fdee206d93
The ButtonBox now features a clear() function which empties the list of buttons.
2011-09-15 20:12:02 +02:00
Ayla
6ac012348d
Disactivate the binding of the app's manual on the 'Y' button.
2011-09-15 11:33:46 +02:00
Ayla
5f69930d07
The contextual menu now features a "show manual" entry.
2011-09-15 11:18:07 +02:00
Xiangfu Liu
17bb938b5c
data: nanonote: links: add download-dir
2011-09-06 22:05:20 +08:00
Ayla
03a26a859b
Dingoo port: The help menu now displays help for dingoo's controls.
2011-09-04 03:02:17 +02:00
Ayla
9768a74d07
The conf file does not need to be saved on exit.
2011-09-04 02:37:10 +02:00
Xiangfu Liu
93c58bfc47
nanonote: add timeout, add poweroff and reboot buttons
2011-08-23 13:16:16 +08:00
Xiangfu Liu
7426afb871
supertux icon resize to 32x32
2011-08-23 12:13:55 +08:00
Xiangfu Liu
41e5f31690
nanonote: add python lua guile icons
2011-08-22 19:54:58 +08:00
Xiangfu Liu
9dc513f675
nanonote: add 4th entry
2011-08-22 19:28:56 +08:00
Xiangfu Liu
46d680990a
gmenu2x wallpaper only support .png
2011-08-22 15:13:44 +08:00
kyak
e98e68a2f7
add vitetris
2011-08-20 03:17:27 +04:00
Xiangfu Liu
64108ab601
Nanonote: ignore HUP signal
2011-08-17 10:09:28 +08:00
Ayla
8c1f4abb5b
The input manager should check whether a powersaver instance is running, to not create one when it's not needed.
2011-08-17 00:46:43 +02:00
Ayla
fca8c8e8a1
Create the powersaver instance on demand and destroy it when not needed.
2011-08-17 00:46:11 +02:00
Ayla
f31828667f
Added a boolean function to know if the powersaver is running.
2011-08-17 00:44:45 +02:00