rockbox/apps/plugins
William Wilgus 20cd89908d lua submenus add a way to dynamically add items
updated example script and renamed some functions as well

fixed bug in printtable cursor position if greater than maxlines for the
screen would reset to item 1

now we move the list start and select it
(and try to center it on the screen)

fixed a few bugs in the add_menu code

Change-Id: I01dead0481ef2e925af8b4cc6c14e36c2859dbba
2021-04-30 13:38:54 +00:00
..
beatbox [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
bitmaps [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
chessbox Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
clock
doom Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
fft Convert FFT plugin to using PLA keymapings 2020-10-23 09:41:21 -04:00
fractals Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
frotz keyboard add ability to specify temporary custom layouts 2020-07-22 06:48:28 -04:00
goban New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
imageviewer Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
lib Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
lua lua submenus add a way to dynamically add items 2021-04-30 13:38:54 +00:00
lua_scripts lua submenus add a way to dynamically add items 2021-04-30 13:38:54 +00:00
midi Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
mikmod Add 192 and 176KHz to mikmod and test_sampr plugins 2020-09-30 22:52:56 -04:00
mpegplayer Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
pacbox Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
pdbox Silence warnings that happen on newer GCCs 2020-10-13 20:09:14 -04:00
pictureflow Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
puzzles puzzles: tooling to automate the resyncing process 2020-12-07 02:11:36 -05:00
reversi Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
rockboy Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
sdl LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
searchengine [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
shortcuts Add open_plugin to core 2020-08-17 10:15:14 -04:00
sudoku Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
text_viewer Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
xworld LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
zxbox Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
2048.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
alarmclock.c
announce_status.c Announce_status plugin bugfix use artist prior to albumartist 2021-03-05 21:12:10 -05:00
battery_bench.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
bench_mem_jpeg.c
bench_scaler.c
blackjack.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
boomshine.lua lua boomshine update to use rockevents library 2020-06-25 13:50:57 +00:00
bounce.c
brickmania.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
bubbles.c [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
BUILD_OVERLAY
calculator.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
calendar.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
CATEGORIES WIP open_plugins.rock viewer 2020-08-17 22:17:15 -04:00
chessbox.c
chessclock.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
chip8.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
chopper.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
clix.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
codebuster.c do_menu pass internal synclist reference to callback 2020-07-19 22:10:26 +00:00
credits.c plugins: Fix the builds for targets lacking HAVE_BACKLIGHT 2020-07-24 18:17:19 -04:00
credits.pl
crypt_firmware.c rockbox: move firmware checksum algorithms into a common header 2020-11-22 05:12:04 +00:00
cube.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
demystify.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
dice.c FS#7704 - Talk support for plugins 2019-07-20 08:48:35 +02:00
dict.c keyboard add ability to specify temporary custom layouts 2020-07-22 06:48:28 -04:00
disktidy.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
disktidy.config
duke3d.c Port of Duke Nukem 3D 2017-12-23 21:01:26 -05:00
elfdep.pl
fire.c LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
fireworks.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
flipit.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
goban.c
greyscale.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
helloworld.c
helloworld.lua
invadrox.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
iriver_flash.c rockbox: move firmware checksum algorithms into a common header 2020-11-22 05:12:04 +00:00
iriverify.c
jackpot.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
jewels.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
keybox.c keyboard add ability to specify temporary custom layouts 2020-07-22 06:48:28 -04:00
lamp.c
logo.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
lrcplayer.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
lua_scripts.lua lua print table put_line a do_menu alternative 2021-04-20 03:30:41 +00:00
main_menu_config.c Speech enabled main menu config plugin 2019-08-05 02:33:37 +02:00
matrix.c The Matrix plugin -- Bugfix 2021-04-16 10:10:15 -04:00
maze.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
mazezam.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
md5sum.c md5sum: clean up whitespace 2020-07-26 15:41:54 -04:00
metronome.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
minesweeper.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
mosaique.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
mp3_encoder.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
open_plugins.c OpenPlugins Allow opx shortcuts 2021-03-07 08:22:01 -05:00
oscilloscope.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
otp.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
pegbox.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
periodic_table.c
pictureflow.c
pitch_detector.c
pixel-painter.lua Lua fix pixel-painter score save 2018-11-05 07:18:08 +01:00
plasma.c LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
plugin.lds x1000: Centralize common definitions, memory layout 2021-04-28 20:04:10 +01:00
plugin_crt0.c
plugins.make WIP open_plugins.rock viewer 2020-08-17 22:17:15 -04:00
pong.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
properties.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
quake.c sdl: Fix path substitution in log messages, fix game names in comments 2019-08-22 22:00:43 +03:00
random_folder_advance_config.c plugins: Fix the builds for targets lacking HAVE_BACKLIGHT 2020-07-24 18:17:19 -04:00
remote_control.c
resistor.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
robotfindskitten.c robotfindskitten: clear message line before cinema scene 2019-07-28 01:30:29 +02:00
rockblox.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
rockblox1d.c
rockbox-fonts.config
rockboy.c
rocklife.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
rockpaint.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
search.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
settings_dumper.c
shopper.c
sliding_puzzle.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
snake.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
snake2.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
snake2.levels
snow.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
sokoban.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
sokoban.levels
solitaire.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
sort.c
SOURCES h300: enable support for iriver_flash 2020-10-26 01:07:14 +00:00
SOURCES.app_build [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
spacerocks.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
speedread.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
star.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
starfield.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
stats.c plugins: More HAVE_BACKLIGHT cleanup 2020-07-24 19:20:15 -04:00
stopwatch.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
stopwatch.lua
SUBDIRS [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
SUBDIRS.app_build [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
superdom.c keyboard add ability to specify temporary custom layouts 2020-07-22 06:48:28 -04:00
test_boost.c Fix two variable-set-but-not-used warnings 2020-07-24 23:26:15 -04:00
test_codec.c plugins: HAVE_BACKLIGHT in the test plugins 2020-07-24 19:42:32 -04:00
test_core_jpeg.c
test_disk.c plugins: HAVE_BACKLIGHT in the test plugins 2020-07-24 19:42:32 -04:00
test_fps.c plugins: HAVE_BACKLIGHT in the test plugins 2020-07-24 19:42:32 -04:00
test_gfx.c plugins: HAVE_BACKLIGHT in the test plugins 2020-07-24 19:42:32 -04:00
test_grey.c plugins: HAVE_BACKLIGHT in the test plugins 2020-07-24 19:42:32 -04:00
test_greylib_bitmap_scale.c
test_mem.c test_mem: fix asm variant of read/write test 2020-11-04 13:00:01 +00:00
test_mem_jpeg.c
test_resize.c LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
test_sampr.c Add 192 and 176KHz to mikmod and test_sampr plugins 2020-09-30 22:52:56 -04:00
test_scanrate.c [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
test_touchscreen.c Zen XFi2: Enable Plugins 2018-04-03 11:34:01 +02:00
test_viewports.c Test_Viewports BUGFIX 2020-10-31 00:30:55 -04:00
test_viewports.lua
text_editor.c keyboard add ability to specify temporary custom layouts 2020-07-22 06:48:28 -04:00
theme_remove.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
vbrfix.c Improvements for vbrfix plugin: 2019-08-13 17:07:07 +02:00
viewers.config WIP open_plugins.rock viewer 2020-08-17 22:17:15 -04:00
vu_meter.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
wav2wv.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
wavview.c
windows_lnk.c plugin windows_lnk: fix missing return-on-error 2020-07-07 02:36:33 +00:00
wolf3d.c sdl: Fix path substitution in log messages, fix game names in comments 2019-08-22 22:00:43 +03:00
wormlet.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
xobox.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00
zxbox.c