1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/gui/bitmap
William Wilgus 35a913473e list.c small cleanup, add simplelist_setline()
add simplelist_setline() to allow literal strings or owner buffer
to be shown in the simplelist

this makes simplelist more versatile by allowing static strings
to be added directly instead of copying into the simplelist buffer
(ie not consuming the simplelist text buffer)

add bounds checking to simplelist_setline/addline
No one has more than SIMPLELIST_MAX_LINES..  right?
-- there are actually a few places this isn't checked..

use new setline function in debug menu

share the simplelist buffer with the list_draw fn for gui_synclist
since they shouldn't be in-use simultaneously we can save some stack

Change-Id: I4a1e64d3a621d326ff094241da55452c0ff746ba
2024-11-21 08:49:18 -05:00
..
list-skinned.c gui: Remove show/hide selection option in lists 2022-10-02 09:21:25 -04:00
list.c list.c small cleanup, add simplelist_setline() 2024-11-21 08:49:18 -05:00