Rockbox Development > Starting Development and Compiling

some programming questions.

<< < (2/2)

JdGordon:
lists are the most common UI element in rockbox.. look at apps/gui/list.h (and any use of simplelist_init() in the code.)

supalulu:
ok thx,

i typed that:

struct simplelist_info list;
rb->global_settings->show_icons = true;
rb->simplelist_info_init(&list, "a title...", 2, NULL);
rb->simplelist_show_list(&list);

i tryed to add items with
simplelist_addline();
but it doesnt work.


JdGordon:
you need to add the lines before showing the list :)

Navigation

[0] Message Index

[*] Previous page

Go to full version