1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins
Torne Wuff 3cd7f76094 Prevent accidental skipping to beginning/end of file in text viewer.
When the text viewer is not in wide mode, the buttons mapped to move the screen left and right instead jump to the top and bottom of the file. This is very easy to do by accident on most targets, causing you to lose your place. This change requires that the button be held for a long press before it jumps to the top/bottom; short presses simply trigger paging up and down by one page. There is no change in behaviour when wide mode is enabled.

Based on an idea from FS#2648 but implemented differently.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25262 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 21:09:01 +00:00
..
beatbox Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
bitmaps New plugin: FFT, A frequency analyzer plugin 2010-02-10 19:44:11 +00:00
chessbox Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
clock Clock: Fix rendering. 2009-09-04 04:13:38 +00:00
doom Coldfire targets: tiny optimisation. 2010-03-09 23:44:25 +00:00
fft FFT plugin: init mutex 2010-02-28 14:58:37 +00:00
fractals Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
frotz Fix warnings in frotz, one of which is a real bug :) 2010-01-17 22:28:36 +00:00
goban Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
imageviewer bmpviewer: do aspect ratio correction. 2010-02-28 16:39:36 +00:00
lib plugins/lib: remove out-dated comments about plugin api. 2010-02-25 12:14:36 +00:00
lua Fix two warnings that appear with gcc4.4.3. The one in recording.c ("compact_view is used uninitialized" seems to be false positive unfortunately). 2010-03-08 23:56:54 +00:00
midi Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
mpegplayer Get rid of unnecessary alignment of struct member which also caused arm-elf-eabi-gcc to mess up parameter passing to mpeg2_idct_add(). 2010-03-09 20:02:27 +00:00
pacbox Revert r22171 (+r22186) for pacbox, given that it doesn't work, and causes crashes on COP targets, and we in fact already had an open unresolved issue against this app (FS#8226) that would need to be resolved before being able to do this 2010-03-19 23:24:22 +00:00
pdbox Fix pdbox makefile to actually take part in dependency generation 2010-02-25 23:35:16 +00:00
pictureflow Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
reversi Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
rockboy Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
searchengine loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00
shortcuts properties,shortcuts_view: enable the theme while showing list. 2009-12-21 13:32:43 +00:00
sudoku Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
zxbox Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target. 2010-02-14 21:56:53 +00:00
alarmclock.c Remote support for the alarmclock plugin 2010-02-26 07:38:18 +00:00
alpine_cdc.c Remove int_prio argument from timer_register, and move the only use for it into alpine_cdc plugin, since this plugin is only built on SH7034 2009-06-29 14:29:46 +00:00
battery_bench.c Revert accidental changes from r24723 2010-02-17 16:12:21 +00:00
bench_mem_jpeg.c Use TIME_BEFORE in bench_* plugins, and use 10s test duration. 2009-05-18 20:21:03 +00:00
bench_scaler.c Use pre-multiplication in scaler to save one multiply per color component on ARM and Coldfire, at the cost of an extra add/shift in the horizontal scaler to reduce values to a workable range. SH-1 retains the same basic math, as 2009-05-26 20:00:47 +00:00
blackjack.c use same variable/macro name for highscore among plugins. 2010-02-27 14:45:37 +00:00
boomshine.lua boomshine: improve collision detection. 2010-03-06 12:20:09 +00:00
bounce.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
brickmania.c Brickmania: Test if power-up hit side of paddle 2010-02-27 18:45:37 +00:00
bubbles.c bubbles: fix FS#11070 2010-03-06 12:29:17 +00:00
calculator.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
calendar.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
CATEGORIES Alarm clock plugin for RTC targets 2010-02-25 14:45:06 +00:00
chessbox.c loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00
chessclock.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
chip8.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
chopper.c FS#10643 - Cowon D2: Chopper game control using hardware buttons 2010-02-24 20:33:40 +00:00
clix.c use same variable/macro name for highscore among plugins. 2010-02-27 14:45:37 +00:00
codebuster.c codebuster: save settings only if they are changed. 2009-12-20 14:00:38 +00:00
credits.c loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00
credits.pl
crypt_firmware.c Remove more tabs 2010-02-07 18:38:47 +00:00
cube.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
demystify.c loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00
dice.c Dice: Prevent a divide by 0 2009-12-04 04:45:22 +00:00
dict.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
disktidy.c FS#10738: fix disktidy plugin crash when dealing with very long file/directory names. 2010-01-20 21:24:19 +00:00
disktidy.config
elfdep.pl
euroconverter.c fixed euroconverter, missed in the configfile change 2009-01-17 23:08:35 +00:00
fire.c Fix STRIDE macro for multiscreen and add stride support for picture lib. 2009-09-04 00:46:24 +00:00
fireworks.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
firmware_flash.c fix more red 2009-11-22 19:30:14 +00:00
flipit.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
goban.c And now with the added file... 2009-02-21 00:08:57 +00:00
greyscale.c Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me. 2009-08-04 03:08:32 +00:00
helloworld.c loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00
helloworld.lua Helloworld.lua: fix file_put_contents depending on a wrong return value of io.write + use a cleaner version of if(file == nil) (thanks to Christophe Gragnic) 2009-07-08 21:05:56 +00:00
invadrox.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
iriver_flash.c Fix reds. 2009-11-22 19:08:29 +00:00
iriverify.c Remove more tabs 2010-02-07 18:38:47 +00:00
jackpot.c Fix STRIDE macro for multiscreen and add stride support for picture lib. 2009-09-04 00:46:24 +00:00
jewels.c use same variable/macro name for highscore among plugins. 2010-02-27 14:45:37 +00:00
keybox.c keybox: fix issue when deleted all items. 2009-08-29 14:57:23 +00:00
lamp.c lamp: use HAVE_NEGATIVE_LCD 2010-03-15 15:28:38 +00:00
logo.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
lua.c Commit FS#9174: Lua scripting language by Dan Everton 2009-05-21 19:01:41 +00:00
matrix.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
maze.c FS#10294: reform the weird buttons in maze and mazezam for Fuze, E200 and ipod3G 2009-06-27 11:14:47 +00:00
mazezam.c small fixes for mazezam. 2009-08-06 13:21:08 +00:00
md5sum.c set svn:keywords property 2009-07-12 15:04:56 +00:00
metronome.c Fix FS#10546 - metronome doesn't work on h1xx/h3xx. 2009-11-17 22:10:22 +00:00
minesweeper.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
mosaique.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
mp3_encoder.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
nim.c revert/fix parts of r19673, as it changed some e200 keymaps and introduces not-needed FIXME comments. 2009-01-16 15:35:05 +00:00
oscilloscope.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
pegbox.c some changes to use of display_text. 2010-02-22 07:17:15 +00:00
pictureflow.c Add missing PictureFlow overlay source, fix properties on new files. 2009-05-07 01:40:25 +00:00
pitch_detector.c Fix division by 0 by clamping freq value a little higher, some minor style and whitespace changes 2009-12-05 01:00:47 +00:00
plasma.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
plugin.lds Set IRAM split to 48KB / 80KB (apps / plugins) for M5 and X5. This way codecs can be optimized further. 2010-03-07 20:22:49 +00:00
plugins.make *.link: depends on config file where plugin buffer size is set 2010-01-24 15:32:23 +00:00
pong.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
ppmviewer.c Remove more tabs 2010-02-07 18:38:47 +00:00
properties.c properties,shortcuts_view: enable the theme while showing list. 2009-12-21 13:32:43 +00:00
random_folder_advance_config.c Simplify some boolean expressions that compare directly against 'true' 2010-01-02 16:03:30 +00:00
remote_control.c "remote_control: don't use goto. 2010-02-12 12:54:03 +00:00
robotfindskitten.c some changes to use of display_text. 2010-02-22 07:17:15 +00:00
rockblox.c use same variable/macro name for highscore among plugins. 2010-02-27 14:45:37 +00:00
rockblox1d.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
rockbox-fonts.config New plugin theme_remove which offers a way to remove specified theme. 2009-10-12 13:55:59 +00:00
rockbox_flash.c Bump flash image version and adapt flashing documentation. 2009-03-24 01:11:44 +00:00
rockboy.c Fix rockboy on the recorders. 2009-03-01 23:52:23 +00:00
rocklife.c make sure plugin reset backlight setting before exit. do code polish. 2009-12-18 14:17:28 +00:00
rockpaint.c FS#10984 - multifont! 2 major additions: 2010-02-14 06:26:16 +00:00
search.c plugin: search,sort: Handle UTF-8 BOM at the start of file. 2009-12-20 12:59:25 +00:00
settings_dumper.c set svn:keywords property 2009-07-12 15:04:56 +00:00
sliding_puzzle.c Draw a white rectangle around the empty spot to make it easier to distinghuish with dark pictures 2010-02-28 14:56:40 +00:00
snake.c snake: use lib/highscore for highscore handling. 2010-02-28 11:27:05 +00:00
snake2.c use same variable/macro name for highscore among plugins. 2010-02-27 14:45:37 +00:00
snake2.levels
snow.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
sokoban.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
sokoban.levels
solitaire.c some changes to use of display_text. 2010-02-22 07:17:15 +00:00
sort.c plugin: search,sort: Handle UTF-8 BOM at the start of file. 2009-12-20 12:59:25 +00:00
SOURCES Alarm clock plugin for RTC targets 2010-02-25 14:45:06 +00:00
spacerocks.c use same variable/macro name for highscore among plugins. 2010-02-27 14:45:37 +00:00
splitedit.c Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me. 2009-08-04 03:08:32 +00:00
star.c some changes to use of display_text. 2010-02-22 07:17:15 +00:00
starfield.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
stats.c Silly editor, missing a ,. 2010-02-27 14:33:01 +00:00
stopwatch.c Packard Bell Vibe 500: Start committing plugin keymaps. 2010-02-11 22:40:17 +00:00
stopwatch.lua Add stopwatch plugin replacement for touchscreen targets 2009-12-16 14:23:13 +00:00
SUBDIRS fft plugin: add touchscreen key-mapping and enable plugin for touchscreen targets 2010-02-11 23:10:09 +00:00
superdom.c some changes to use of display_text. 2010-02-22 07:17:15 +00:00
test_boost.c set svn:keywords property 2009-07-12 15:04:56 +00:00
test_codec.c Use the same output func for wav writing and checksum calculation, simplifying the code and possibly speeding up checksum calculation slightly 2010-03-08 12:08:29 +00:00
test_core_jpeg.c Add core JPEG reader, adapted from the JPEG plugin's decoder, with some changes to prevent include conflicts between the two decoders. 2009-05-01 23:24:23 +00:00
test_disk.c Accept FS#10094 by Teruaki Kawashima: 2009-06-16 04:25:21 +00:00
test_fps.c Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me. 2009-08-04 03:08:32 +00:00
test_gfx.c Plugin for testing LCD driver and greylib drawing performance. 2009-06-20 18:12:34 +00:00
test_grey.c test_grey.c : use left/right on YH920 instead of rew/ff 2009-10-03 13:23:36 +00:00
test_greylib_bitmap_scale.c Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me. 2009-08-04 03:08:32 +00:00
test_mem_jpeg.c Plugin JPEG decoder for data in memory, along with test_mem_jpeg.c and bench_mem_jpeg.c plugins to test and benchmark it, and a line-length clean up in jpeg_load.c. 2009-05-08 03:46:48 +00:00
test_resize.c loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00
test_sampr.c Fix test_sampr for the changes in r22440 2009-09-12 08:00:52 +00:00
test_scanrate.c Samsung YH920 : measured lcd scanrate is 69.7Hz => round to 70Hz 2009-10-03 13:05:13 +00:00
test_touchscreen.c Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, and 2009-12-15 20:51:41 +00:00
test_viewports.c Lua: port viewports + add test_viewports.lua 2009-05-25 14:21:17 +00:00
test_viewports.lua Fix some typos 2009-05-25 14:56:59 +00:00
text_editor.c make sure plugin reset backlight setting before exit. do code polish. 2009-12-18 14:17:28 +00:00
theme_remove.c theme remove: add sbs to remove list. 2009-11-07 14:13:38 +00:00
vbrfix.c loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00
video.c Revert r21912 : "Storage API : remove undeeded target-specific functions" 2009-07-17 16:34:34 +00:00
viewer.c Prevent accidental skipping to beginning/end of file in text viewer. 2010-03-20 21:09:01 +00:00
viewers.config FS#10535: bmp viewer plugin. 2010-02-18 15:10:31 +00:00
vu_meter.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
wav2wv.c Remove more tabs 2010-02-07 18:38:47 +00:00
wavplay.c Remove more tabs 2010-02-07 18:38:47 +00:00
wavrecord.c Remove more tabs 2010-02-07 18:38:47 +00:00
wavview.c Remove more tabs 2010-02-07 18:38:47 +00:00
wormlet.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
xobox.c Packard Bell Vibe 500: More plugin keymaps (second portion). 2010-02-13 15:46:34 +00:00
zxbox.c loader-initialized global plugin API: 2009-01-16 10:34:40 +00:00