summaryrefslogtreecommitdiff
path: root/uisimulator/common/lcd-common.c (follow)
Commit message (Collapse)AuthorAge
* Rework powermgmt to enable code re-use on appliation and sims.Thomas Martitz2012-01-03
| | | | | | | | | | | | | | | | | | | | | * 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
* Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz2009-10-20
| | | | | | | | | multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
* Simulate lcd_enable and lcd_sleep in the simulator. Therefore, turn ↵Thomas Martitz2009-04-29
| | | | | | backlight-sim.h into a .c too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20829 a1c6a512-1295-4272-9138-f99709370657
* Fix remaining red.Nils Wallménius2009-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19661 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* lcd-common.h hasn't contained code in nearly 6 years.Michael Giacomelli2008-06-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17722 a1c6a512-1295-4272-9138-f99709370657
* The blit functions shouldn't exist for the simulator.Jens Arnold2008-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16777 a1c6a512-1295-4272-9138-f99709370657
* Oops, fix red.Jens Arnold2008-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16776 a1c6a512-1295-4272-9138-f99709370657
* Consistent naming scheme the various blit functions. * Removed ↵Jens Arnold2008-03-24
| | | | | | lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
* Add lcd_sleep stub to sim too.Michael Sevakis2007-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13819 a1c6a512-1295-4272-9138-f99709370657
* a little extra poke to get the sim to buildDaniel Stenberg2007-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13215 a1c6a512-1295-4272-9138-f99709370657
* Contrast setting cleanup: * Only include contrast setting for targets where ↵Jens Arnold2006-07-25
| | | | | | it's used. * Make lcd_default_contrast() a stub for simulators. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10317 a1c6a512-1295-4272-9138-f99709370657
* Patch #1417462 by Dan Everton - Improved SDL simulatorLinus Nielsen Feltzing2006-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8546 a1c6a512-1295-4272-9138-f99709370657
* First steps towards SDL sim for windowsLinus Nielsen Feltzing2006-01-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8449 a1c6a512-1295-4272-9138-f99709370657
* 16bit colour support (H300) for the win32 simulator.Jens Arnold2005-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7898 a1c6a512-1295-4272-9138-f99709370657
* Simulator stub for remote lcd flip.Jens Arnold2005-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6740 a1c6a512-1295-4272-9138-f99709370657
* Remote LCD support added to the x11 simulator, take 1. The win32 simulatorDaniel Stenberg2005-05-23
| | | | | | | still builds, but shows no remote LCD yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
* Build cleanup and general fixes. fprintf() is now fdprintf(), the separationDaniel Stenberg2005-02-22
| | | | | | | between uisimulator files and firmware/apps files are better done. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 2Jens Arnold2004-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
* Added missing newlineJens Arnold2004-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4537 a1c6a512-1295-4272-9138-f99709370657
* Upside Down option for display (and buttons) now wired into the display ↵Jörg Hohensohn2003-12-20
| | | | | | settings menu, persistence, simulator stubs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
* fixed lcd_blit for the (x11) simDaniel Stenberg2003-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4148 a1c6a512-1295-4272-9138-f99709370657
* cleaned upRobert Hak2002-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1708 a1c6a512-1295-4272-9138-f99709370657
* similarities in the two branches joinedRobert Hak2002-08-13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1707 a1c6a512-1295-4272-9138-f99709370657