mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
simple_viewer: use UI viewport and SBS title
Also adjust scrollbar margins and height so it matches the look of normal lists, and hide scrollbars when set to SCROLLBAR_OFF. Change-Id: I27f6de7b16cf5ec72e12c7d6377a8772d84947ac
This commit is contained in:
parent
2d419b4b93
commit
7ab1a81806
5 changed files with 100 additions and 53 deletions
|
|
@ -872,6 +872,9 @@ static const struct plugin_api rockbox_api = {
|
|||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
panicf,
|
||||
gui_synclist_scroll_stop,
|
||||
add_event_ex,
|
||||
remove_event_ex,
|
||||
};
|
||||
|
||||
static int plugin_buffer_handle;
|
||||
|
|
@ -892,6 +895,7 @@ int plugin_load(const char* plugin, const void* parameter)
|
|||
!strcmp("playing_time.rock", sepch + 1) ||
|
||||
!strcmp("main_menu_config.rock", sepch + 1) ||
|
||||
!strcmp("text_viewer.rock", sepch + 1) ||
|
||||
!strcmp("view_text.rock", sepch + 1) ||
|
||||
!strcmp("disktidy.rock", sepch + 1) ||
|
||||
!strcmp("open_plugins.rock", sepch + 1));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue