diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-12-15 00:37:04 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-01-01 23:56:51 -0500 |
commit | a7703e4926075ee41269ca96d1806444107e65f2 (patch) | |
tree | a9b5c6a5df97267c71b0c1ad0613ca0be0d66c4d /apps/plugins/lib/SOURCES | |
parent | edc68b06574b57684a7fad4263dd59eed7f65f2f (diff) | |
download | rockbox-a7703e4926075ee41269ca96d1806444107e65f2.tar.gz rockbox-a7703e4926075ee41269ca96d1806444107e65f2.zip |
gui lists add callback for owner drawn items
allow the guts of gui_sync_list to be used with owner drawn items
WIP
printcell_helper--
goal: allow data to be displayed in a spreadsheet format with an easy to use interface
printcell_set_columns(gui_synclist, title, icon)
sets title and calculates cell widths
each column is identified by '$' character
ex 3 columns title = "Col1$Col2$Col3"
also accepts $*WIDTH$
ex 3 columns varying width title = "$*64$Col1$*128$Col2$Col3
printcell_enable(gui_synclist, enable)
sets the printcell function enabled
After setting the columns and enabling the printcell function
items can be added to the list like normal
column items are supplied delimited by '$'
ex item = "Item1$item2$item3"
they will be placed in cells defined by set_columns and scroll if the cell is too small
--Fixed for 1 bit & 2 bit displays
Change-Id: I49bd7903005d7a54e93af4379b0cdea63c860656
Diffstat (limited to 'apps/plugins/lib/SOURCES')
-rw-r--r-- | apps/plugins/lib/SOURCES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/lib/SOURCES b/apps/plugins/lib/SOURCES index 1cd092f8df..bff9017404 100644 --- a/apps/plugins/lib/SOURCES +++ b/apps/plugins/lib/SOURCES | |||
@@ -14,6 +14,7 @@ rgb_hsv.c | |||
14 | highscore.c | 14 | highscore.c |
15 | simple_viewer.c | 15 | simple_viewer.c |
16 | display_text.c | 16 | display_text.c |
17 | printcell_helper.c | ||
17 | strncpy.c | 18 | strncpy.c |
18 | stdio_compat.c | 19 | stdio_compat.c |
19 | 20 | ||