summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/helper.c (follow)
Commit message (Collapse)AuthorAge
* Lamp plugin: Allow toggling the button light using "select".Frank Gevaerts2015-02-22
| | | | Change-Id: I0f276a74010ef463ebdb0eb0cc00fc50123966f0
* * Rename backlight_force_on to backlight_ignore_timeout to make it clear ↵Teruaki Kawashima2011-01-24
| | | | | | | | | | | what the function does. * Add backlight_force_on() which forces to turn on backlight even when the setting is set to Off. use this in lamp. No functional change except lamp. See aslo FS#9883. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29128 a1c6a512-1295-4272-9138-f99709370657
* lamp plugin:Teruaki Kawashima2010-11-01
| | | | | | | | -handles sys_events. -disable idle poweroff (part of FS#11578 by Hayden Pearce.) -correct button table in the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28429 a1c6a512-1295-4272-9138-f99709370657
* Convert a number of places in core and plugins to use the BIT_N() macro ↵Jens Arnold2009-06-07
| | | | | | instead of 1<<n. Speeds up things on SH1, and also reduces core binsize. Most notable speedups: 1 bit lcd driver: drawpixel +20%, drawline + 27%, hline +5%; jpeg viewer: +8% for 1/8 scaling. Other targets are unaffected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21205 a1c6a512-1295-4272-9138-f99709370657
* Commit next part of FS# 10138 by Teruaki Kawashima. Removed unneeded error ↵Michael Giacomelli2009-05-27
| | | | | | checks in plugin lib. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21102 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 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
* MPEGPlayer quickie: add an option to set the backlight brightness to a ↵Michael Sevakis2008-05-18
| | | | | | plugin-specified value when playing video or interacting. Nice when one likes a dim backlight normally but that isn't sufficient when viewing video for instance. Suggested in FS#8417 in addition to my own desire for this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17563 a1c6a512-1295-4272-9138-f99709370657
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
* Lamp plugin: accept the reduced patch of FS #8934 by Alexander PapstPeter D'Hoye2008-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17425 a1c6a512-1295-4272-9138-f99709370657
* pluginlib: made local functions in static and made sure that source files ↵Bertrik Sikken2008-05-04
| | | | | | include their own header file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17353 a1c6a512-1295-4272-9138-f99709370657
* Fix some plugins not using the helper functions for the new backlight ↵Jens Arnold2007-11-29
| | | | | | timeout handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
* Fix backlight timeout in 'keep backlight running' plugins (related to ↵Marianne Arnold2007-11-26
| | | | | | yesterday's settings rework by Jens, fix also by him). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15809 a1c6a512-1295-4272-9138-f99709370657
* Pass plugin api pointer to funtion directly, fixes crashes when doing ↵Peter D'Hoye2007-08-16
| | | | | | incremental builds. Fix incorrect backlight changes in rockblox introduced recently. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14373 a1c6a512-1295-4272-9138-f99709370657
* Ignore HAVE_BACKLIGHT for plugins, as they build without the check and makes ↵Peter D'Hoye2007-08-15
| | | | | | life easier for ondio owners. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14360 a1c6a512-1295-4272-9138-f99709370657
* Bring mpegplayer backlight fix to the other plugins, this also fixes some ↵Peter D'Hoye2007-08-15
| | | | | | wrongly ifdef'd backlight calls. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14352 a1c6a512-1295-4272-9138-f99709370657
* Now get those keywords right...Peter D'Hoye2007-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14322 a1c6a512-1295-4272-9138-f99709370657
* Also keep the backlight on in mpegplayer when plugged in. Fixes FS #7584. ↵Peter D'Hoye2007-08-13
Created two helper functions for this, because this issue also exists in other plugins (to do). The helper functions are in the pluginlib in helper.[ch], where other common stuff can be put. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14321 a1c6a512-1295-4272-9138-f99709370657