1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/gui/skin_engine
Thomas Martitz c1bd9b0361 Rework powermgmt to enable code re-use on appliation and sims.
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application)
to break powermgmt.c's assumption about the ability to read battery voltage.
There's now additionally percentage (android) and remaining time measure
(maemo). No measure at all also works (sdl app). If voltage can't be measured,
then battery_level() is king and it'll be used for power_history and runtime
estimation.

* Implement target's API in the simulator, i.e. _battery_voltage(), so it
doesn't need to implement it's own powermgmt.c and other stubs. Now
the sim behaves much more like a native target, although it still
changes the simulated battery voltage quickly,

* Other changes include include renaming battery_adc_voltage() to
_battery_voltage(), for consistency with the new target functions and
making some of the apps code aware that voltage and runtime estimation
is not always available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:38 +00:00
..
skin_backdrops.c slightly reaarange code to make fml happy :) 2011-11-27 13:57:18 +00:00
skin_display.c FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. 2011-12-14 21:45:25 +00:00
skin_display.h Lists can now be completly draw using the skin engine! 2011-09-06 13:49:41 +00:00
skin_engine.c Another round of making local functions static 2011-12-20 20:35:28 +00:00
skin_engine.h FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. 2011-12-14 21:45:25 +00:00
skin_parser.c skinengine: Rework skin loading so skins can be un/loaded individually. This also means that loading a .cfg which doesnt change themes shouldnt have them reloaded 2011-11-21 10:02:23 +00:00
skin_render.c Allow scrolling lines to have their content changed without restarting the scroll line. This means skin lines with dynamic tags can be updated in realtime instead of delayed 2011-12-14 12:53:19 +00:00
skin_tokens.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
skin_touchsupport.c Use buflib for all skin engine allocations. 2011-11-15 14:11:08 +00:00
wps_debug.c Merge a bunch of code which is 99% identical so it makes it easier to add more of these later 2011-03-07 12:45:45 +00:00
wps_internals.h Get rid of a really annoying #ifdef line to check if backdrop support should be enabled 2011-11-19 13:46:25 +00:00