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
bitmaps
chessbox
clock
doom
fft
fractals
frotz
goban
imageviewer
lib
lua
midi
mpegplayer
pacbox
pdbox
pictureflow
reversi
rockboy
searchengine
shortcuts
sudoku
zxbox
alarmclock.c
alpine_cdc.c
battery_bench.c
bench_mem_jpeg.c
bench_scaler.c
blackjack.c
boomshine.lua
bounce.c
brickmania.c
bubbles.c
calculator.c
calendar.c
CATEGORIES
chessbox.c
chessclock.c
chip8.c
chopper.c
clix.c
codebuster.c
credits.c
credits.pl
crypt_firmware.c
cube.c
demystify.c
dice.c
dict.c
disktidy.c
disktidy.config
elfdep.pl
euroconverter.c
fire.c
fireworks.c
firmware_flash.c
flipit.c
goban.c
greyscale.c
helloworld.c
helloworld.lua
invadrox.c
iriver_flash.c
iriverify.c
jackpot.c
jewels.c
keybox.c
lamp.c
logo.c
lua.c
matrix.c
maze.c
mazezam.c
md5sum.c
metronome.c
minesweeper.c
mosaique.c
mp3_encoder.c
nim.c
oscilloscope.c
pegbox.c
pictureflow.c
pitch_detector.c
plasma.c
plugin.lds
plugins.make
pong.c
ppmviewer.c
properties.c
random_folder_advance_config.c
remote_control.c
robotfindskitten.c
rockblox.c
rockblox1d.c
rockbox-fonts.config
rockbox_flash.c
rockboy.c
rocklife.c
rockpaint.c
search.c
settings_dumper.c
sliding_puzzle.c
snake.c
snake2.c
snake2.levels
snow.c
sokoban.c
sokoban.levels
solitaire.c
sort.c
SOURCES
spacerocks.c
splitedit.c
star.c
starfield.c
stats.c
stopwatch.c
stopwatch.lua
SUBDIRS
superdom.c
test_boost.c
test_codec.c
test_core_jpeg.c
test_disk.c
test_fps.c
test_gfx.c
test_grey.c
test_greylib_bitmap_scale.c
test_mem_jpeg.c
test_resize.c
test_sampr.c
test_scanrate.c
test_touchscreen.c
test_viewports.c
test_viewports.lua
text_editor.c
theme_remove.c
vbrfix.c
video.c
viewer.c Prevent accidental skipping to beginning/end of file in text viewer. 2010-03-20 21:09:01 +00:00
viewers.config
vu_meter.c
wav2wv.c
wavplay.c
wavrecord.c
wavview.c
wormlet.c
xobox.c
zxbox.c