List prototype for Tiny Mobile Widgets
Displays a scrolling list of similar items (image + text)
Exposed Fields
- SFVec2f size - size of the whole area where items will be displayed
- SFInt32 nbElements - number of items of the list
- MFString icons - list of urls of each item's icon
- MFString labels - list of labels of each item
- MFString sepUrl - url of the graphical element to be displayed at bottom of each item to separate it from other items, transmitted to ListItem
- SFFloat itemHeight - height of each item (in pixel)
- SFInt32 currentElement - item that has focus (read from outside)
- SFInt32 selection - item that has focus (write to outside)
- SFColor textColor - color of the text, transmitted to ListItem
- SFColor cursorColor - color of the focus rectangle
- SFBool enabled - enable/disable listening to touch or key sensors
- SFBool rtl - display text reading from right to left (arabic), transmitted to ListItem
Input parameter
- SFInt32 gotoElement - force the current element from outside the proto