summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/base
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-12-15 00:37:04 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2022-01-01 23:56:51 -0500
commita7703e4926075ee41269ca96d1806444107e65f2 (patch)
treea9b5c6a5df97267c71b0c1ad0613ca0be0d66c4d /utils/rbutilqt/base
parentedc68b06574b57684a7fad4263dd59eed7f65f2f (diff)
downloadrockbox-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 'utils/rbutilqt/base')
0 files changed, 0 insertions, 0 deletions